| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Reset kill markers after live interval is reconstructed. | Evan Cheng | 2009-10-09 | 1 | -6/+22 | 
| | | | | | llvm-svn: 83608 | ||||
| * | Remove code that makes no sense. | Evan Cheng | 2009-10-08 | 1 | -2/+0 | 
| | | | | | llvm-svn: 83589 | ||||
| * | Clear variable debug info map at the end of the function. | Devang Patel | 2009-10-08 | 1 | -0/+3 | 
| | | | | | llvm-svn: 83571 | ||||
| * | Add a SelectionDAG getTargetInsertSubreg convenience function, | Bob Wilson | 2009-10-08 | 1 | -0/+11 | 
| | | | | | | | similar to getTargetExtractSubreg. llvm-svn: 83564 | ||||
| * | Do not record line number to implicitly mark start of function if function ↵ | Devang Patel | 2009-10-08 | 2 | -12/+23 | 
| | | | | | | | has arguments. Extra line number entries trip gdb in some cases. llvm-svn: 83563 | ||||
| * | Add a form of addPreserved which takes a string argument, to allow passes | Dan Gohman | 2009-10-08 | 1 | -12/+12 | 
| | | | | | | | | | to declare that they preserve other passes without needing to pull in additional header file or library dependencies. Convert MachineFunctionPass and CodeGenLICM to make use of this. llvm-svn: 83555 | ||||
| * | Re-enable register scavenging in Thumb1 by default. | Jim Grosbach | 2009-10-08 | 2 | -10/+6 | 
| | | | | | llvm-svn: 83521 | ||||
| * | bugfix. The target may use virtual registers that aren't tracked for re-use ↵ | Jim Grosbach | 2009-10-08 | 2 | -20/+27 | 
| | | | | | | | but are allocated by the scavenger. The re-use algorithm needs to watch for that. llvm-svn: 83519 | ||||
| * | reverting thumb1 scavenging default due to test failure while I figure out ↵ | Jim Grosbach | 2009-10-07 | 2 | -6/+10 | 
| | | | | | | | what's up. llvm-svn: 83501 | ||||
| * | second half of lazy liveness removal. | Chris Lattner | 2009-10-07 | 1 | -1/+0 | 
| | | | | | llvm-svn: 83500 | ||||
| * | Enable thumb1 register scavenging by default. | Jim Grosbach | 2009-10-07 | 2 | -10/+6 | 
| | | | | | llvm-svn: 83496 | ||||
| * | grammar | Jim Grosbach | 2009-10-07 | 1 | -1/+1 | 
| | | | | | llvm-svn: 83483 | ||||
| * | add initializers for clarity. Add missing assignment of PrevLastUseOp. | Jim Grosbach | 2009-10-07 | 1 | -2/+3 | 
| | | | | | llvm-svn: 83481 | ||||
| * | Remove LazyLiveness from the tree. It doesn't work right now, and I'm not ↵ | Owen Anderson | 2009-10-07 | 1 | -168/+0 | 
| | | | | | | | | | going to have the time to finish it any time soon. If someone's interested it, they can resurrect it from SVN history. llvm-svn: 83480 | ||||
| * | Replace some code for aggressive-remat with MachineInstr::isInvariantLoad, and | Dan Gohman | 2009-10-07 | 1 | -23/+28 | 
| | | | | | | | teach it how to recognize invariant physical registers. llvm-svn: 83476 | ||||
| * | Replace TargetInstrInfo::isInvariantLoad and its target-specific | Dan Gohman | 2009-10-07 | 4 | -7/+48 | 
| | | | | | | | | | | implementations with a new MachineInstr::isInvariantLoad, which uses MachineMemOperands and is target-independent. This brings MachineLICM and other functionality to targets which previously lacked an isInvariantLoad implementation. llvm-svn: 83475 | ||||
| * | Add a few simple MachineVerifier checks for MachineMemOperands. | Dan Gohman | 2009-10-07 | 1 | -0/+10 | 
| | | | | | llvm-svn: 83474 | ||||
| * | Add register-reuse to frame-index register scavenging. When a target uses | Jim Grosbach | 2009-10-07 | 3 | -22/+129 | 
| | | | | | | | | | | | | | | | | | | | | | a virtual register to eliminate a frame index, it can return that register and the constant stored there to PEI to track. When scavenging to allocate for those registers, PEI then tracks the last-used register and value, and if it is still available and matches the value for the next index, reuses the existing value rather and removes the re-materialization instructions. Fancier tracking and adjustment of scavenger allocations to keep more values live for longer is possible, but not yet implemented and would likely be better done via a different, less special-purpose, approach to the problem. eliminateFrameIndex() is modified so the target implementations can return the registers they wish to be tracked for reuse. ARM Thumb1 implements and utilizes the new mechanism. All other targets are simply modified to adjust for the changed eliminateFrameIndex() prototype. llvm-svn: 83467 | ||||
| * | Fix this comment. The loop header is the loop entry point. | Dan Gohman | 2009-10-07 | 1 | -2/+2 | 
| | | | | | llvm-svn: 83437 | ||||
| * | Add support to handle debug info attached to an instruction. | Devang Patel | 2009-10-06 | 4 | -6/+25 | 
| | | | | | | | This is not yet enabled. llvm-svn: 83400 | ||||
| * | Instead of printing unnecessary basic block labels as labels in | Dan Gohman | 2009-10-06 | 1 | -2/+10 | 
| | | | | | | | | | | | verbose-asm mode, print comments instead. This eliminates a non-comment difference between verbose-asm mode and non-verbose-asm mode. Also, factor out the relevant code out of all the targets and into target-independent code. llvm-svn: 83392 | ||||
| * | Introduce and use convenience methods for getting pointer types | Duncan Sands | 2009-10-06 | 5 | -15/+15 | 
| | | | | | | | | where the element is of a basic builtin type. For example, to get an i8* use getInt8PtrTy. llvm-svn: 83379 | ||||
| * | grammar | Jim Grosbach | 2009-10-06 | 1 | -1/+1 | 
| | | | | | llvm-svn: 83378 | ||||
| * | Fix cut-n-pasto. | Devang Patel | 2009-10-06 | 1 | -1/+1 | 
| | | | | | llvm-svn: 83367 | ||||
| * | Update processDebugLoc() so that it can be used to process debug info before ↵ | Devang Patel | 2009-10-06 | 1 | -6/+8 | 
| | | | | | | | and after printing an instruction. llvm-svn: 83363 | ||||
| * | Remove dead code. | Devang Patel | 2009-10-06 | 2 | -23/+0 | 
| | | | | | llvm-svn: 83362 | ||||
| * | Add utility routine to set begin and end labels for DbgScopes. | Devang Patel | 2009-10-06 | 2 | -0/+31 | 
| | | | | | | | This will be used by processDebugLoc(). llvm-svn: 83361 | ||||
| * | Remove unintentional function decl. | Devang Patel | 2009-10-06 | 1 | -1/+0 | 
| | | | | | llvm-svn: 83356 | ||||
| * | Add utility routine to collect variable debug info. This is not yet used. | Devang Patel | 2009-10-06 | 2 | -0/+17 | 
| | | | | | llvm-svn: 83355 | ||||
| * | Set default location for the function if it is not already set. | Devang Patel | 2009-10-06 | 1 | -0/+2 | 
| | | | | | | | This code is not yet enabled. llvm-svn: 83349 | ||||
| * | Existence of a compile unit for input source file is a good indicator to ↵ | Devang Patel | 2009-10-06 | 1 | -10/+1 | 
| | | | | | | | check debug info's presence in a module. llvm-svn: 83348 | ||||
| * | If subprogram die is not available then construct new one. | Devang Patel | 2009-10-05 | 1 | -0/+4 | 
| | | | | | | | This can happen if debug info is processed lazily. llvm-svn: 83347 | ||||
| * | Adjust context for the global variables that are not at file scope, e.g. | Devang Patel | 2009-10-05 | 2 | -2/+22 | 
| | | | | | | | | void foo() { static int bar = 42; } Here, foo's DIE is parent of bar's DIE. llvm-svn: 83344 | ||||
| * | Set address while constructing DIE. | Devang Patel | 2009-10-05 | 1 | -7/+8 | 
| | | | | | llvm-svn: 83343 | ||||
| * | In Thumb1, the register scavenger is not always able to use an emergency | Jim Grosbach | 2009-10-05 | 1 | -9/+15 | 
| | | | | | | | | | spill slot. When frame references are via the frame pointer, they will be negative, but Thumb1 load/store instructions only allow positive immediate offsets. Instead, Thumb1 will spill to R12. llvm-svn: 83336 | ||||
| * | Gracefully handle various scopes while recording source line info. | Devang Patel | 2009-10-05 | 1 | -4/+21 | 
| | | | | | llvm-svn: 83317 | ||||
| * | strength reduce a ton of type equality tests to check the typeid (Through | Chris Lattner | 2009-10-05 | 3 | -12/+17 | 
| | | | | | | | | | the new predicates I added) instead of going through a context and doing a pointer comparison. Besides being cheaper, this allows a smart compiler to turn the if sequence into a switch. llvm-svn: 83297 | ||||
| * | stop MachineFunctionPass from claiming that it preserves LoopDependence info, | Chris Lattner | 2009-10-05 | 1 | -2/+0 | 
| | | | | | | | which causes dependence info to be linked into lli. llvm-svn: 83289 | ||||
| * | Whitespace and formatting. | Jakob Stoklund Olesen | 2009-10-04 | 1 | -42/+16 | 
| | | | | | llvm-svn: 83285 | ||||
| * | Oops. Renamed remaining MachineInstrIndex references. | Lang Hames | 2009-10-03 | 6 | -21/+21 | 
| | | | | | llvm-svn: 83255 | ||||
| * | Renamed MachineInstrIndex to LiveIndex. | Lang Hames | 2009-10-03 | 10 | -264/+264 | 
| | | | | | llvm-svn: 83254 | ||||
| * | Fix a use-after-free in post-ra-scheduling. | Benjamin Kramer | 2009-10-02 | 1 | -1/+3 | 
| | | | | | | | | MI->addOperand invalidates references to it's operands, avoid touching the operand after a new one was added. llvm-svn: 83249 | ||||
| * | All callee-saved registers are live-out of a return block. | David Goodwin | 2009-10-01 | 1 | -18/+21 | 
| | | | | | llvm-svn: 83223 | ||||
| * | Remove neonfp attribute and instead set default based on CPU string. Add ↵ | David Goodwin | 2009-10-01 | 1 | -1/+1 | 
| | | | | | | | -arm-use-neon-fp to override the default. llvm-svn: 83218 | ||||
| * | Restore the -post-RA-scheduler flag as an override for the target ↵ | David Goodwin | 2009-10-01 | 1 | -5/+17 | 
| | | | | | | | specification. Remove -mattr for setting PostRAScheduler enable and instead use CPU string. llvm-svn: 83215 | ||||
| * | Add support to extract lexical scope information from DebugLoc attached with ↵ | Devang Patel | 2009-10-01 | 2 | -1/+143 | 
| | | | | | | | | | an machine instruction. This is not yet enabled. llvm-svn: 83210 | ||||
| * | Use MachineFrameInfo.getPristineRegs() to determine which callee-saved ↵ | David Goodwin | 2009-10-01 | 1 | -47/+30 | 
| | | | | | | | registers are available for anti-dependency breaking. Some cleanup. llvm-svn: 83208 | ||||
| * | Record first and last instruction of a scope in DbgScope. | Devang Patel | 2009-10-01 | 1 | -2/+8 | 
| | | | | | llvm-svn: 83207 | ||||
| * | Observe hasExtraSrcRegAllocReq and hasExtraDefRegAllocReq. Do not change | Evan Cheng | 2009-10-01 | 1 | -18/+55 | 
| | | | | | | | operands of instructions with these properties while breaking anti-dep. llvm-svn: 83198 | ||||
| * | Add another MDNode into DebugLocTuple. This will be used to keep track of ↵ | Devang Patel | 2009-10-01 | 1 | -1/+1 | 
| | | | | | | | inlined functions. llvm-svn: 83190 | ||||

