aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a new function for the JITChris Lattner2004-05-282-0/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13869 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the SystemUtils.h file to do our dirty work.Chris Lattner2004-05-281-52/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13868 91177308-0d34-0410-b5e6-96231b3b80d8
* Right: the #includes are not needed eitherChris Lattner2004-05-281-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13867 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for zero length filesChris Lattner2004-05-281-1/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13866 91177308-0d34-0410-b5e6-96231b3b80d8
* Use fileutilities instead of mmap directlyChris Lattner2004-05-281-16/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13865 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the new FileUtilities.h API for mapping a file into an addressChris Lattner2004-05-284-60/+30
| | | | | | | space git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13864 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a pair of functions to hide system specific details of mapping a file in ↵Chris Lattner2004-05-283-2/+56
| | | | | | for reading. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13863 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove some more dead code resulting from adding setTypeName().Reid Spencer2004-05-281-5/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13862 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove an assertion that uses Type::TypeTy that is never hit and willReid Spencer2004-05-271-12/+1
| | | | | | | | break when Type::TypeTy goes away. Also remove a dead block of code and dead comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13861 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up a comment.Reid Spencer2004-05-271-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13860 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix for bug 348.Reid Spencer2004-05-271-0/+1
| | | | | | | The SymbolTable changes caused this one too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13859 91177308-0d34-0410-b5e6-96231b3b80d8
* Make comment lines stick out less.Brian Gaeke2004-05-271-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13858 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove long unused #includesChris Lattner2004-05-271-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13857 91177308-0d34-0410-b5e6-96231b3b80d8
* These #includes are long deadChris Lattner2004-05-271-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13856 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug in the -deadtypeelim pass. The SymbolTable re-write changed itJohn Criswell2004-05-271-1/+1
| | | | | | | to eliminate the wrong type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13855 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix warnings about reaching end of non-void functionChris Lattner2004-05-271-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13852 91177308-0d34-0410-b5e6-96231b3b80d8
* Add DynamicLinker support for systems that provide windows.hChris Lattner2004-05-271-8/+23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13851 91177308-0d34-0410-b5e6-96231b3b80d8
* An "autoconf wrapper" for the infamous windows.h fileChris Lattner2004-05-272-0/+46
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13849 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the test pass by using the correct RUN: syntax.Reid Spencer2004-05-271-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13848 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a check for a new header file.John Criswell2004-05-274-2/+9
| | | | | | | | My apologies for changing config.h.in. Now you will all have to re-configure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13846 91177308-0d34-0410-b5e6-96231b3b80d8
* Neuter the -q option. Stop printing the "program modified" message, everChris Lattner2004-05-271-3/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13844 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the SymbolTable::isEmpty() method instead of checking for no valueReid Spencer2004-05-271-1/+1
| | | | | | | | | | planes. A SymbolTable could still have types in it! This fixes problems with two regression tests that failed because a symbol table that only contained types was being omitted from bytecode files. Thanks to Chris for the reduced test case that helped find this immediately. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13842 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for dos-style filesChris Lattner2004-05-271-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13840 91177308-0d34-0410-b5e6-96231b3b80d8
* This code is a real mess, but at least get the JIT *building* on platformsChris Lattner2004-05-271-0/+8
| | | | | | | | (such as plan 9) without mmap. Of course it won't RUN... but that's another step. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13839 91177308-0d34-0410-b5e6-96231b3b80d8
* doxygen no longer builds into the docs tree, and we no longer have boostChris Lattner2004-05-271-1/+1
| | | | | | | in the tree git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13838 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for dos-style filesChris Lattner2004-05-271-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13837 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for dos style files.Chris Lattner2004-05-271-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13836 91177308-0d34-0410-b5e6-96231b3b80d8
* Add back a test I accidentally removedChris Lattner2004-05-271-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13835 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix InstCombine/load.ll & PR347.Chris Lattner2004-05-271-12/+24
| | | | | | | | | | | This code hadn't been updated after the "structs with more than 256 elements" related changes to the GEP instruction. Also it was not handling the ConstantAggregateZero class. Now it does! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13834 91177308-0d34-0410-b5e6-96231b3b80d8
* Add another testcaseChris Lattner2004-05-271-5/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13833 91177308-0d34-0410-b5e6-96231b3b80d8
* Re-introduce the -q option and make opt always return 0, even if theReid Spencer2004-05-271-3/+7
| | | | | | | | optimization pasess fail. This is necessary to avoid breaking feature tests in the tests suite that depend on this behavior. *sigh* git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13832 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a "RUN:" line so this file can be executed by TestRunner.shReid Spencer2004-05-271-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13829 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed the -q option and the default message written to stderr. TheReid Spencer2004-05-271-6/+3
| | | | | | | output produces confusing results in TestRunner.sh git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13828 91177308-0d34-0410-b5e6-96231b3b80d8
* remove bogus testChris Lattner2004-05-271-12/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13827 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the test test what it is supposed toChris Lattner2004-05-271-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13826 91177308-0d34-0410-b5e6-96231b3b80d8
* The -exprs pass is no longer with LLVM. *sniff*Chris Lattner2004-05-272-29/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13825 91177308-0d34-0410-b5e6-96231b3b80d8
* Correct test. use "not grep" instead of "grep -v"Chris Lattner2004-05-271-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13824 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement constant folding of fmod, which is used a lot in povrayChris Lattner2004-05-271-2/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13823 91177308-0d34-0410-b5e6-96231b3b80d8
* Right, globals aren't values yet..Chris Lattner2004-05-272-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13822 91177308-0d34-0410-b5e6-96231b3b80d8
* Restructure call constant folding code a bit to make it simplerChris Lattner2004-05-271-39/+40
| | | | | | | | | Add support for acos/asin/atan. 188.ammp contains three calls to acos with constant arguments. Constant folding it allows elimination of those 3 calls and three FP divisions of the results. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13821 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a simple pass.Chris Lattner2004-05-272-0/+90
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13820 91177308-0d34-0410-b5e6-96231b3b80d8
* Continue the expositionChris Lattner2004-05-271-25/+133
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13819 91177308-0d34-0410-b5e6-96231b3b80d8
* Continue the implementationChris Lattner2004-05-271-37/+61
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13818 91177308-0d34-0410-b5e6-96231b3b80d8
* A few more microstepsChris Lattner2004-05-271-1/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13817 91177308-0d34-0410-b5e6-96231b3b80d8
* gc_init now gets an argumentChris Lattner2004-05-271-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13816 91177308-0d34-0410-b5e6-96231b3b80d8
* Uhh, that doesn't exist.Chris Lattner2004-05-271-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13815 91177308-0d34-0410-b5e6-96231b3b80d8
* Beta-test moving a header from include/Support into the llvm hierarchy:Chris Lattner2004-05-271-32/+0
| | | | | | | it seems to work :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13814 91177308-0d34-0410-b5e6-96231b3b80d8
* Header file movedChris Lattner2004-05-2721-20/+21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13813 91177308-0d34-0410-b5e6-96231b3b80d8
* Header movedChris Lattner2004-05-271-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13812 91177308-0d34-0410-b5e6-96231b3b80d8
* Signals.h header moved. Eventually this should move into a lib/System library,Chris Lattner2004-05-271-1/+1
| | | | | | | but not right now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13811 91177308-0d34-0410-b5e6-96231b3b80d8