aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Added function interfaces for generating prolog and epilog code.Vikram S. Adve2001-10-221-0/+8
| | | | | | | The functions must be implemented by the target-specific code generator. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@951 91177308-0d34-0410-b5e6-96231b3b80d8
* Added function IsLeafMethod to identify leaf methods.Vikram S. Adve2001-10-221-0/+14
| | | | | | | This will use the CallGraph only if one is provided. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@950 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug exposed by this testcase:Chris Lattner2001-10-221-3/+3
| | | | | | | | | | | | declare int "call_operand" (%rtx_def*, int) ;; Prototype for: call_operand declare int "restore_operand" (%rtx_def*, int) ;; Prototype for: restore_operand %rtx_def = type opaque %rtx_def = type int implementation git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@934 91177308-0d34-0410-b5e6-96231b3b80d8
* Added support for both call/jmpl instructionsRuchira Sasanka2001-10-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@930 91177308-0d34-0410-b5e6-96231b3b80d8
* Added code to Initialize (MachineOperand) to initialize regNum to -1 -- RuchiraRuchira Sasanka2001-10-191-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@919 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactor code into Assembly & bytecode librariesChris Lattner2001-10-181-68/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@903 91177308-0d34-0410-b5e6-96231b3b80d8
* initial checkinChris Lattner2001-10-182-0/+81
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@902 91177308-0d34-0410-b5e6-96231b3b80d8
* move llvm/Transforms/Pass.h to the top level llvm/Pass.h fileChris Lattner2001-10-1812-36/+25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@901 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial CheckinChris Lattner2001-10-181-0/+58
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@896 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull bytecode writing out of Module writer pass. Prepare to move to ↵Chris Lattner2001-10-181-13/+23
| | | | | | seperate file git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@895 91177308-0d34-0410-b5e6-96231b3b80d8
* Add operator[] accessorsChris Lattner2001-10-181-5/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@894 91177308-0d34-0410-b5e6-96231b3b80d8
* Add option to print per module instead of per method, so thatVikram S. Adve2001-10-181-8/+17
| | | | | | | global declarations are also printed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@891 91177308-0d34-0410-b5e6-96231b3b80d8
* Add option to print as bytecode instead of assembly.Vikram S. Adve2001-10-181-3/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@887 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert to new simpler Pass structureChris Lattner2001-10-181-57/+16
| | | | | | | Componentize better git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@879 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert to new simpler Pass structureChris Lattner2001-10-183-9/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@878 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert to new simpler pass structureChris Lattner2001-10-186-30/+25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@877 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify Pass by removing silly subclassesChris Lattner2001-10-181-93/+22
| | | | | | | Fix an iterator problem git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@876 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix minor bug, update commentsChris Lattner2001-10-181-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@875 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass's return true if they make a modification, not if they failChris Lattner2001-10-181-15/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@872 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert optimizations to use the Pass infrastructureChris Lattner2001-10-186-43/+108
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@871 91177308-0d34-0410-b5e6-96231b3b80d8
* Added virtual function to generate an instruction sequence toVikram S. Adve2001-10-182-0/+40
| | | | | | | load a constant into a register. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@862 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
* 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
* 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
* Added support for caller savingRuchira Sasanka2001-10-162-2/+28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@847 91177308-0d34-0410-b5e6-96231b3b80d8
* Print Debug Code to stderr instead of stdout so that it doesn't mess up the ↵Chris Lattner2001-10-152-3/+3
| | | | | | assembly output git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@841 91177308-0d34-0410-b5e6-96231b3b80d8
* ConcretePass should not be a templated class!Chris Lattner2001-10-154-8/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@838 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new Pass infrastructure and some examplesChris Lattner2001-10-154-0/+294
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@836 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
* --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-151-5/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@828 91177308-0d34-0410-b5e6-96231b3b80d8
* Be const correctChris Lattner2001-10-151-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@826 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
* Rename ConstPoolPointerReference to ConstPoolPointerRef - My fingers get ↵Chris Lattner2001-10-152-12/+12
| | | | | | 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
* *** empty log message ***Chris Lattner2001-10-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@813 91177308-0d34-0410-b5e6-96231b3b80d8
* Update comment, remove misleading methodChris Lattner2001-10-141-7/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@806 91177308-0d34-0410-b5e6-96231b3b80d8
* Initializers are not const even if the GV is.Chris Lattner2001-10-141-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@805 91177308-0d34-0410-b5e6-96231b3b80d8
* Cast NULL when requested.Vikram S. Adve2001-10-141-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@803 91177308-0d34-0410-b5e6-96231b3b80d8
* Added getEntryNode() and getExitNode() functions.Vikram S. Adve2001-10-141-1/+6
| | | | | | | The latter are actually bogus and will be fixed by me soon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@802 91177308-0d34-0410-b5e6-96231b3b80d8
* Insert code to trace values at basic block and method exits.Vikram S. Adve2001-10-141-0/+75
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@801 91177308-0d34-0410-b5e6-96231b3b80d8
* Added routine to create a char array for a string.Vikram S. Adve2001-10-141-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@798 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the instruction.def file to remain up to date with future instructionChris Lattner2001-10-141-35/+20
| | | | | | | changes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@792 91177308-0d34-0410-b5e6-96231b3b80d8
* New file to define instructions...Chris Lattner2001-10-141-0/+145
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@791 91177308-0d34-0410-b5e6-96231b3b80d8
* New module linking functionality prototypeChris Lattner2001-10-133-0/+60
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@789 91177308-0d34-0410-b5e6-96231b3b80d8
* Dang, I screwed up the merge. This should be betterChris Lattner2001-10-131-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@785 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix filename in commentChris Lattner2001-10-131-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@751 91177308-0d34-0410-b5e6-96231b3b80d8
* Better linux support. This file still sucksChris Lattner2001-10-131-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@750 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix broken #endifChris Lattner2001-10-131-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@749 91177308-0d34-0410-b5e6-96231b3b80d8