aboutsummaryrefslogtreecommitdiffstats
path: root/projects/Stacker/lib/compiler/StackerCompiler.cpp
Commit message (Collapse)AuthorAgeFilesLines
* For PR950:Reid Spencer2006-10-261-2/+2
| | | | | | | | | Make necessary changes to support DIV -> [SUF]Div. This changes llvm to have three division instructions: signed, unsigned, floating point. The bytecode and assembler are bacwards compatible, however. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31195 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR950:Reid Spencer2006-10-201-8/+8
| | | | | | | | | This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31063 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR797:Reid Spencer2006-08-181-2/+3
| | | | | | | Update to reflect ParseException becoming ParseError (from Parser.h) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29766 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't pass target name into TargetData anymore, it is never used or needed.Chris Lattner2006-06-161-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28831 91177308-0d34-0410-b5e6-96231b3b80d8
* Avoid defining dead resultChris Lattner2006-05-121-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28246 91177308-0d34-0410-b5e6-96231b3b80d8
* WHILE does not "pop" a value, it "examines" to top of stack. Make thisReid Spencer2005-05-041-1/+1
| | | | | | | clear in the applicable comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21682 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate tabs and trailing spacesJeff Cohen2005-04-231-930/+930
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21479 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove trailing whitespaceMisha Brukman2005-04-211-175/+175
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21427 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename createPromoteMemoryToRegister() toAlkis Evlogimenos2005-03-281-1/+1
| | | | | | | | createPromoteMemoryToRegisterPass() to be consistent with other pass creation functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20885 91177308-0d34-0410-b5e6-96231b3b80d8
* This pass is not needed, as there is only ever one global: the stackChris Lattner2004-10-071-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16800 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the StackerCompiler and optimizing translator by running specificReid Spencer2004-09-041-3/+91
| | | | | | | | optimizations after construction of the Module. The OptLevel argument to the compile function controls the level of optimization. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16166 91177308-0d34-0410-b5e6-96231b3b80d8
* Unbreak buildBrian Gaeke2004-09-021-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16139 91177308-0d34-0410-b5e6-96231b3b80d8
* Add dependent library support for Stacker. It now inserts "stkr_runtime" asReid Spencer2004-08-241-1/+5
| | | | | | | a dependent library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16040 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix #includes of i*.h => Instructions.h as per PR403.Misha Brukman2004-07-291-4/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15334 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes to make the Stacker Stack use 64 bit values. This *should* getReid Spencer2004-05-091-25/+23
| | | | | | | | around the problem with Stacker on Solaris because the Stack can handle 64-bit entries (pointer sized). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13441 91177308-0d34-0410-b5e6-96231b3b80d8
* Avoid TRUE and FALSE which apparently conflict with some macros on OSXChris Lattner2004-03-311-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12566 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dependence on the return type of ConstantArray::getChris Lattner2004-02-151-7/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11463 91177308-0d34-0410-b5e6-96231b3b80d8
* Apply patches from PR136Brian Gaeke2003-11-241-17/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10192 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix these assertions:Chris Lattner2003-11-231-2/+2
| | | | | | | | | | | | stkrc -e -f -o testing.bc testing.st Global is external, but doesn't have external linkage! [1024 x int]* %_stack_ Global is external, but doesn't have external linkage! long* %_index_ Broken module found, compilation aborted! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10185 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial stacker checkinChris Lattner2003-11-231-0/+1728
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10178 91177308-0d34-0410-b5e6-96231b3b80d8