aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
AgeCommit message (Collapse)AuthorFilesLines
2006-07-14Add an out-of-line virtual function to home class.Chris Lattner1-0/+2
llvm-svn: 29154
2006-06-28Shave another 27K off libllvmgcc.dylib with visibility hiddenChris Lattner1-2/+3
llvm-svn: 28973
2006-06-27For PR801:Reid Spencer1-92/+4
Refactor the Graph writing code to use a common implementation which is now in lib/Support/GraphWriter.cpp. This completes the PR. Patch by Anton Korobeynikov. Thanks, Anton! llvm-svn: 28925
2006-06-05For PR798:Reid Spencer1-14/+65
Add support for Graphviz. Patch contributed by Anton Korobeynikov. llvm-svn: 28684
2006-05-16Print the vreg that livein physregs are live inChris Lattner1-0/+3
llvm-svn: 28314
2006-05-12Refactor a bunch of includes so that TargetMachine.h doesn't have to includeOwen Anderson1-0/+1
TargetData.h. This should make recompiles a bit faster with my current TargetData tinkering. llvm-svn: 28238
2006-05-03Refactor TargetMachine, pushing handling of TargetData into the ↵Owen Anderson1-3/+3
target-specific subclasses. This has one caller-visible change: getTargetData() now returns a pointer instead of a reference. This fixes PR 759. llvm-svn: 28074
2006-04-22Code cleanup associated with jump tables, thanks to Chris for noticingNate Begeman1-0/+8
these. llvm-svn: 27950
2006-04-22JumpTable support! What this represents is working asm and jit support forNate Begeman1-0/+36
x86 and ppc for 100% dense switch statements when relocations are non-PIC. This support will be extended and enhanced in the coming days to support PIC, and less dense forms of jump tables. llvm-svn: 27947
2006-04-03Remove unused methodChris Lattner1-8/+0
llvm-svn: 27379
2006-02-09Adjust to MachineConstantPool interface change: instead of keeping aChris Lattner1-2/+30
value/alignment pair for each constant, keep a value/offset pair. llvm-svn: 26078
2006-02-09rename fields of constant pool entriesChris Lattner1-2/+2
llvm-svn: 26076
2006-01-31Allow the specification of explicit alignments for constant pool entries.Evan Cheng1-2/+5
llvm-svn: 25855
2006-01-04Moving MachineDebugInfo to module level location.Jim Laskey1-1/+1
llvm-svn: 25090
2005-12-16Added source file/line correspondence for dwarf (PowerPC only at this point.)Jim Laskey1-1/+1
llvm-svn: 24748
2005-10-12Added graphviz/gv support for MF.Jim Laskey1-0/+22
llvm-svn: 23700
2005-08-31If a function has live ins/outs, print themChris Lattner1-1/+23
llvm-svn: 23181
2005-05-13print stack object alignment in -print-machineinstr dumpsChris Lattner1-2/+4
llvm-svn: 21992
2005-04-21Remove trailing whitespaceMisha Brukman1-1/+1
llvm-svn: 21420
2005-01-30Improve conformance with the Misha spelling benchmark suiteChris Lattner1-1/+1
llvm-svn: 19930
2005-01-29adjust to ilist changes.Chris Lattner1-4/+3
llvm-svn: 19924
2005-01-23Add support for the PhysRegsUsed array.Chris Lattner1-2/+3
llvm-svn: 19789
2005-01-08Silence warnings from VSChris Lattner1-1/+2
llvm-svn: 19386
2004-09-05Indent to 2 spaces and cleanup excess whitespace.Alkis Evlogimenos1-48/+47
llvm-svn: 16188
2004-09-01Changes For Bug 352Reid Spencer1-2/+2
Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
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