| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | SelectionDAG shouldn't have a FunctionLoweringInfo member. RegsForValue | Dan Gohman | 2010-05-29 | 1 | -2/+2 | |
| | | | | | | | | shouldn't have a TargetLoweringInfo member. And FunctionLoweringInfo::set doesn't needs its EnableFastISel argument. llvm-svn: 105101 | |||||
| * | Add FIXME comment to remove this. | Bill Wendling | 2010-05-26 | 1 | -0/+2 | |
| | | | | | llvm-svn: 104749 | |||||
| * | Add "setjmp_syscall", "savectx", "qsetjmp", "vfork", "getcontext" to the list of | Bill Wendling | 2010-05-26 | 1 | -21/+24 | |
| | | | | | | | usual suspects that could "return twice". llvm-svn: 104737 | |||||
| * | Update debug info when live-in reg is copied into a vreg. | Devang Patel | 2010-05-26 | 1 | -0/+22 | |
| | | | | | llvm-svn: 104732 | |||||
| * | Move the check for "calls setjmp" to SelectionDAGISel so that it can be used by | Bill Wendling | 2010-05-26 | 1 | -0/+32 | |
| | | | | | | | more than just the stack slot coloring algorithm. llvm-svn: 104722 | |||||
| * | Temporarily revert r104655 as it's breaking the bots. | Eric Christopher | 2010-05-26 | 1 | -34/+0 | |
| | | | | | llvm-svn: 104664 | |||||
| * | Dale and Evan suggested putting the "check for setjmp" much earlier in the | Bill Wendling | 2010-05-26 | 1 | -0/+34 | |
| | | | | | | | machine code generation. That's a good idea, so I made it so. llvm-svn: 104655 | |||||
| * | Add a hybrid bottom up scheduler that reduce register usage while avoiding | Evan Cheng | 2010-05-20 | 1 | -2/+4 | |
| | | | | | | | | | | pipeline stall. It's useful for targets like ARM cortex-a8. NEON has a lot of long latency instructions so a strict register pressure reduction scheduler does not work well. Early experiments show this speeds up some NEON loops by over 30%. llvm-svn: 104216 | |||||
| * | Code refactoring: pull SchedPreference enum from TargetLowering.h to ↵ | Evan Cheng | 2010-05-19 | 1 | -3/+3 | |
| | | | | | | | TargetMachine.h and put it in its own namespace. llvm-svn: 104147 | |||||
| * | - Set the "HasCalls" flag after instruction selection is finished. | Bill Wendling | 2010-05-17 | 1 | -13/+19 | |
| | | | | | | | | - Change the logic DisableFramePointerElim() to check for the -disable-non-leaf-fp-elim before -disable-fp-elim. llvm-svn: 103990 | |||||
| * | Rename "HasCalls" in MachineFrameInfo to "AdjustsStack" to better describe what | Bill Wendling | 2010-05-14 | 1 | -0/+14 | |
| | | | | | | | | | | the variable actually tracks. N.B., several back-ends are using "HasCalls" as being synonymous for something that adjusts the stack. This isn't 100% correct and should be looked into. llvm-svn: 103802 | |||||
| * | Instruction selection optimizations may have moved the def of a function ↵ | Evan Cheng | 2010-05-04 | 1 | -1/+2 | |
| | | | | | | | argument out of the entry block. rdar://7937489 llvm-svn: 102993 | |||||
| * | Remove the code for special-casing byval for fast-isel. SelectionDAG | Dan Gohman | 2010-05-01 | 1 | -18/+2 | |
| | | | | | | | | handles argument lowering anyway, so there's no need for special casing here. llvm-svn: 102828 | |||||
| * | Fix whitespace. | Dan Gohman | 2010-05-01 | 1 | -1/+1 | |
| | | | | | llvm-svn: 102817 | |||||
| * | Reorgnaize more switch code lowering to clean up some tricky | Dan Gohman | 2010-05-01 | 1 | -21/+22 | |
| | | | | | | | | | | | | code, and to eliminate the need for the SelectionDAGBuilder state to be live during CodeGenAndEmitDAG calls. Call SDB->clear() before CodeGenAndEmitDAG calls instead of before it, and move the CurDAG->clear() out of SelectionDAGBuilder, which doesn't own the DAG, and into CodeGenAndEmitDAG. llvm-svn: 102814 | |||||
| * | Get rid of the EdgeMapping map. Instead, just check for BasicBlock | Dan Gohman | 2010-05-01 | 1 | -14/+6 | |
| | | | | | | | changes before doing phi lowering for switches. llvm-svn: 102809 | |||||
| * | Remove this debug output. The MachineFunction will be printed once all of | Dan Gohman | 2010-04-30 | 1 | -3/+0 | |
| | | | | | | | | instruction selection is done; it's confusing to see parts of it printed, while other parts are omitted, along the way. llvm-svn: 102771 | |||||
| * | Re-enable 102565 with fixes. | Evan Cheng | 2010-04-29 | 1 | -5/+1 | |
| | | | | | llvm-svn: 102602 | |||||
| * | Temporarily disable my changes to unbreak the build. | Evan Cheng | 2010-04-29 | 1 | -0/+4 | |
| | | | | | llvm-svn: 102590 | |||||
| * | Avoid emitting a dbg_value machineinstr that's not going to be inserted into ↵ | Evan Cheng | 2010-04-29 | 1 | -2/+0 | |
| | | | | | | | entry block. llvm-svn: 102581 | |||||
| * | Check Reg against zero. | Evan Cheng | 2010-04-29 | 1 | -0/+2 | |
| | | | | | llvm-svn: 102573 | |||||
| * | Replace r102368 with code that's less fragile. This creates DBG_VALUE ↵ | Evan Cheng | 2010-04-28 | 1 | -5/+19 | |
| | | | | | | | instructions for function arguments early and insert them after instruction selection is done. llvm-svn: 102554 | |||||
| * | Move FastISel's HandlePHINodesInSuccessorBlocks call down into FastISel | Dan Gohman | 2010-04-23 | 1 | -14/+0 | |
| | | | | | | | itself too. llvm-svn: 102176 | |||||
| * | Sink SelectionDAGBuilder's HandlePHINodesInSuccessorBlocks down | Dan Gohman | 2010-04-22 | 1 | -13/+1 | |
| | | | | | | | into SelectionDAGBuilder itself. llvm-svn: 102128 | |||||
| * | Move HandlePHINodesInSuccessorBlocks functions out of SelectionDAGISel | Dan Gohman | 2010-04-22 | 1 | -3/+4 | |
| | | | | | | | and into SelectionDAGBuilder and FastISel. llvm-svn: 102123 | |||||
| * | Move PHINodesToUpdate out of SelectionDAGBuilder and into | Dan Gohman | 2010-04-22 | 1 | -27/+32 | |
| | | | | | | | | | | FunctionLoweringInfo, as it isn't SelectionDAG-specific. This isn't completely natural, as PHI node state is not per-function but rather per-basic-block, however there's currently no other convenient per-basic-block state to group it with. llvm-svn: 102109 | |||||
| * | Add more const qualifiers on TargetMachine and friends. | Dan Gohman | 2010-04-21 | 1 | -1/+1 | |
| | | | | | llvm-svn: 101977 | |||||
| * | Sink the CopyToExportRegsIfNeeded calls out of SelectionDAGISel | Dan Gohman | 2010-04-20 | 1 | -6/+0 | |
| | | | | | | | | | into SelectionDAGBuilder. This avoids a separate pass over the instructions, and has the side effect of providing debug location information to the copy. llvm-svn: 101906 | |||||
| * | Don't send PHI nodes down to SelectionDAGBuilder of FastISel, since | Dan Gohman | 2010-04-20 | 1 | -1/+1 | |
| | | | | | | | they end up doing nothing. llvm-svn: 101904 | |||||
| * | Remove this debug output; it isn't that useful, and it's incomplete | Dan Gohman | 2010-04-20 | 1 | -2/+0 | |
| | | | | | | | in the case where a basic block is split. llvm-svn: 101850 | |||||
| * | Sink DebugLoc handling out of SelectionDAGISel into FastISel and | Dan Gohman | 2010-04-20 | 1 | -36/+2 | |
| | | | | | | | SelectionDAGBuilder, where it doesn't have to be as complicated. llvm-svn: 101848 | |||||
| * | Remove MachineFunction's DefaultDebugLoc member, and make DwarfDebug.cpp | Dan Gohman | 2010-04-20 | 1 | -5/+0 | |
| | | | | | | | responsible for figuring out what that's supposed to be on its own. llvm-svn: 101844 | |||||
| * | Reapply the removal of SelectionDAGISel's BB, with a fix for the case | Dan Gohman | 2010-04-20 | 1 | -17/+21 | |
| | | | | | | | | where multiple blocks are emitted; functions which do this need to return the new BB so that their callers can stay current. llvm-svn: 101843 | |||||
| * | Revert 101825, which is causing trouble. | Dan Gohman | 2010-04-19 | 1 | -15/+14 | |
| | | | | | llvm-svn: 101832 | |||||
| * | Eliminate SelectionDAGISel's "current block" member. Just pass it as | Dan Gohman | 2010-04-19 | 1 | -14/+15 | |
| | | | | | | | an argument to things that need it. llvm-svn: 101825 | |||||
| * | Eliminate the CurMBB member from SelectionDAGBuilder. For places that | Dan Gohman | 2010-04-19 | 1 | -12/+8 | |
| | | | | | | | | need it, just pass around the parent block of the current instruction explicitly. llvm-svn: 101822 | |||||
| * | Give SelectionDAG a TargetMachine too, rather than having it | Dan Gohman | 2010-04-19 | 1 | -1/+1 | |
| | | | | | | | fetch one from the MachineFunction. llvm-svn: 101807 | |||||
| * | Code that needs a TargetMachine should have access to one directly, rather | Dan Gohman | 2010-04-19 | 1 | -3/+2 | |
| | | | | | | | than just getting one through a TargetLowering. llvm-svn: 101802 | |||||
| * | Use const qualifiers with TargetLowering. This eliminates several | Dan Gohman | 2010-04-17 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | const_casts, and it reinforces the design of the Target classes being immutable. SelectionDAGISel::IsLegalToFold is now a static member function, because PIC16 uses it in an unconventional way. There is more room for API cleanup here. And PIC16's AsmPrinter no longer uses TargetLowering. llvm-svn: 101635 | |||||
| * | More work to allow dag combiner to promote 16-bit ops to 32-bit. | Evan Cheng | 2010-04-17 | 1 | -1/+1 | |
| | | | | | llvm-svn: 101621 | |||||
| * | Avoid creating virtual registers for unused values. | Dan Gohman | 2010-04-16 | 1 | -1/+1 | |
| | | | | | llvm-svn: 101480 | |||||
| * | Fix a comment. | Dan Gohman | 2010-04-16 | 1 | -1/+1 | |
| | | | | | llvm-svn: 101477 | |||||
| * | Refine further the scope where the global DebugLoc value is active. | Dan Gohman | 2010-04-16 | 1 | -7/+5 | |
| | | | | | llvm-svn: 101443 | |||||
| * | Fix a bunch of namespace polution. | Dan Gohman | 2010-04-15 | 1 | -0/+3 | |
| | | | | | llvm-svn: 101376 | |||||
| * | Add more const qualifiers for LLVM IR pointers in CodeGen. | Dan Gohman | 2010-04-15 | 1 | -1/+1 | |
| | | | | | llvm-svn: 101342 | |||||
| * | Add const qualifiers to CodeGen's use of LLVM IR constructs. | Dan Gohman | 2010-04-15 | 1 | -13/+14 | |
| | | | | | llvm-svn: 101334 | |||||
| * | Delete unused arguments. | Dan Gohman | 2010-04-14 | 1 | -6/+4 | |
| | | | | | llvm-svn: 101275 | |||||
| * | Factor out EH landing pad code into a separate function, and constify | Dan Gohman | 2010-04-14 | 1 | -41/+48 | |
| | | | | | | | a bunch of stuff to support it. llvm-svn: 101273 | |||||
| * | Reset the debug location even if the instruction was a terminator. | Dan Gohman | 2010-04-14 | 1 | -5/+3 | |
| | | | | | llvm-svn: 101272 | |||||
| * | Delete an unused function. | Dan Gohman | 2010-04-14 | 1 | -4/+0 | |
| | | | | | llvm-svn: 101263 | |||||

