summaryrefslogtreecommitdiffstats
path: root/llvm/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* Correct some grammar and describe current reality.Reid Spencer2006-05-291-5/+4
| | | | llvm-svn: 28532
* Catch a potentially thrown exception.Chris Lattner2006-05-141-1/+6
| | | | llvm-svn: 28295
* Minor corrections.Jeff Cohen2006-03-243-3/+6
| | | | llvm-svn: 27042
* Upgrade this to use the new intrinsic namesChris Lattner2006-03-031-2/+3
| | | | llvm-svn: 26483
* When a function takes a variable number of pointer arguments, with a zeroJeff Cohen2005-10-233-5/+9
| | | | | | | | | | | | | pointer marking the end of the list, the zero *must* be cast to the pointer type. An un-cast zero is a 32-bit int, and at least on x86_64, gcc will not extend the zero to 64 bits, thus allowing the upper 32 bits to be random junk. The new END_WITH_NULL macro may be used to annotate a such a function so that GCC (version 4 or newer) will detect the use of un-casted zero at compile time. llvm-svn: 23888
* For PR616:Reid Spencer2005-08-241-0/+2
| | | | | | | | | | 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
* Eliminate all remaining tabs and trailing spaces.Jeff Cohen2005-07-271-55/+55
| | | | llvm-svn: 22523
* Get rid of warnings on AlphaReid Spencer2005-07-131-4/+4
| | | | llvm-svn: 22428
* Correct the file title.Reid Spencer2005-07-121-2/+2
| | | | llvm-svn: 22414
* For PR418:Reid Spencer2005-07-123-1/+312
| | | | | | | | | | | 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
* Don't forget these are callsChris Lattner2005-05-061-4/+4
| | | | llvm-svn: 21730
* These are legal for tail callsChris Lattner2005-05-062-1/+5
| | | | llvm-svn: 21723
* Convert tabs to spacesMisha Brukman2005-04-221-2/+2
| | | | llvm-svn: 21433
* Remove trailing whitespace at the end of linesMisha Brukman2005-04-204-41/+41
| | | | llvm-svn: 21380
* add missing copyright headerChris Lattner2005-03-151-0/+7
| | | | llvm-svn: 20614
* Stop using abegin and aend.Alkis Evlogimenos2005-03-151-2/+2
| | | | llvm-svn: 20610
* Stop using abegin.Alkis Evlogimenos2005-03-151-1/+1
| | | | llvm-svn: 20609
* Use LLVMLIBS=JIT to get JIT librariesReid Spencer2004-11-292-2/+2
| | | | llvm-svn: 18333
* Add LLVMbzip2 library, now required.Reid Spencer2004-11-251-1/+1
| | | | llvm-svn: 18255
* Fix PR456:\Reid Spencer2004-11-184-0/+4
| | | | | | | | | | 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
* Clean up code layout, delete extra blank line, say `fibonacci' instead of `foo'Misha Brukman2004-11-051-4/+2
| | | | llvm-svn: 17478
* Fix typeoChris Lattner2004-11-041-1/+1
| | | | llvm-svn: 17466
* Cleanup this example, simplifying it and making it conform to LLVM codingChris Lattner2004-11-031-147/+76
| | | | | | standards llvm-svn: 17459
* Change Library Names Not To Conflict With Others When InstalledReid Spencer2004-10-271-1/+1
| | | | llvm-svn: 17286
* Use the shared Makefile.JIT for JIT-enablement, which also enables the examplesMisha Brukman2004-10-142-6/+7
| | | | | | to have the JIT functioning on more platforms than just x86 llvm-svn: 16993
* Build BFtoLLVM example front-end by defaultBrian Gaeke2004-10-051-1/+1
| | | | llvm-svn: 16719
* Add BFtoLLVM example front endBrian Gaeke2004-10-055-0/+271
| | | | llvm-svn: 16714
* Correct the file header to reflect the new "examples" home for the file.Reid Spencer2004-09-116-6/+6
| | | | llvm-svn: 16295
* Add library LLVMsystem.a because the JIT now needs it.Reid Spencer2004-09-113-4/+4
| | | | llvm-svn: 16285
* Moved small examples from /projects/SmallExamples to /examples.Reid Spencer2004-08-2317-18079/+10
| | | | | | Made the "ModuleMaker" into an example since its just one source file. llvm-svn: 16003
* Moved the "SmallExamples" out of the /projects directory and into a newReid Spencer2004-08-2319-0/+18474
| | | | | | | /examples directory. History was maintained. These programs do not need to be configured but things in /projects must be. llvm-svn: 16002
* Fix Title lineReid Spencer2004-08-231-0/+15
Make the "DIRS" option descend any directory with a Makefile. llvm-svn: 16001
OpenPOWER on IntegriCloud