Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Pool-allocation for MachineInstrs, MachineBasicBlocks, and | Dan Gohman | 2008-07-07 | 1 | -31/+92 | |
| | | | | | | | | | | | MachineMemOperands. The pools are owned by MachineFunctions. This drastically reduces the number of calls to malloc/free made during the "Emit" phase of scheduling, as well as later phases in CodeGen. Combined with other changes, this speeds up the "instruction selection" phase of CodeGen by 10% in some cases. llvm-svn: 53212 | |||||
* | Silence warning when no assertions. | Chris Lattner | 2008-04-06 | 1 | -1/+2 | |
| | | | | llvm-svn: 49284 | |||||
* | Spiller now remove unused spill slots. | Evan Cheng | 2008-02-27 | 1 | -0/+4 | |
| | | | | llvm-svn: 47657 | |||||
* | Rename PrintableName to Name. | Bill Wendling | 2008-02-26 | 1 | -2/+2 | |
| | | | | llvm-svn: 47629 | |||||
* | Change "Name" to "AsmName" in the target register info. Gee, a refactoring tool | Bill Wendling | 2008-02-26 | 1 | -2/+2 | |
| | | | | | | would have been a Godsend here! llvm-svn: 47625 | |||||
* | Rename MRegisterInfo to TargetRegisterInfo. | Dan Gohman | 2008-02-10 | 1 | -5/+5 | |
| | | | | llvm-svn: 46930 | |||||
* | move MachineFrameInfo::CreateFixedObject out of line, give MachineFrameInfo | Chris Lattner | 2008-01-25 | 1 | -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 Lattner | 2007-12-31 | 1 | -6/+8 | |
| | | | | llvm-svn: 45469 | |||||
* | Rename SSARegMap -> MachineRegisterInfo in keeping with the idea | Chris Lattner | 2007-12-31 | 1 | -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 Lattner | 2007-12-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 45418 | |||||
* | Eliminate the remaining uses of getTypeSize. This | Duncan Sands | 2007-11-05 | 1 | -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 instead | Dan Gohman | 2007-10-03 | 1 | -2/+2 | |
| | | | | | | of comparing begin() and end(). llvm-svn: 42585 | |||||
* | Drop 'const' | Devang Patel | 2007-05-03 | 1 | -4/+4 | |
| | | | | llvm-svn: 36662 | |||||
* | Use 'static const char' instead of 'static const int'. | Devang Patel | 2007-05-02 | 1 | -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 Patel | 2007-05-01 | 1 | -2/+9 | |
| | | | | llvm-svn: 36632 | |||||
* | Change UsedPhysRegs from array bool to BitVector to save some space. Setting ↵ | Evan Cheng | 2007-04-25 | 1 | -2/+2 | |
| | | | | | | / getting its states now go through MachineFunction. llvm-svn: 36451 | |||||
* | support > 4G stack objects | Chris Lattner | 2007-04-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 36422 | |||||
* | Generalize TargetData strings, to support more interesting forms of data. | Chris Lattner | 2007-02-14 | 1 | -1/+2 | |
| | | | | | | Patch by Scott Michel. llvm-svn: 34266 | |||||
* | Teach TargetData to handle 'preferred' alignment for each target, and use | Chris Lattner | 2007-01-20 | 1 | -1/+2 | |
| | | | | | | these alignment amounts to align scalars when we can. Patch by Scott Michel! llvm-svn: 33409 | |||||
* | Debug dump error. | Evan Cheng | 2006-12-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 32743 | |||||
* | 1. Tidy up jump table info. | Jim Laskey | 2006-12-14 | 1 | -9/+9 | |
| | | | | | | 2. Allow the jit to handle PIC relocable jump tables. llvm-svn: 32581 | |||||
* | Removed more <iostream> includes | Bill Wendling | 2006-12-07 | 1 | -8/+6 | |
| | | | | llvm-svn: 32321 | |||||
* | const'ify jump table stuff | Chris Lattner | 2006-10-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 31269 | |||||
* | add an assert | Chris Lattner | 2006-10-28 | 1 | -0/+1 | |
| | | | | llvm-svn: 31267 | |||||
* | Bugfixes | Chris Lattner | 2006-10-03 | 1 | -7/+5 | |
| | | | | llvm-svn: 30709 | |||||
* | Provide a function that ensures MBB numbering is dense and inorder. This | Chris Lattner | 2006-10-03 | 1 | -0/+47 | |
| | | | | | | can be used by MachineFunctionPasses who need this property. llvm-svn: 30706 | |||||
* | Use getOffset() instead. | Evan Cheng | 2006-09-14 | 1 | -2/+2 | |
| | | | | llvm-svn: 30327 | |||||
* | A MachineConstantPool may have mixed Constant* and MachineConstantPoolValue* ↵ | Evan Cheng | 2006-09-14 | 1 | -2/+8 | |
| | | | | | | values. llvm-svn: 30316 | |||||
* | Added support for machine specific constantpool values. These are useful for | Evan Cheng | 2006-09-12 | 1 | -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 Lattner | 2006-08-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 29911 | |||||
* | Add an out-of-line virtual function to home class. | Chris Lattner | 2006-07-14 | 1 | -0/+2 | |
| | | | | llvm-svn: 29154 | |||||
* | Shave another 27K off libllvmgcc.dylib with visibility hidden | Chris Lattner | 2006-06-28 | 1 | -2/+3 | |
| | | | | llvm-svn: 28973 | |||||
* | For PR801: | Reid Spencer | 2006-06-27 | 1 | -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 Spencer | 2006-06-05 | 1 | -14/+65 | |
| | | | | | | Add support for Graphviz. Patch contributed by Anton Korobeynikov. llvm-svn: 28684 | |||||
* | Print the vreg that livein physregs are live in | Chris Lattner | 2006-05-16 | 1 | -0/+3 | |
| | | | | llvm-svn: 28314 | |||||
* | Refactor a bunch of includes so that TargetMachine.h doesn't have to include | Owen Anderson | 2006-05-12 | 1 | -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 Anderson | 2006-05-03 | 1 | -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 noticing | Nate Begeman | 2006-04-22 | 1 | -0/+8 | |
| | | | | | | these. llvm-svn: 27950 | |||||
* | JumpTable support! What this represents is working asm and jit support for | Nate Begeman | 2006-04-22 | 1 | -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 method | Chris Lattner | 2006-04-03 | 1 | -8/+0 | |
| | | | | llvm-svn: 27379 | |||||
* | Adjust to MachineConstantPool interface change: instead of keeping a | Chris Lattner | 2006-02-09 | 1 | -2/+30 | |
| | | | | | | value/alignment pair for each constant, keep a value/offset pair. llvm-svn: 26078 | |||||
* | rename fields of constant pool entries | Chris Lattner | 2006-02-09 | 1 | -2/+2 | |
| | | | | llvm-svn: 26076 | |||||
* | Allow the specification of explicit alignments for constant pool entries. | Evan Cheng | 2006-01-31 | 1 | -2/+5 | |
| | | | | llvm-svn: 25855 | |||||
* | Moving MachineDebugInfo to module level location. | Jim Laskey | 2006-01-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 25090 | |||||
* | Added source file/line correspondence for dwarf (PowerPC only at this point.) | Jim Laskey | 2005-12-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 24748 | |||||
* | Added graphviz/gv support for MF. | Jim Laskey | 2005-10-12 | 1 | -0/+22 | |
| | | | | llvm-svn: 23700 | |||||
* | If a function has live ins/outs, print them | Chris Lattner | 2005-08-31 | 1 | -1/+23 | |
| | | | | llvm-svn: 23181 | |||||
* | print stack object alignment in -print-machineinstr dumps | Chris Lattner | 2005-05-13 | 1 | -2/+4 | |
| | | | | llvm-svn: 21992 | |||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 21420 | |||||
* | Improve conformance with the Misha spelling benchmark suite | Chris Lattner | 2005-01-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 19930 |