aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Split the CleanupGCCOutput pass into two passes, and add real life actualChris Lattner2002-04-101-0/+27
| | | | | | | documentation on when they do. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2222 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow a pass to obtain an analysis result for updating.Chris Lattner2002-04-101-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2221 91177308-0d34-0410-b5e6-96231b3b80d8
* Move FunctionArgument out of iOther.h into Argument.h and rename class toChris Lattner2002-04-096-17/+17
| | | | | | | be 'Argument' instead of FunctionArgument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2217 91177308-0d34-0410-b5e6-96231b3b80d8
* Move FunctionArgument out of iOther.h into Argument.h and rename class toChris Lattner2002-04-092-32/+40
| | | | | | | be 'Argument' instead of FunctionArgument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2210 91177308-0d34-0410-b5e6-96231b3b80d8
* Use explicit .get() calls to avoid having to #include Function.hChris Lattner2002-04-091-3/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2208 91177308-0d34-0410-b5e6-96231b3b80d8
* Use .get() explicitly and add a few extra casts to avoid 2 #includesChris Lattner2002-04-091-15/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2204 91177308-0d34-0410-b5e6-96231b3b80d8
* Use opaque decl instead of #includeChris Lattner2002-04-092-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2203 91177308-0d34-0410-b5e6-96231b3b80d8
* Rewrite MachineCodeForBasicBlock in terms of containment rather thanChris Lattner2002-04-091-4/+45
| | | | | | | inheritance. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2200 91177308-0d34-0410-b5e6-96231b3b80d8
* Free memory when done with it.Chris Lattner2002-04-091-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2198 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't leak all of the Loop objects created...Chris Lattner2002-04-091-1/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2196 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the InsertPrologEpilogCode class out of the Sparc.cpp file into theChris Lattner2002-04-091-8/+0
| | | | | | | | | | new PrologEpilogCodeInserter.cpp file, and include the bodies of the GetInstructionsFor(Prolog|Epilog) functions from SparcInstrSelection.cpp into the class. This eliminates the need for a static global vector of instructions and a class of errors that is really unneccesary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2194 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't leak memory like a seiveChris Lattner2002-04-081-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2185 91177308-0d34-0410-b5e6-96231b3b80d8
* s/Method/FunctionChris Lattner2002-04-083-11/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2180 91177308-0d34-0410-b5e6-96231b3b80d8
* * Add virtual print methodsChris Lattner2002-04-087-1/+14
| | | | | | | * s/Method/Function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2172 91177308-0d34-0410-b5e6-96231b3b80d8
* * Trim #includesChris Lattner2002-04-081-64/+4
| | | | | | | | | | | | * Remove WriteToAssembly functions from interface * Move operator<< definition to only allow top level operator<< on Value*'s. Defined in Value.h This header file is greatly deemphasized by these changes. Now it is only used if custom printing through WriteTypeSymbolic or WriteAsOperand is needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2171 91177308-0d34-0410-b5e6-96231b3b80d8
* s/Method/FunctionChris Lattner2002-04-081-7/+6
| | | | | | | Trim #includes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2170 91177308-0d34-0410-b5e6-96231b3b80d8
* Trim #includesChris Lattner2002-04-082-3/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2169 91177308-0d34-0410-b5e6-96231b3b80d8
* * Move casting stuff out to Support/Casting.hChris Lattner2002-04-081-72/+16
| | | | | | | | | * Add top level virtual print function, disallows instantiating Value's directly. * Provide operator<< for values here, instead of in Assembly/Writer.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2168 91177308-0d34-0410-b5e6-96231b3b80d8
* * Fix commentChris Lattner2002-04-081-3/+6
| | | | | | | | | * Add printing support * add isFloatingPoint method * Remove isXXXType() methods for non-derived types git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2167 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull casting operators out of Value.hChris Lattner2002-04-082-0/+160
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2166 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor change to reflect that ConstantHandling is now part of VMCoreChris Lattner2002-04-081-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2163 91177308-0d34-0410-b5e6-96231b3b80d8
* * Move include/llvm/Analysis/SlotCalculator.h to include/llvm/SlotCalculator.hChris Lattner2002-04-072-24/+32
| | | | | | | | because the slot calculator is already part of the VMCore library. * Rename incorporateMethod and purgeMethod to *Function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2154 91177308-0d34-0410-b5e6-96231b3b80d8
* VCG output support removed because it was broken and will never be used.Chris Lattner2002-04-071-11/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2146 91177308-0d34-0410-b5e6-96231b3b80d8
* Change references to the Method class to be references to the FunctionChris Lattner2002-04-074-42/+45
| | | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2144 91177308-0d34-0410-b5e6-96231b3b80d8
* Source base has been completely changed over to use Function instead of ↵Chris Lattner2002-04-071-12/+0
| | | | | | Method, this file is not obsolete. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2143 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new function utohexstr.Chris Lattner2002-04-072-0/+36
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2140 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement constant propogation of multiply and divide instructions!!Chris Lattner2002-04-071-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2134 91177308-0d34-0410-b5e6-96231b3b80d8
* * Delete getNumAbstractTypeUsers methodChris Lattner2002-04-051-17/+7
| | | | | | | * Move addAbstractTypeUser method to Type.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2120 91177308-0d34-0410-b5e6-96231b3b80d8
* s/MethodType/FunctionTypeChris Lattner2002-04-041-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2115 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove backwards compatibility codeChris Lattner2002-04-041-5/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2114 91177308-0d34-0410-b5e6-96231b3b80d8
* Deparameterize PATypeHolderChris Lattner2002-04-041-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2099 91177308-0d34-0410-b5e6-96231b3b80d8
* Add method to get # nodes in the graphChris Lattner2002-04-042-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2098 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the release build workChris Lattner2002-04-041-7/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2097 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the release buildChris Lattner2002-04-041-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2096 91177308-0d34-0410-b5e6-96231b3b80d8
* * Add dump() virtual function to AbstractType user to help track down bugsChris Lattner2002-04-041-13/+14
| | | | | | | | * PATypeHolder is now a nontemplated class, because it was (almost) only ever instantiated with 'Type' as the parameter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2095 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new replaceWith method useful for replacing instructionsChris Lattner2002-04-011-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2088 91177308-0d34-0410-b5e6-96231b3b80d8
* Shadow nodes don't need to know their explicit parent, they just need toChris Lattner2002-04-012-6/+4
| | | | | | | know what type to be. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2080 91177308-0d34-0410-b5e6-96231b3b80d8
* Add method getCallInstIndirectAddrVal() to add call interferenceVikram S. Adve2002-03-311-1/+3
| | | | | | | for this value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2072 91177308-0d34-0410-b5e6-96231b3b80d8
* Include temp. values when computing max. size of stack frame!Vikram S. Adve2002-03-312-0/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2070 91177308-0d34-0410-b5e6-96231b3b80d8
* * Allow access to DSNode iterator as DSNode::iterator/begin/endChris Lattner2002-03-315-33/+66
| | | | | | | | * Add debugging "dump" method to DSNode * Fix bugs in DSNode iterator git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2060 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of file:Chris Lattner2002-03-303-0/+201
| | | | | | | | Define an iterator to operate over data structure outgoing links and graph implementation so generic graph functions can be used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2057 91177308-0d34-0410-b5e6-96231b3b80d8
* Add accessors and a method to get all the outgoing links for ALL nodesChris Lattner2002-03-302-0/+66
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2055 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an accessorChris Lattner2002-03-302-2/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2054 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a hook to allow the datastructure to keep naturally up to date, evenChris Lattner2002-03-292-0/+26
| | | | | | | though it's not entirely fleshed out. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2051 91177308-0d34-0410-b5e6-96231b3b80d8
* Add more accessorsChris Lattner2002-03-291-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2047 91177308-0d34-0410-b5e6-96231b3b80d8
* Checkin new useful routineChris Lattner2002-03-291-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2046 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename getCalledMethod to getCalledFunctionChris Lattner2002-03-291-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2042 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove getCalledMethod. Use getCalledFunction insteadChris Lattner2002-03-291-4/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2041 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an insert method to VAlueHolder to allow batch insertionChris Lattner2002-03-291-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2038 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new addTypeName method to Module classChris Lattner2002-03-291-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2037 91177308-0d34-0410-b5e6-96231b3b80d8