aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added several cases where a constant must be forwarded into a use.Vikram S. Adve2001-10-181-0/+27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@865 91177308-0d34-0410-b5e6-96231b3b80d8
* Sparc-specific code shared between local files.Vikram S. Adve2001-10-181-0/+61
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@864 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved implementation of class UltraSparcInstrInfo to SparcInstrInfo.cpp.Vikram S. Adve2001-10-181-19/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@863 91177308-0d34-0410-b5e6-96231b3b80d8
* Added virtual function to generate an instruction sequence toVikram S. Adve2001-10-183-4/+53
| | | | | | | load a constant into a register. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@862 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved implementation of class UltraSparcInstrInfo here.Vikram S. Adve2001-10-181-0/+143
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@861 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. Add a bottom-up pass on BURG trees that is used to fix constant operands.Vikram S. Adve2001-10-172-1/+42
| | | | | | | | | | Needs to be bottom up because constant values may be forward-substituted to their uses (i.e., into the parent in the BURG tree). 2. Move most of the constant-fixup code into machine-indepedent file InstrSelectionSupport.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@860 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. Add a bottom-up pass on BURG trees that is used to fix constant operands.Vikram S. Adve2001-10-175-296/+467
| | | | | | | | | | Needs to be bottom up because constant values may be forward-substituted to their uses (i.e., into the parent in the BURG tree). 2. Move most of the constant-fixup code into machine-indepedent file InstrSelectionSupport.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@859 91177308-0d34-0410-b5e6-96231b3b80d8
* Separate VM instruction that generates the instructions that compute a valueVikram S. Adve2001-10-172-2/+4
| | | | | | | | from the value itself (the one causing an edge) because the latter may be a temporary used within the instruction sequence for the VM instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@858 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Vikram S. Adve2001-10-172-30/+48
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@857 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove extra assert in dyn_cast_or_null.Vikram S. Adve2001-10-171-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@856 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable codgen test for calltest.ll.Vikram S. Adve2001-10-171-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@855 91177308-0d34-0410-b5e6-96231b3b80d8
* Only list automatically generated .cpp files.Vikram S. Adve2001-10-171-7/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@854 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow only extra Source files to be listed in a local Makefile.Vikram S. Adve2001-10-172-6/+6
| | | | | | | Needed for automatically generated .cpp files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@853 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify some codeChris Lattner2001-10-162-29/+27
| | | | | | | | | | | | | | | | | | Remove Method special case Fix bug exposed by this testcase: implementation void "PtrFunc2"() begin bb1: %reg = add int(int)* null, null add int (int)* %reg, null ret void end git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@852 91177308-0d34-0410-b5e6-96231b3b80d8
* added initializing regNum to -1 in both constructors of MachineOperandRuchira Sasanka2001-10-161-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@851 91177308-0d34-0410-b5e6-96231b3b80d8
* changed debugg message printing - no change to useful codeRuchira Sasanka2001-10-162-26/+32
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@850 91177308-0d34-0410-b5e6-96231b3b80d8
* No major change - commented some debug codeRuchira Sasanka2001-10-162-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@849 91177308-0d34-0410-b5e6-96231b3b80d8
* No major change - added some commentsRuchira Sasanka2001-10-162-14/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@848 91177308-0d34-0410-b5e6-96231b3b80d8
* Added support for caller savingRuchira Sasanka2001-10-1615-238/+562
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@847 91177308-0d34-0410-b5e6-96231b3b80d8
* Add rule to build executablesChris Lattner2001-10-151-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@846 91177308-0d34-0410-b5e6-96231b3b80d8
* Emit the proper .type declarations to tell the debugger what a function isChris Lattner2001-10-151-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@845 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle abnormal jmpl syntax correctlyChris Lattner2001-10-151-35/+50
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@844 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement ulong & long supportChris Lattner2001-10-152-27/+36
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@843 91177308-0d34-0410-b5e6-96231b3b80d8
* Make main do some simple work without requiring main arguments to be happyChris Lattner2001-10-151-1/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@842 91177308-0d34-0410-b5e6-96231b3b80d8
* Print Debug Code to stderr instead of stdout so that it doesn't mess up the ↵Chris Lattner2001-10-1512-53/+53
| | | | | | assembly output git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@841 91177308-0d34-0410-b5e6-96231b3b80d8
* Output to cerr rather than cout so that debug info doesn't mess up assembly ↵Chris Lattner2001-10-1512-209/+199
| | | | | | generation git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@840 91177308-0d34-0410-b5e6-96231b3b80d8
* Compile with v9 extensionsChris Lattner2001-10-151-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@839 91177308-0d34-0410-b5e6-96231b3b80d8
* ConcretePass should not be a templated class!Chris Lattner2001-10-155-10/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@838 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor cleanupsChris Lattner2001-10-151-12/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@837 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new Pass infrastructure and some examplesChris Lattner2001-10-156-0/+476
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@836 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the new Pass infrastructure to clean up llcChris Lattner2001-10-151-261/+117
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@835 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert to use Pass infrastructureChris Lattner2001-10-151-5/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@834 91177308-0d34-0410-b5e6-96231b3b80d8
* File moved to: llvm/Transforms/HoistPHIConstants.hChris Lattner2001-10-151-19/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@833 91177308-0d34-0410-b5e6-96231b3b80d8
* --added support for implicit operandsRuchira Sasanka2001-10-152-18/+32
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@832 91177308-0d34-0410-b5e6-96231b3b80d8
* updated suggesting/coloring of call & return args & implicit operands.Ruchira Sasanka2001-10-154-140/+294
| | | | | | | Changed added instr to a deque (from a vector) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@831 91177308-0d34-0410-b5e6-96231b3b80d8
* updated suggesting/coloring of call & return args & implicit operandsRuchira Sasanka2001-10-154-232/+218
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@830 91177308-0d34-0410-b5e6-96231b3b80d8
* --changed Sugesting colors for method calls/return values etc.Ruchira Sasanka2001-10-151-10/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@829 91177308-0d34-0410-b5e6-96231b3b80d8
* fixed a coalscing bugRuchira Sasanka2001-10-155-11/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@828 91177308-0d34-0410-b5e6-96231b3b80d8
* Add libraryChris Lattner2001-10-151-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@827 91177308-0d34-0410-b5e6-96231b3b80d8
* Be const correctChris Lattner2001-10-153-5/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@826 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor code cleanupsChris Lattner2001-10-151-8/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@825 91177308-0d34-0410-b5e6-96231b3b80d8
* Add cast_or_null & dyn_cast_or_nullChris Lattner2001-10-151-1/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@824 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement initializers for structs and pointersChris Lattner2001-10-151-80/+100
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@823 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename ConstPoolPointerReference to ConstPoolPointerRef - My fingers get ↵Chris Lattner2001-10-1513-55/+51
| | | | | | tired typing that much git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@822 91177308-0d34-0410-b5e6-96231b3b80d8
* Improve error messages on assertion failure.Chris Lattner2001-10-151-2/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@821 91177308-0d34-0410-b5e6-96231b3b80d8
* * getExitNode() doesn't exist in method anymoreChris Lattner2001-10-151-6/+7
| | | | | | | * Make local functions static git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@820 91177308-0d34-0410-b5e6-96231b3b80d8
* Added Instrumentation subdirectory.Vikram S. Adve2001-10-151-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@819 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement global variables. Struct and Pointer initializers are not ↵Chris Lattner2001-10-156-43/+254
| | | | | | implemented yet though git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@818 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement linking of global variable constant referencesChris Lattner2001-10-153-114/+285
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@817 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some more interesting test cases for the linkerChris Lattner2001-10-152-4/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@816 91177308-0d34-0410-b5e6-96231b3b80d8