aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Add includes of assertChris Lattner2003-07-254-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7307 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix accessibility problems GCC 3.3Chris Lattner2003-07-252-2/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7306 91177308-0d34-0410-b5e6-96231b3b80d8
* Add assert.h includeChris Lattner2003-07-252-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7305 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert to C++ style commentsChris Lattner2003-07-252-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7304 91177308-0d34-0410-b5e6-96231b3b80d8
* Include vector into these two files to ensure that specializations likeVikram S. Adve2003-07-252-0/+8
| | | | | | | | | | stl_bvector.h are correctly included into *anything* that includes hash_map or hash_set. ext/hash_map includes stl_vector.h directly and leaves out the specializations, causing truly nasty bugs due to inconsistent versions of vector<> being used for vector<bool> in different files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7303 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleanups:Brian Gaeke2003-07-241-4/+5
| | | | | | | | | | Mangler.cpp: Constify parameter to makeNameProper, and use const_iterator. Make Count an unsigned int, and use utostr(). Don't name parameters things that start with underscore. Mangler.h: All of the above, and also: Add Emacs mode-line. Include <set>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7301 91177308-0d34-0410-b5e6-96231b3b80d8
* Factor out name-mangling from X86/Printer, which is derived from CWriter,Brian Gaeke2003-07-241-0/+45
| | | | | | | into this new support class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7300 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for ~ operator on constantsChris Lattner2003-07-231-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7258 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove redundant const qualifiers from cast<> expressionsChris Lattner2003-07-232-8/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7253 91177308-0d34-0410-b5e6-96231b3b80d8
* Add more doxygen comments, add new ConstantInt::getRawValue methodChris Lattner2003-07-231-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7244 91177308-0d34-0410-b5e6-96231b3b80d8
* Added special consideration for instrumentation strategyAnand Shukla2003-07-201-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7208 91177308-0d34-0410-b5e6-96231b3b80d8
* (1) Added DSGraph::cloneReachableSubgraph and DSGraph::cloneReachableNodesVikram S. Adve2003-07-162-8/+70
| | | | | | | | | | | | | | | | to clone the subgraph reachable from a set of root nodes, into the current graph, merging the global nodes into those in the current graph. (2) Added DSGraph::updateFromGlobalGraph() to rematerialize nodes from the globals graph into the current graph in both BU and TD passes. (3) Added hash_set<const GlobalValue*> InlinedGlobals: a set of globals to track which globals have been inlined into the current graph from callers or callees. In the TD pass, such globals are up-to-date and do not need to be rematerialized from the GlobalsGraph. (4) Added StripIncompleteBit/KeepIncompleteBit to remove incomplete bit when cloning nodes into the globals graph. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7190 91177308-0d34-0410-b5e6-96231b3b80d8
* The word `separate' only has one `e'.Misha Brukman2003-07-144-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7173 91177308-0d34-0410-b5e6-96231b3b80d8
* Values stored in CallArgsDescriptor cannot be const.Vikram S. Adve2003-07-101-11/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7156 91177308-0d34-0410-b5e6-96231b3b80d8
* Change interface to MachineInstr::substituteValue to specify more preciselyVikram S. Adve2003-07-101-1/+2
| | | | | | | which args can be substituted: defsOnly, defsAndUses or usesOnly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7154 91177308-0d34-0410-b5e6-96231b3b80d8
* Lowercase versions of `occurrence' need to be spelled correctly, too.Misha Brukman2003-07-102-12/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7142 91177308-0d34-0410-b5e6-96231b3b80d8
* `Occurrence' has no `a' and the `r' is doubled.Misha Brukman2003-07-102-44/+44
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7140 91177308-0d34-0410-b5e6-96231b3b80d8
* INCLUDE_PARENT_GRAPH is requiredChris Lattner2003-07-022-16/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7089 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead methodChris Lattner2003-07-022-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7083 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new methodsChris Lattner2003-07-022-0/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7057 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable the parent graph code when not compiled in DEBUG modeChris Lattner2003-07-022-2/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7056 91177308-0d34-0410-b5e6-96231b3b80d8
* Leak fix: delete old objects before reallocation in an assignment operator!Vikram S. Adve2003-07-021-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7055 91177308-0d34-0410-b5e6-96231b3b80d8
* TD pass keeps track of which functions have complete argumentsChris Lattner2003-07-012-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7048 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new operator= implChris Lattner2003-07-012-0/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7047 91177308-0d34-0410-b5e6-96231b3b80d8
* Ok, I'm a moron. Fixed nowChris Lattner2003-07-012-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7035 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix major problem that was causing all kinds of nasty foldingsChris Lattner2003-07-012-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7034 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new methods to BUDS for keeping track of a precise call graphChris Lattner2003-07-012-24/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7028 91177308-0d34-0410-b5e6-96231b3b80d8
* Merged in autoconf branch. This provides configuration via the autoconfJohn Criswell2003-06-3075-122/+1313
| | | | | | | system. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7014 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new methodChris Lattner2003-06-302-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7007 91177308-0d34-0410-b5e6-96231b3b80d8
* Be more const correctChris Lattner2003-06-302-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7004 91177308-0d34-0410-b5e6-96231b3b80d8
* Constness changesChris Lattner2003-06-302-20/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7002 91177308-0d34-0410-b5e6-96231b3b80d8
* Substantial revamp: DSGraphs now may contain the graphs for multiple functionsChris Lattner2003-06-302-48/+82
| | | | | | | in the same graph git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6991 91177308-0d34-0410-b5e6-96231b3b80d8
* Add argumentChris Lattner2003-06-301-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6990 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove prototype for dead methodChris Lattner2003-06-302-4/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6989 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for gathering sets of must aliasesChris Lattner2003-06-291-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6971 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new DSGraph::ScalarMapTy typedef to avoid pulling representation issuesChris Lattner2003-06-282-14/+20
| | | | | | | into callers of getScalarMap git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6944 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new 'isComplete' methodChris Lattner2003-06-282-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6943 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for 'unsigned' command line argumentsChris Lattner2003-06-282-0/+30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6928 91177308-0d34-0410-b5e6-96231b3b80d8
* Nice tasty llc fixes. These should fix LLC for x86 for everything inBrian Gaeke2003-06-271-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SingleSource except oopack and Oscar. (Sorry, Oscar.) include/llvm/Target/TargetInstrInfo.h: Remove virtual print method. Add accessors for ImplicitUses/Defs. lib/Target/TargetInstrInfo.cpp: Remove virtual print method. If you really wanted this, just use MI->print(O, TM); instead... lib/Target/X86: FloatingPoint.cpp: ...like this. X86InstrInfo.h: Remove virtual print method. Define the PrintImplUses target-specific flag bit. X86InstrInfo.def: Add the PrintImplUses flag to all the instructions which implicitly use CL, because the assembler needs to see the CL in order to generate the right instruction. Printer.cpp: Ditch fnIndex at Chris's request. Now we use CurrentFnName to name constants in the constant pool for each function instead. This avoids keeping state between runOnMachineFunction() invocations, which is a no-no. Having MangledGlobals be global is a bogon I'd like to get rid of too, but making it a static member of Printer causes link errors (why???). Make NumberForBB into a member of Printer instead of a global, too. Make printOp and printMemReference into methods of Printer. X86InstrInfo::print is now Printer::printMachineInstruction, because TargetInstrInfo::print is history. (Because of this, we have to qualify the names of some TargetInstrInfo methods we call.) Print out the ImplicitUses field of any instruction we print that has the PrintImplUses bit set. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6924 91177308-0d34-0410-b5e6-96231b3b80d8
* Add argument to DAE to allow operation on non-internal functionsChris Lattner2003-06-251-2/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6895 91177308-0d34-0410-b5e6-96231b3b80d8
* Add prototype for tail-dup passChris Lattner2003-06-221-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6847 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of WORDSIZE macro which can pollute untold numbers of translation unitsChris Lattner2003-06-222-36/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6843 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove a ton of extraneous #includesChris Lattner2003-06-2252-103/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6842 91177308-0d34-0410-b5e6-96231b3b80d8
* Whoops, accidentally lost a #includeChris Lattner2003-06-222-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6841 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove support for the MultiObject flag, which was just fundamentally brokenChris Lattner2003-06-222-32/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6839 91177308-0d34-0410-b5e6-96231b3b80d8
* Lots of changes to make the NodeType field private to DSNode.Chris Lattner2003-06-196-40/+114
| | | | | | | Add new MultiObject flag git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6793 91177308-0d34-0410-b5e6-96231b3b80d8
* Update commentsChris Lattner2003-06-191-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6785 91177308-0d34-0410-b5e6-96231b3b80d8
* Detemplatize the PATypeHandle class, which was only really instantiated on ↵Chris Lattner2003-06-183-27/+25
| | | | | | 'Type'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6774 91177308-0d34-0410-b5e6-96231b3b80d8
* * Add new CallSite::get factory methodChris Lattner2003-06-171-1/+22
| | | | | | | | * add new setCalledFunction method * FIX arg_end method which was horribly broken! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6758 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new op_erase methodChris Lattner2003-06-171-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6757 91177308-0d34-0410-b5e6-96231b3b80d8