summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* These instructions really take three operands. This fixes some assertionsChris Lattner2003-06-181-2/+2
| | | | llvm-svn: 6765
* lib/CWriter/Writer.cpp: Copy AsmWriter's ConstantFP checking code hereBrian Gaeke2003-06-172-5/+31
| | | | | | | | | | into a new function FPCSafeToPrint(), and use it in printConstant() and printFunction() to decide whether we should output ConstantFPs as floating-point constants or as references to stack-allocated variables. lib/VMCore/AsmWriter.cpp: Fix an apparent typo in the code mentioned above. llvm-svn: 6762
* Add #ifdef hack for MAP_ANONYMOUS being spelled MAP_ANON on some platforms.Brian Gaeke2003-06-171-0/+3
| | | | | | | (We're already talking about autoconf'ing this, so I'm assuming this hack will be short-lived...I just don't want it to get lost in my working files.) llvm-svn: 6761
* Make testcase more interesting, remove absolute path from -load lineChris Lattner2003-06-171-1/+14
| | | | llvm-svn: 6760
* Initial checkin of DAE passChris Lattner2003-06-171-0/+304
| | | | llvm-svn: 6759
* * Add new CallSite::get factory methodChris Lattner2003-06-171-1/+22
| | | | | | | * add new setCalledFunction method * FIX arg_end method which was horribly broken! llvm-svn: 6758
* Add new op_erase methodChris Lattner2003-06-171-0/+5
| | | | llvm-svn: 6757
* Make sure accessor is properly doxygenized. It wants two linesChris Lattner2003-06-171-0/+1
| | | | llvm-svn: 6756
* Add accessorChris Lattner2003-06-171-0/+3
| | | | llvm-svn: 6755
* Fix to mesh with Johns recent changesChris Lattner2003-06-171-2/+2
| | | | llvm-svn: 6754
* Use $(PLATFORMLIBDL) to selectively bring in -ldl only on those platforms whereBrian Gaeke2003-06-176-6/+6
| | | | | | it is needed. llvm-svn: 6753
* Add variable named PLATFORMLIBDL to control OS-specific usage of libdl.Brian Gaeke2003-06-173-0/+9
| | | | llvm-svn: 6752
* Use std::isnan instead of isnan. Brought back to you from theBrian Gaeke2003-06-171-1/+1
| | | | | | future, by the reconciliation of the C++ and C99 standards. Someday. llvm-svn: 6751
* Put ifdefs around use of malloc.h/mallinfo, which isn't available on FreeBSD.Brian Gaeke2003-06-172-4/+10
| | | | llvm-svn: 6750
* Make CallSite's default constructable, copyable, and assignable (explicitly)Chris Lattner2003-06-171-0/+3
| | | | llvm-svn: 6749
* Life is too short. Link in too much stuff on Linux to make building on sun ↵Chris Lattner2003-06-172-8/+6
| | | | | | easier llvm-svn: 6748
* The never-ending odyssey trying to get sparc to linkChris Lattner2003-06-172-2/+2
| | | | llvm-svn: 6747
* Make sure to get the value of ARCH before we use itChris Lattner2003-06-172-0/+10
| | | | llvm-svn: 6746
* Do not link in the Sparc JIT when building on X86. Eventually the sparc ↵Chris Lattner2003-06-172-12/+12
| | | | | | | | | | will not link in the X86 JIT either, but this makes testing easier. For some reason, the sparc JIT was breaking the X86 JIT when it was linked in. :( llvm-svn: 6745
* Apparently "sparc" is a macro on sparcs. Ugh. :)Chris Lattner2003-06-171-4/+4
| | | | llvm-svn: 6744
* Whoops, didn't mean to check that in :(Chris Lattner2003-06-172-6/+38
| | | | llvm-svn: 6743
* Use more structured command line option processingChris Lattner2003-06-173-60/+34
| | | | llvm-svn: 6742
* #ifdef out code that only applies when the HOSTARCH = sparcChris Lattner2003-06-171-1/+4
| | | | llvm-svn: 6741
* Implement handling of constantexprs for disambiguation. This implementsChris Lattner2003-06-171-0/+6
| | | | | | BasicAA/featuretest.ll:constexpr_test llvm-svn: 6740
* Add new testcaseChris Lattner2003-06-171-0/+14
| | | | llvm-svn: 6739
* Avoid divide by zero errorsChris Lattner2003-06-171-14/+18
| | | | llvm-svn: 6738
* Fix misspelling of ExtraSources, hopefully to unbreak the nightly testerChris Lattner2003-06-171-2/+1
| | | | | | Remove evil rcs tag :) llvm-svn: 6737
* Fix bug: Assembler/2003-06-17-InvokeDisassemble.llxChris Lattner2003-06-171-10/+14
| | | | | | "yes, invoke instructions can have just three arguments" llvm-svn: 6736
* New testcaseChris Lattner2003-06-171-0/+6
| | | | llvm-svn: 6735
* Fairly major change: emit fixed sized allocas in the entry block as a variable,Chris Lattner2003-06-171-6/+26
| | | | | | | | | instead of a variable pointer and an alloca. All accesses to the variable then use the address-of operator to access it. This plays better with the internal GCC code generation phases, which bail early on functions which contain allocas. It also makes the code a bit easier to read. llvm-svn: 6734
* Don't corrupt memory when removing an instruction from the program, butChris Lattner2003-06-171-0/+1
| | | | | | not the worklist llvm-svn: 6733
* Regularize the names of #include-guards.Brian Gaeke2003-06-1723-48/+48
| | | | llvm-svn: 6732
* Just _EXTEND_ the current path. Don't replace it. Replacing it makes itChris Lattner2003-06-171-1/+1
| | | | | | impossible for scripts to find user tools like sed. llvm-svn: 6731
* Arg, sparc doesn't have correct things in math.h!Chris Lattner2003-06-171-1/+1
| | | | llvm-svn: 6729
* Don't include alloca.h on FreeBSD.Brian Gaeke2003-06-161-0/+2
| | | | llvm-svn: 6728
* Actually, change it to use explicit new/delete, which is more likely to beChris Lattner2003-06-164-20/+24
| | | | | | optimized INTO an alloca llvm-svn: 6727
* Remove usage of allocaChris Lattner2003-06-163-18/+18
| | | | llvm-svn: 6726
* Remove two using declsChris Lattner2003-06-161-18/+14
| | | | | | Remove usage of alloca llvm-svn: 6725
* Basically this is the same as Makefile.Linux, at least for now.Brian Gaeke2003-06-161-0/+43
| | | | llvm-svn: 6724
* Isolate machine-dependent use of <alloca.h> in "Support/Alloca.h",Brian Gaeke2003-06-166-5/+35
| | | | | | | so that we can easily change its use to be conditional on the result of an autoconf test later. llvm-svn: 6723
* Whoops. I didn't mean to step on John's changes.Brian Gaeke2003-06-161-7/+22
| | | | llvm-svn: 6722
* This version supports FreeBSD.Brian Gaeke2003-06-161-25/+25
| | | | llvm-svn: 6721
* Reconfigured the TOOLS variable so that it points to the current set of toolsJohn Criswell2003-06-161-6/+2
| | | | | | | | built by the LLVM build. Added a path for use with the TestRunner.sh script so that it can always find the LLVM tools without having the user place them in his or her path. llvm-svn: 6720
* Modified the environment variables that determine where things are located toJohn Criswell2003-06-162-6/+6
| | | | | | | | | do the following: 1) Determine their default values without $HOME 2) Configure the default values as full absolute pathnames. This should help fix the nightly test builds. llvm-svn: 6719
* Rename FInfo.cpp to FunctionInfo.cpp, eliminate FInfo.hChris Lattner2003-06-161-2/+0
| | | | llvm-svn: 6712
* move contents of include/llvm/Reoptimizer/Mapping/FInfo.h into here, it is ↵Chris Lattner2003-06-161-0/+2
| | | | | | sparc internal llvm-svn: 6711
* Minor tweak to make testcase less simpleChris Lattner2003-06-161-1/+2
| | | | llvm-svn: 6710
* New testcase identified by joelChris Lattner2003-06-161-0/+7
| | | | llvm-svn: 6709
* New testcase identified by joelChris Lattner2003-06-161-0/+5
| | | | llvm-svn: 6708
* Fix final linking errorsChris Lattner2003-06-162-6/+3
| | | | llvm-svn: 6707
OpenPOWER on IntegriCloud