summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineFunction.cpp
Commit message (Collapse)AuthorAgeFilesLines
* move MachineFrameInfo::CreateFixedObject out of line, give MachineFrameInfoChris Lattner2008-01-251-1/+14
| | | | | | | a reference to TargetFrameInfo. Rearrange order of fields in StackObject to save a word. llvm-svn: 46348
* properly encapsulate the parent field of MBB and MI with get/set accessors.Chris Lattner2007-12-311-6/+8
| | | | llvm-svn: 45469
* Rename SSARegMap -> MachineRegisterInfo in keeping with the idea Chris Lattner2007-12-311-15/+11
| | | | | | | | | | | | | | that "machine" classes are used to represent the current state of the code being compiled. Given this expanded name, we can start moving other stuff into it. For now, move the UsedPhysRegs and LiveIn/LoveOuts vectors from MachineFunction into it. Update all the clients to match. This also reduces some needless #includes, such as MachineModuleInfo from MachineFunction. llvm-svn: 45467
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* Eliminate the remaining uses of getTypeSize. ThisDuncan Sands2007-11-051-2/+2
| | | | | | | | | | | | | | should only effect x86 when using long double. Now 12/16 bytes are output for long double globals (the exact amount depends on the alignment). This brings globals in line with the rest of LLVM: the space reserved for an object is now always the ABI size. One tricky point is that only 10 bytes should be output for long double if it is a field in a packed struct, which is the reason for the additional argument to EmitGlobalConstant. llvm-svn: 43688
* Use empty() member functions when that's what's being tested for insteadDan Gohman2007-10-031-2/+2
| | | | | | of comparing begin() and end(). llvm-svn: 42585
* Drop 'const'Devang Patel2007-05-031-4/+4
| | | | llvm-svn: 36662
* Use 'static const char' instead of 'static const int'.Devang Patel2007-05-021-4/+4
| | | | | | | Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652
* Do not use typeinfo to identify pass in pass manager.Devang Patel2007-05-011-2/+9
| | | | llvm-svn: 36632
* Change UsedPhysRegs from array bool to BitVector to save some space. Setting ↵Evan Cheng2007-04-251-2/+2
| | | | | | / getting its states now go through MachineFunction. llvm-svn: 36451
* support > 4G stack objectsChris Lattner2007-04-251-1/+1
| | | | llvm-svn: 36422
* Generalize TargetData strings, to support more interesting forms of data.Chris Lattner2007-02-141-1/+2
| | | | | | Patch by Scott Michel. llvm-svn: 34266
* Teach TargetData to handle 'preferred' alignment for each target, and useChris Lattner2007-01-201-1/+2
| | | | | | these alignment amounts to align scalars when we can. Patch by Scott Michel! llvm-svn: 33409
* Debug dump error.Evan Cheng2006-12-221-1/+1
| | | | llvm-svn: 32743
* 1. Tidy up jump table info.Jim Laskey2006-12-141-9/+9
| | | | | | 2. Allow the jit to handle PIC relocable jump tables. llvm-svn: 32581
* Removed more <iostream> includesBill Wendling2006-12-071-8/+6
| | | | llvm-svn: 32321
* const'ify jump table stuffChris Lattner2006-10-281-1/+1
| | | | llvm-svn: 31269
* add an assertChris Lattner2006-10-281-0/+1
| | | | llvm-svn: 31267
* BugfixesChris Lattner2006-10-031-7/+5
| | | | llvm-svn: 30709
* Provide a function that ensures MBB numbering is dense and inorder. ThisChris Lattner2006-10-031-0/+47
| | | | | | can be used by MachineFunctionPasses who need this property. llvm-svn: 30706
* Use getOffset() instead.Evan Cheng2006-09-141-2/+2
| | | | llvm-svn: 30327
* A MachineConstantPool may have mixed Constant* and MachineConstantPoolValue* ↵Evan Cheng2006-09-141-2/+8
| | | | | | values. llvm-svn: 30316
* Added support for machine specific constantpool values. These are useful forEvan Cheng2006-09-121-3/+37
| | | | | | representing expressions that can only be resolved at link time, etc. llvm-svn: 30278
* s|llvm/Support/Visibility.h|llvm/Support/Compiler.h|Chris Lattner2006-08-271-1/+1
| | | | llvm-svn: 29911
* Add an out-of-line virtual function to home class.Chris Lattner2006-07-141-0/+2
| | | | llvm-svn: 29154
* Shave another 27K off libllvmgcc.dylib with visibility hiddenChris Lattner2006-06-281-2/+3
| | | | llvm-svn: 28973
* For PR801:Reid Spencer2006-06-271-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
* For PR798:Reid Spencer2006-06-051-14/+65
| | | | | | Add support for Graphviz. Patch contributed by Anton Korobeynikov. llvm-svn: 28684
* Print the vreg that livein physregs are live inChris Lattner2006-05-161-0/+3
| | | | llvm-svn: 28314
* Refactor a bunch of includes so that TargetMachine.h doesn't have to includeOwen Anderson2006-05-121-0/+1
| | | | | | | TargetData.h. This should make recompiles a bit faster with my current TargetData tinkering. llvm-svn: 28238
* Refactor TargetMachine, pushing handling of TargetData into the ↵Owen Anderson2006-05-031-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
* Code cleanup associated with jump tables, thanks to Chris for noticingNate Begeman2006-04-221-0/+8
| | | | | | these. llvm-svn: 27950
* JumpTable support! What this represents is working asm and jit support forNate Begeman2006-04-221-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
* Remove unused methodChris Lattner2006-04-031-8/+0
| | | | llvm-svn: 27379
* Adjust to MachineConstantPool interface change: instead of keeping aChris Lattner2006-02-091-2/+30
| | | | | | value/alignment pair for each constant, keep a value/offset pair. llvm-svn: 26078
* rename fields of constant pool entriesChris Lattner2006-02-091-2/+2
| | | | llvm-svn: 26076
* Allow the specification of explicit alignments for constant pool entries.Evan Cheng2006-01-311-2/+5
| | | | llvm-svn: 25855
* Moving MachineDebugInfo to module level location.Jim Laskey2006-01-041-1/+1
| | | | llvm-svn: 25090
* Added source file/line correspondence for dwarf (PowerPC only at this point.)Jim Laskey2005-12-161-1/+1
| | | | llvm-svn: 24748
* Added graphviz/gv support for MF.Jim Laskey2005-10-121-0/+22
| | | | llvm-svn: 23700
* If a function has live ins/outs, print themChris Lattner2005-08-311-1/+23
| | | | llvm-svn: 23181
* print stack object alignment in -print-machineinstr dumpsChris Lattner2005-05-131-2/+4
| | | | llvm-svn: 21992
* Remove trailing whitespaceMisha Brukman2005-04-211-1/+1
| | | | llvm-svn: 21420
* Improve conformance with the Misha spelling benchmark suiteChris Lattner2005-01-301-1/+1
| | | | llvm-svn: 19930
* adjust to ilist changes.Chris Lattner2005-01-291-4/+3
| | | | llvm-svn: 19924
* Add support for the PhysRegsUsed array.Chris Lattner2005-01-231-2/+3
| | | | llvm-svn: 19789
* Silence warnings from VSChris Lattner2005-01-081-1/+2
| | | | llvm-svn: 19386
* Indent to 2 spaces and cleanup excess whitespace.Alkis Evlogimenos2004-09-051-48/+47
| | | | llvm-svn: 16188
* Changes For Bug 352Reid Spencer2004-09-011-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
* Move this code to lib/Target/SparcV9/MachineFunctionInfo.cppChris Lattner2004-08-161-158/+1
| | | | llvm-svn: 15834
OpenPOWER on IntegriCloud