summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineFunction.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Moved MachineBasicBlock deconstructor to cpp file and removed it from ↵Tanya Lattner2004-05-241-3/+3
| | | | | | LeakDetector to fix memory leak bug. llvm-svn: 13718
* Added MachineFunction parent* to MachineBasicBlock. Customized ilist templateTanya Lattner2004-05-241-0/+19
| | | | | | to set the parent when a MachineBasicBlock is added to a MachineFunction. llvm-svn: 13716
* Start NextMBBNumber out at zero.Brian Gaeke2004-05-121-1/+1
| | | | llvm-svn: 13515
* Change how the beginnings and ends of MachineFunctions are printed. GetBrian Gaeke2004-03-291-3/+3
| | | | | | rid of the funny cast. llvm-svn: 12537
* TargetCacheInfo has been removed; its only uses were to propagate a constantBrian Gaeke2004-03-011-2/+1
| | | | | | | | | (16) into certain areas of the SPARC V9 back-end. I'm fairly sure the US IIIi's dcache has 32-byte lines, so I'm not sure where the 16 came from. However, in the interest of not breaking things any more than they already are, I'm going to leave the constant alone. llvm-svn: 12043
* Remove use of an ugly headerChris Lattner2004-02-291-1/+0
| | | | llvm-svn: 12002
* Add LeakDetection to MachineInstr.Alkis Evlogimenos2004-02-161-11/+0
| | | | | | | Move out of line member functions of MachineBasicBlock to MachineBasicBlock.cpp. llvm-svn: 11497
* Add back machine code deleter pass until we get a MachineCode passAlkis Evlogimenos2004-02-151-0/+21
| | | | | | | that will be responsible for the creation of MachineFunctions and will be required by all MachineFunctionPass passes. llvm-svn: 11453
* Refactor MachineFunction::print() into MachineBasicBlock::print().Brian Gaeke2004-02-131-8/+12
| | | | | | Add MachineBasicBlock::dump(). llvm-svn: 11364
* Change MachineBasicBlock's vector of MachineInstr pointers into anAlkis Evlogimenos2004-02-121-29/+1
| | | | | | | | | ilist of MachineInstr objects. This allows constant time removal and insertion of MachineInstr instances from anywhere in each MachineBasicBlock. It also allows for constant time splicing of MachineInstrs into or out of MachineBasicBlocks. llvm-svn: 11340
* Fix a bug in a recent checkinChris Lattner2004-02-011-1/+1
| | | | llvm-svn: 11050
* Give clients of MachineFunctionPrinter the ability to specify a banner andBrian Gaeke2004-01-301-3/+14
| | | | | | choose an ostream. llvm-svn: 11016
* Add a new target-independent machine code freeing passChris Lattner2003-12-201-8/+33
| | | | llvm-svn: 10560
* * Finegrainify namespacificationChris Lattner2003-12-201-72/+13
| | | | | | | | * Move sparc specific code out of generic code * Eliminate the getOffset() method which made INVALID_FRAME_OFFSET necessary, which made pulling in MAX_INT as a sentinal necessary. llvm-svn: 10553
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* Factory methods for FunctionPasses now return type FunctionPass *.Brian Gaeke2003-08-131-3/+3
| | | | llvm-svn: 7823
* Const correctness fixesChris Lattner2003-07-261-1/+1
| | | | llvm-svn: 7349
* Merged in autoconf branch. This provides configuration via the autoconfJohn Criswell2003-06-301-1/+1
| | | | | | system. llvm-svn: 7014
* Remove unneccesary &*Chris Lattner2003-04-231-1/+1
| | | | llvm-svn: 5871
* Print machine frame objects with the frame offset intrinsic to the machineChris Lattner2003-01-161-7/+12
| | | | llvm-svn: 5329
* Add support for constant poolChris Lattner2003-01-131-1/+29
| | | | | | Add helper methods for MachineFrameInfo llvm-svn: 5216
* Rename MachineOptInfo to TargetoptInfoChris Lattner2002-12-291-1/+1
| | | | | | Rename MachineCacheInfo to TargetCacheInfo llvm-svn: 5203
* Rename FunctionFrameInfo to MachineFrameInfoChris Lattner2002-12-281-5/+5
| | | | llvm-svn: 5200
* Rename MachineFrameInfo to TargetFrameInfo.hChris Lattner2002-12-281-1/+1
| | | | llvm-svn: 5199
* * A bunch of functionality and data was removed from MachineFunction and putChris Lattner2002-12-281-48/+84
| | | | | | | into a new MachineFunctionInfo class * Implement new FunctionFrameInfo class llvm-svn: 5193
* Remove dependency on SSARegMap.h by MachineFunction.hChris Lattner2002-12-251-8/+19
| | | | llvm-svn: 5143
* Implement printing of MBB argumentsChris Lattner2002-12-151-2/+1
| | | | llvm-svn: 5053
* Initialize the SSARegMap.Misha Brukman2002-11-201-0/+1
| | | | llvm-svn: 4782
* Implement structured machine code printingChris Lattner2002-10-301-26/+46
| | | | llvm-svn: 4435
* Make argsize calculation stuff optional, so that Targets without FrameInfoChris Lattner2002-10-291-4/+6
| | | | | | objects yet don't die llvm-svn: 4427
* Rename annotation idChris Lattner2002-10-291-5/+5
| | | | llvm-svn: 4425
* Replaced uses of deprecated `MachineFunction::get(BasicBlock *BB)'.Misha Brukman2002-10-281-15/+0
| | | | llvm-svn: 4351
* Eliminate unneccesary use of MachineBasicBlock::getChris Lattner2002-10-281-8/+6
| | | | llvm-svn: 4339
* s/method/functionChris Lattner2002-10-281-15/+14
| | | | llvm-svn: 4338
* Change MachineBasicBlock's to not be Annotations, instead they are kept asChris Lattner2002-10-281-0/+15
| | | | | | | part of a linked list tracked by MachineFunction. MachineBasicBlock::get is now linear time instead of constant time, and thus is deprecated! llvm-svn: 4337
* MachineFunction now includes MachineBasicBlock so there is no need toChris Lattner2002-10-281-1/+0
| | | | | | reinclude it llvm-svn: 4322
* Rename MachineCodeForBasicBlock to MachineBasicBlockChris Lattner2002-10-281-2/+2
| | | | llvm-svn: 4318
* Minor cleanupsChris Lattner2002-10-281-11/+11
| | | | llvm-svn: 4312
* Move machine code generation/destruction passes out of Sparc.cpp becauseChris Lattner2002-10-281-0/+56
| | | | | | they are generic llvm-svn: 4310
* Prune #includesChris Lattner2002-10-281-2/+0
| | | | llvm-svn: 4307
* Changed `MachineCodeForMethod' to `MachineFunction'.Misha Brukman2002-10-281-16/+16
| | | | llvm-svn: 4301
* Don't pad variables in stack slots for performance!Vikram S. Adve2002-10-111-2/+2
| | | | llvm-svn: 4115
* Improve and fix error in allocating stack slots: adjust alignment after addingVikram S. Adve2002-09-161-73/+43
| | | | | | | base address of the relevant region (instead of assuming that each region is maximally aligned). llvm-svn: 3736
* *** empty log message ***Chris Lattner2002-07-251-2/+2
| | | | llvm-svn: 3075
* *** empty log message ***Chris Lattner2002-07-241-1/+1
| | | | llvm-svn: 3056
* added std:: to endlAnand Shukla2002-07-111-1/+1
| | | | llvm-svn: 2875
* Fix print of BB name in dump().Vikram S. Adve2002-07-101-2/+1
| | | | llvm-svn: 2861
* Fix printing of BB in dump.Vikram S. Adve2002-07-081-2/+3
| | | | llvm-svn: 2830
* MEGAPATCH checkin.Chris Lattner2002-06-251-40/+36
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2778
OpenPOWER on IntegriCloud