Reid Spencer
f85fabeb71
For PR616:
...
These patches make threading optional in LLVM. The configuration scripts are now
modified to accept a --disable-threads switch. If this is used, the Mutex class
will be implemented with all functions as no-op. Furthermore, linking against
libpthread will not be done. Finally, the ParallelJIT example needs libpthread
so its makefile was changed to always add -lpthread to the link line.
llvm-svn: 23003
2005-08-24 10:07:20 +00:00
Jeff Cohen
5f4ef3c5a8
Eliminate all remaining tabs and trailing spaces.
...
llvm-svn: 22523
2005-07-27 06:12:32 +00:00
Reid Spencer
8640f2bdc1
Get rid of warnings on Alpha
...
llvm-svn: 22428
2005-07-13 23:20:24 +00:00
Reid Spencer
06a1da3efb
Correct the file title.
...
llvm-svn: 22414
2005-07-12 22:00:29 +00:00
Reid Spencer
6855097c0d
For PR418:
...
Add an example program that utilizes multiple threads in the JIT to process
work. This was used by Evan Jones as the original test case for ensuring
that the ExecutionEngine was thread safe.
Original source by Evan Jones (adapted from other LLVM JIT examples) and
made LLVM style compliant by Reid Spencer.
llvm-svn: 22411
2005-07-12 21:51:33 +00:00
Chris Lattner
5879f9c24d
Don't forget these are calls
...
llvm-svn: 21730
2005-05-06 06:21:59 +00:00
Chris Lattner
eaf625dc5c
These are legal for tail calls
...
llvm-svn: 21723
2005-05-06 05:59:50 +00:00
Misha Brukman
8c0ca76517
Convert tabs to spaces
...
llvm-svn: 21433
2005-04-22 03:18:56 +00:00
Misha Brukman
2f72bafb60
Remove trailing whitespace at the end of lines
...
llvm-svn: 21380
2005-04-20 16:42:34 +00:00
Chris Lattner
3779fd6521
add missing copyright header
...
llvm-svn: 20614
2005-03-15 15:46:23 +00:00
Alkis Evlogimenos
222dcd44ff
Stop using abegin and aend.
...
llvm-svn: 20610
2005-03-15 07:20:55 +00:00
Alkis Evlogimenos
84adfd8c4f
Stop using abegin.
...
llvm-svn: 20609
2005-03-15 07:12:30 +00:00
Reid Spencer
bb9932c96a
Use LLVMLIBS=JIT to get JIT libraries
...
llvm-svn: 18333
2004-11-29 07:17:18 +00:00
Reid Spencer
d3f2e95e6c
Add LLVMbzip2 library, now required.
...
llvm-svn: 18255
2004-11-25 20:22:06 +00:00
Reid Spencer
7e9e0b0c82
Fix PR456:\
...
Tools and libraries will be built into $(BUILD_OBJ_ROOT)/$(BuildMode)/bin and \
$(BUILD_OBJ_ROOT)/$(BuildMode)/lib, respectively. Furthermore, the example \
programs will go in $(BUILD_OBJ_ROOT)/$(BuildMode)/examples to keep them \
separate from the tools and hopefully out of the PATH. Install targets \
have not changed.
llvm-svn: 17953
2004-11-18 10:03:46 +00:00
Misha Brukman
a73e7cae72
Clean up code layout, delete extra blank line, say `fibonacci' instead of `foo'
...
llvm-svn: 17478
2004-11-05 04:11:40 +00:00
Chris Lattner
adb5342ae8
Fix typeo
...
llvm-svn: 17466
2004-11-04 05:00:18 +00:00
Chris Lattner
bd2886d1f0
Cleanup this example, simplifying it and making it conform to LLVM coding
...
standards
llvm-svn: 17459
2004-11-03 21:43:03 +00:00
Reid Spencer
57cbe39d1e
Change Library Names Not To Conflict With Others When Installed
...
llvm-svn: 17286
2004-10-27 23:18:45 +00:00
Misha Brukman
f9898d7189
Use the shared Makefile.JIT for JIT-enablement, which also enables the examples
...
to have the JIT functioning on more platforms than just x86
llvm-svn: 16993
2004-10-14 19:02:13 +00:00
Brian Gaeke
a3d1b776b9
Build BFtoLLVM example front-end by default
...
llvm-svn: 16719
2004-10-05 18:05:53 +00:00
Brian Gaeke
ca70a78b71
Add BFtoLLVM example front end
...
llvm-svn: 16714
2004-10-05 18:05:25 +00:00
Reid Spencer
987319d3a7
Correct the file header to reflect the new "examples" home for the file.
...
llvm-svn: 16295
2004-09-11 20:30:11 +00:00
Reid Spencer
0bb062e55d
Add library LLVMsystem.a because the JIT now needs it.
...
llvm-svn: 16285
2004-09-11 04:29:44 +00:00
Reid Spencer
5b81eea7a5
Moved small examples from /projects/SmallExamples to /examples.
...
Made the "ModuleMaker" into an example since its just one source file.
llvm-svn: 16003
2004-08-23 19:29:54 +00:00
Reid Spencer
b987b7cede
Moved the "SmallExamples" out of the /projects directory and into a new
...
/examples directory. History was maintained. These programs do not need to
be configured but things in /projects must be.
llvm-svn: 16002
2004-08-23 19:28:39 +00:00
Reid Spencer
300396971c
Fix Title line
...
Make the "DIRS" option descend any directory with a Makefile.
llvm-svn: 16001
2004-08-23 18:06:31 +00:00