aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
AgeCommit message (Collapse)AuthorFilesLines
2004-08-16Move this code to lib/Target/SparcV9/MachineFunctionInfo.cppChris Lattner1-158/+1
llvm-svn: 15834
2004-08-16Move MachineCodeForInstruction.h and MachineFunctionInfo.h into ↵Chris Lattner1-1/+1
lib/Target/SparcV9 llvm-svn: 15830
2004-08-16Add a note that people shouldn't use MachineFunctionInfo.Brian Gaeke1-0/+2
llvm-svn: 15823
2004-08-15Stop using CreateStackObject(RegClass*)Chris Lattner1-4/+0
llvm-svn: 15775
2004-08-12Forward substitute some constants into their usersChris Lattner1-5/+2
llvm-svn: 15693
2004-08-12The only target that uses this code (v9) always has argsOnStackHaveFixedSizeChris Lattner1-16/+1
set to true (obviously) llvm-svn: 15692
2004-07-29Fix #includes of i*.h => Instructions.h as per PR403.Misha Brukman1-1/+1
llvm-svn: 15334
2004-07-08Add viewCFG() and viewCFGOnly() APIs.Alkis Evlogimenos1-1/+77
llvm-svn: 14679
2004-07-04Add #include <iostream> since Value.h does not #include it any more.Reid Spencer1-0/+1
llvm-svn: 14622
2004-07-01Make sure that we destroy the MBB's, with all of their instructions, beforeChris Lattner1-0/+1
any other data structures llvm-svn: 14524
2004-07-01Instance var no longer existsChris Lattner1-1/+1
llvm-svn: 14520
2004-06-11Fix fallout from getOffsetOfLocalArea() being negated. Debugging dumps were ↵Chris Lattner1-1/+1
being printed incorrectly, and we were reserving 8 extra bytes of stack space for functions on X86. llvm-svn: 14152
2004-06-02Inline findOptimalStorageSize into it's caller, both of which are sparc specificChris Lattner1-12/+18
llvm-svn: 13955
2004-05-24Moved MachineBasicBlock deconstructor to cpp file and removed it from ↵Tanya Lattner1-3/+3
LeakDetector to fix memory leak bug. llvm-svn: 13718
2004-05-24Added MachineFunction parent* to MachineBasicBlock. Customized ilist templateTanya Lattner1-0/+19
to set the parent when a MachineBasicBlock is added to a MachineFunction. llvm-svn: 13716
2004-05-12Start NextMBBNumber out at zero.Brian Gaeke1-1/+1
llvm-svn: 13515
2004-03-29Change how the beginnings and ends of MachineFunctions are printed. GetBrian Gaeke1-3/+3
rid of the funny cast. llvm-svn: 12537
2004-03-01TargetCacheInfo has been removed; its only uses were to propagate a constantBrian Gaeke1-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
2004-02-29Remove use of an ugly headerChris Lattner1-1/+0
llvm-svn: 12002
2004-02-16Add LeakDetection to MachineInstr.Alkis Evlogimenos1-11/+0
Move out of line member functions of MachineBasicBlock to MachineBasicBlock.cpp. llvm-svn: 11497
2004-02-15Add back machine code deleter pass until we get a MachineCode passAlkis Evlogimenos1-0/+21
that will be responsible for the creation of MachineFunctions and will be required by all MachineFunctionPass passes. llvm-svn: 11453
2004-02-13Refactor MachineFunction::print() into MachineBasicBlock::print().Brian Gaeke1-8/+12
Add MachineBasicBlock::dump(). llvm-svn: 11364
2004-02-12Change MachineBasicBlock's vector of MachineInstr pointers into anAlkis Evlogimenos1-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
2004-02-01Fix a bug in a recent checkinChris Lattner1-1/+1
llvm-svn: 11050
2004-01-30Give clients of MachineFunctionPrinter the ability to specify a banner andBrian Gaeke1-3/+14
choose an ostream. llvm-svn: 11016
2003-12-20Add a new target-independent machine code freeing passChris Lattner1-8/+33
llvm-svn: 10560
2003-12-20* Finegrainify namespacificationChris Lattner1-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
2003-11-11Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke1-0/+4
llvm-svn: 9903
2003-10-20Added LLVM project notice to the top of every C++ source file.John Criswell1-0/+7
Header files will be on the way. llvm-svn: 9298
2003-08-13Factory methods for FunctionPasses now return type FunctionPass *.Brian Gaeke1-3/+3
llvm-svn: 7823
2003-07-26Const correctness fixesChris Lattner1-1/+1
llvm-svn: 7349
2003-06-30Merged in autoconf branch. This provides configuration via the autoconfJohn Criswell1-1/+1
system. llvm-svn: 7014
2003-04-23Remove unneccesary &*Chris Lattner1-1/+1
llvm-svn: 5871
2003-01-16Print machine frame objects with the frame offset intrinsic to the machineChris Lattner1-7/+12
llvm-svn: 5329
2003-01-13Add support for constant poolChris Lattner1-1/+29
Add helper methods for MachineFrameInfo llvm-svn: 5216
2002-12-29Rename MachineOptInfo to TargetoptInfoChris Lattner1-1/+1
Rename MachineCacheInfo to TargetCacheInfo llvm-svn: 5203
2002-12-28 Rename FunctionFrameInfo to MachineFrameInfoChris Lattner1-5/+5
llvm-svn: 5200
2002-12-28Rename MachineFrameInfo to TargetFrameInfo.hChris Lattner1-1/+1
llvm-svn: 5199
2002-12-28* A bunch of functionality and data was removed from MachineFunction and putChris Lattner1-48/+84
into a new MachineFunctionInfo class * Implement new FunctionFrameInfo class llvm-svn: 5193
2002-12-25Remove dependency on SSARegMap.h by MachineFunction.hChris Lattner1-8/+19
llvm-svn: 5143
2002-12-15Implement printing of MBB argumentsChris Lattner1-2/+1
llvm-svn: 5053
2002-11-20Initialize the SSARegMap.Misha Brukman1-0/+1
llvm-svn: 4782
2002-10-30Implement structured machine code printingChris Lattner1-26/+46
llvm-svn: 4435
2002-10-29Make argsize calculation stuff optional, so that Targets without FrameInfoChris Lattner1-4/+6
objects yet don't die llvm-svn: 4427
2002-10-29Rename annotation idChris Lattner1-5/+5
llvm-svn: 4425
2002-10-28Replaced uses of deprecated `MachineFunction::get(BasicBlock *BB)'.Misha Brukman1-15/+0
llvm-svn: 4351
2002-10-28Eliminate unneccesary use of MachineBasicBlock::getChris Lattner1-8/+6
llvm-svn: 4339
2002-10-28s/method/functionChris Lattner1-15/+14
llvm-svn: 4338
2002-10-28Change MachineBasicBlock's to not be Annotations, instead they are kept asChris Lattner1-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
2002-10-28MachineFunction now includes MachineBasicBlock so there is no need toChris Lattner1-1/+0
reinclude it llvm-svn: 4322