aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Don't #include <Support/*>, #include "Support/*"Chris Lattner2002-10-2812-12/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4325 91177308-0d34-0410-b5e6-96231b3b80d8
* Add BasicBlock list to MchineFunction that will eventually be the onlyChris Lattner2002-10-282-4/+19
| | | | | | | way to access MachineBasicBlocks. For now, it is never filled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4324 91177308-0d34-0410-b5e6-96231b3b80d8
* MachineFunction.h now includes MachineBasicBlock.h in preparation forChris Lattner2002-10-281-1/+1
| | | | | | | list changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4321 91177308-0d34-0410-b5e6-96231b3b80d8
* Remvoe dead fixme and typedefChris Lattner2002-10-281-4/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4320 91177308-0d34-0410-b5e6-96231b3b80d8
* MachineBasicBlock doesn't need basicblock.h, it needs Annotation.hChris Lattner2002-10-281-6/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4319 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename file to MachineBasicBlock.hChris Lattner2002-10-281-77/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4316 91177308-0d34-0410-b5e6-96231b3b80d8
* Add note about state that should be removed when time permitsChris Lattner2002-10-281-3/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4315 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixes to previous checkinChris Lattner2002-10-281-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4314 91177308-0d34-0410-b5e6-96231b3b80d8
* Inline some methods from .cpp files into .h files, minor cleanupsChris Lattner2002-10-283-9/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4313 91177308-0d34-0410-b5e6-96231b3b80d8
* Add prototypes for creation/destruction passesChris Lattner2002-10-281-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4309 91177308-0d34-0410-b5e6-96231b3b80d8
* * Doxygenify commentsChris Lattner2002-10-281-17/+16
| | | | | | | | * Move addPassesToEmitAssembly back to Sparc.cpp because it really is sparc specific git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4306 91177308-0d34-0410-b5e6-96231b3b80d8
* This header is renamed to MachineFunction.hChris Lattner2002-10-281-124/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4304 91177308-0d34-0410-b5e6-96231b3b80d8
* We don't need the forwarding typedefChris Lattner2002-10-281-4/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4303 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed `MachineCodeForMethod' to `MachineFunction'.Misha Brukman2002-10-287-51/+62
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4301 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support or other operand typesChris Lattner2002-10-271-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4298 91177308-0d34-0410-b5e6-96231b3b80d8
* Prune #includesChris Lattner2002-10-272-10/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4295 91177308-0d34-0410-b5e6-96231b3b80d8
* Add neccesary #includeChris Lattner2002-10-272-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4294 91177308-0d34-0410-b5e6-96231b3b80d8
* Old GCC's don't have an <ostream>Chris Lattner2002-10-272-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4293 91177308-0d34-0410-b5e6-96231b3b80d8
* Add #includeChris Lattner2002-10-272-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4291 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of target support for X86 backend.Chris Lattner2002-10-252-0/+171
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4287 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of Machine Code representation for X86 backend. This willChris Lattner2002-10-254-0/+335
| | | | | | | eventually be merged with the sparc backend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4286 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typoChris Lattner2002-10-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4281 91177308-0d34-0410-b5e6-96231b3b80d8
* * Remove unneccesary #includesChris Lattner2002-10-242-10/+6
| | | | | | | * Fix typeo in the (unused) MachineInstrInfo::isArith method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4275 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor cleanupsChris Lattner2002-10-231-5/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4267 91177308-0d34-0410-b5e6-96231b3b80d8
* - Two minor improvements to the MachineInstr class to reduce footprint andChris Lattner2002-10-221-30/+41
| | | | | | | | overhead: Merge 3 parallel vectors into 1, change regsUsed hash_set to be a bitvector. Sped up LLC a little less than 10% in a debug build! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4261 91177308-0d34-0410-b5e6-96231b3b80d8
* We need to know the call sites each function hostsChris Lattner2002-10-222-2/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4258 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow modification of calleeChris Lattner2002-10-222-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4257 91177308-0d34-0410-b5e6-96231b3b80d8
* Small space optimization: Make MachineOperands take 16 bytes instead ofChris Lattner2002-10-221-15/+6
| | | | | | | 20 on intel or 24 on sparc git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4256 91177308-0d34-0410-b5e6-96231b3b80d8
* - Rename AnalysisUsage::preservesAll to getPreservesAll & preservesCFG toChris Lattner2002-10-211-11/+12
| | | | | | | setPreservesCFG to be less confusing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4255 91177308-0d34-0410-b5e6-96231b3b80d8
* Delete unused arguments to DSGraph::cloneInto methodChris Lattner2002-10-212-8/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4253 91177308-0d34-0410-b5e6-96231b3b80d8
* - Add "ResolvingCaller" to the CallSite record. This keeps track of whichChris Lattner2002-10-214-48/+108
| | | | | | | | | function was finally able to resolve the function call. Adding this allows the TD pass to actually work right! - Temporarily disable dead node pruning. This will be reenabled soon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4252 91177308-0d34-0410-b5e6-96231b3b80d8
* Add another copy ctor formChris Lattner2002-10-212-2/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4251 91177308-0d34-0410-b5e6-96231b3b80d8
* As it turns out, we don't need a fully generic mapping copy ctor, we just needChris Lattner2002-10-212-20/+62
| | | | | | | | something that maps through a std::map. Since this simplified the client and implementation code, do so now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4250 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to initialize isArray memberChris Lattner2002-10-212-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4247 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove a 'using' directives from a header file. Using directives causeChris Lattner2002-10-211-5/+4
| | | | | | | global changes, so aren't good for headers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4245 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a missing std:: qualifierChris Lattner2002-10-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4244 91177308-0d34-0410-b5e6-96231b3b80d8
* Two callsites are equivalent even if they are from two completely differentChris Lattner2002-10-212-6/+2
| | | | | | | call instructions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4241 91177308-0d34-0410-b5e6-96231b3b80d8
* - Make DSCallSite not inherit from std::vector. Renamed methods slightly.Chris Lattner2002-10-212-40/+118
| | | | | | | | | Make copy ctor have two versions to avoid dealing with conditional template argument. DSCallSite ctor now takes all arguments instead of taking one and being populated later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4240 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove spurious caller pointer in DSCallSite.Vikram S. Adve2002-10-202-20/+22
| | | | | | | Also add functions to access pointer argument nodes cleanly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4235 91177308-0d34-0410-b5e6-96231b3b80d8
* Add isArray flagChris Lattner2002-10-202-12/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4230 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a first-class representation for each call site that can beVikram S. Adve2002-10-202-26/+10
| | | | | | | | used in the DS graphs in DSGraph.h. With that, the special-purpose class BUDataStructure::CallSite is no longer needed here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4229 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a first-class representation for each call site that can be usedVikram S. Adve2002-10-202-6/+70
| | | | | | | in the DS graphs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4227 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert typerec to be a structure instead of a pairChris Lattner2002-10-182-2/+34
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4226 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't emit braces around something without outgoing edgesChris Lattner2002-10-182-6/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4225 91177308-0d34-0410-b5e6-96231b3b80d8
* Add interface for mod/ref info to be captures by dsgraphsChris Lattner2002-10-172-4/+28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4222 91177308-0d34-0410-b5e6-96231b3b80d8
* * Add data structures to BU pass to keep track of call sites for functionsChris Lattner2002-10-172-14/+42
| | | | | | | * Reenable the TD analysis git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4212 91177308-0d34-0410-b5e6-96231b3b80d8
* * Remove a lot of obsolete #if 0'd codeChris Lattner2002-10-172-90/+10
| | | | | | | * Add a simple getNodeForValue method to access the ValueMap. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4211 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the forward declaration for GraphTraits instead of #includingChris Lattner2002-10-171-1/+2
| | | | | | | the header git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4210 91177308-0d34-0410-b5e6-96231b3b80d8
* Be const correct. Handle both DSGraph* and const DSGraph*'sChris Lattner2002-10-174-30/+82
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4208 91177308-0d34-0410-b5e6-96231b3b80d8
* Break up the GraphWriter into smaller chunks to be used in different waysChris Lattner2002-10-172-20/+34
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4207 91177308-0d34-0410-b5e6-96231b3b80d8