summaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
AgeCommit message (Collapse)Author
2006-06-05For PR798:Reid Spencer
Add support for Graphviz. Patch contributed by Anton Korobeynikov. llvm-svn: 28684
2006-05-16Print the vreg that livein physregs are live inChris Lattner
llvm-svn: 28314
2006-05-12Refactor a bunch of includes so that TargetMachine.h doesn't have to includeOwen Anderson
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 Anderson
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 Begeman
these. llvm-svn: 27950
2006-04-22JumpTable support! What this represents is working asm and jit support forNate Begeman
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 Lattner
llvm-svn: 27379
2006-02-09Adjust to MachineConstantPool interface change: instead of keeping aChris Lattner
value/alignment pair for each constant, keep a value/offset pair. llvm-svn: 26078
2006-02-09rename fields of constant pool entriesChris Lattner
llvm-svn: 26076
2006-01-31Allow the specification of explicit alignments for constant pool entries.Evan Cheng
llvm-svn: 25855
2006-01-04Moving MachineDebugInfo to module level location.Jim Laskey
llvm-svn: 25090
2005-12-16Added source file/line correspondence for dwarf (PowerPC only at this point.)Jim Laskey
llvm-svn: 24748
2005-10-12Added graphviz/gv support for MF.Jim Laskey
llvm-svn: 23700
2005-08-31If a function has live ins/outs, print themChris Lattner
llvm-svn: 23181
2005-05-13print stack object alignment in -print-machineinstr dumpsChris Lattner
llvm-svn: 21992
2005-04-21Remove trailing whitespaceMisha Brukman
llvm-svn: 21420
2005-01-30Improve conformance with the Misha spelling benchmark suiteChris Lattner
llvm-svn: 19930
2005-01-29adjust to ilist changes.Chris Lattner
llvm-svn: 19924
2005-01-23Add support for the PhysRegsUsed array.Chris Lattner
llvm-svn: 19789
2005-01-08Silence warnings from VSChris Lattner
llvm-svn: 19386
2004-09-05Indent to 2 spaces and cleanup excess whitespace.Alkis Evlogimenos
llvm-svn: 16188
2004-09-01Changes For Bug 352Reid Spencer
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 Lattner
llvm-svn: 15834
2004-08-16Move MachineCodeForInstruction.h and MachineFunctionInfo.h into ↵Chris Lattner
lib/Target/SparcV9 llvm-svn: 15830
2004-08-16Add a note that people shouldn't use MachineFunctionInfo.Brian Gaeke
llvm-svn: 15823
2004-08-15Stop using CreateStackObject(RegClass*)Chris Lattner
llvm-svn: 15775
2004-08-12Forward substitute some constants into their usersChris Lattner
llvm-svn: 15693
2004-08-12The only target that uses this code (v9) always has argsOnStackHaveFixedSizeChris Lattner
set to true (obviously) llvm-svn: 15692
2004-07-29Fix #includes of i*.h => Instructions.h as per PR403.Misha Brukman
llvm-svn: 15334
2004-07-08Add viewCFG() and viewCFGOnly() APIs.Alkis Evlogimenos
llvm-svn: 14679
2004-07-04Add #include <iostream> since Value.h does not #include it any more.Reid Spencer
llvm-svn: 14622
2004-07-01Make sure that we destroy the MBB's, with all of their instructions, beforeChris Lattner
any other data structures llvm-svn: 14524
2004-07-01Instance var no longer existsChris Lattner
llvm-svn: 14520
2004-06-11Fix fallout from getOffsetOfLocalArea() being negated. Debugging dumps were ↵Chris Lattner
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 Lattner
llvm-svn: 13955
2004-05-24Moved MachineBasicBlock deconstructor to cpp file and removed it from ↵Tanya Lattner
LeakDetector to fix memory leak bug. llvm-svn: 13718
2004-05-24Added MachineFunction parent* to MachineBasicBlock. Customized ilist templateTanya Lattner
to set the parent when a MachineBasicBlock is added to a MachineFunction. llvm-svn: 13716
2004-05-12Start NextMBBNumber out at zero.Brian Gaeke
llvm-svn: 13515
2004-03-29Change how the beginnings and ends of MachineFunctions are printed. GetBrian Gaeke
rid of the funny cast. llvm-svn: 12537
2004-03-01TargetCacheInfo has been removed; its only uses were to propagate a constantBrian Gaeke
(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 Lattner
llvm-svn: 12002
2004-02-16Add LeakDetection to MachineInstr.Alkis Evlogimenos
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 Evlogimenos
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 Gaeke
Add MachineBasicBlock::dump(). llvm-svn: 11364
2004-02-12Change MachineBasicBlock's vector of MachineInstr pointers into anAlkis Evlogimenos
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 Lattner
llvm-svn: 11050
2004-01-30Give clients of MachineFunctionPrinter the ability to specify a banner andBrian Gaeke
choose an ostream. llvm-svn: 11016
2003-12-20Add a new target-independent machine code freeing passChris Lattner
llvm-svn: 10560
2003-12-20* Finegrainify namespacificationChris Lattner
* 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 Gaeke
llvm-svn: 9903