#
5d059718 |
| 01-May-2010 |
Dan Gohman <gohman@apple.com> |
Reorgnaize more switch code lowering to clean up some tricky code, and to eliminate the need for the SelectionDAGBuilder state to be live during CodeGenAndEmitDAG calls.
Call SDB->clear() before Cod
Reorgnaize more switch code lowering to clean up some tricky 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
show more ...
|
#
f0514717 |
| 01-May-2010 |
Dan Gohman <gohman@apple.com> |
Delete the EdgeMapping variable itself.
llvm-svn: 102810
|
#
0395553e |
| 29-Apr-2010 |
Devang Patel <dpatel@apple.com> |
Refactor.
llvm-svn: 102661
|
#
a46953d2 |
| 29-Apr-2010 |
Devang Patel <dpatel@apple.com> |
DO not push DBG_VALUE machine instructions for inlined fuction arguments in entry block.
llvm-svn: 102653
|
#
923679f9 |
| 29-Apr-2010 |
Evan Cheng <evan.cheng@apple.com> |
Re-enable 102565 with fixes.
llvm-svn: 102602
|
#
d65a1e78 |
| 29-Apr-2010 |
Evan Cheng <evan.cheng@apple.com> |
Temporarily disable my changes to unbreak the build.
llvm-svn: 102590
|
#
5fb45a2b |
| 29-Apr-2010 |
Evan Cheng <evan.cheng@apple.com> |
Do not generate duplicate dbg_value instructions for function arguments.
llvm-svn: 102585
|
#
70a0145d |
| 29-Apr-2010 |
Evan Cheng <evan.cheng@apple.com> |
Avoid emitting a dbg_value machineinstr that's not going to be inserted into entry block.
llvm-svn: 102581
|
#
f4336ebb |
| 29-Apr-2010 |
Evan Cheng <evan.cheng@apple.com> |
Check Reg against zero.
llvm-svn: 102573
|
#
bb728e17 |
| 28-Apr-2010 |
Devang Patel <dpatel@apple.com> |
tidy up.
llvm-svn: 102558
|
#
6e822459 |
| 28-Apr-2010 |
Evan Cheng <evan.cheng@apple.com> |
Replace r102368 with code that's less fragile. This creates DBG_VALUE instructions for function arguments early and insert them after instruction selection is done.
llvm-svn: 102554
|
#
1a0bbe25 |
| 27-Apr-2010 |
Devang Patel <dpatel@apple.com> |
Ignore DBG_VALUE instructions that points to undef values.
llvm-svn: 102463
|
Revision tags: llvmorg-2.7.0 |
|
#
eb61a7d6 |
| 27-Apr-2010 |
Dale Johannesen <dalej@apple.com> |
Revert a small part of 102372; this fixes at least one of the dbg testsuite regressions. I don't think this is really the right fix; this change exposed an existing problem upstream somewhere.
llvm
Revert a small part of 102372; this fixes at least one of the dbg testsuite regressions. I don't think this is really the right fix; this change exposed an existing problem upstream somewhere.
llvm-svn: 102410
show more ...
|
#
59a43856 |
| 26-Apr-2010 |
Dale Johannesen <dalej@apple.com> |
Remove crufty comments.
llvm-svn: 102380
|
#
e098352e |
| 26-Apr-2010 |
Dale Johannesen <dalej@apple.com> |
Add DBG_VALUE handling for byval parameters; this produces a comment on targets that support it, but the Dwarf writer is not hooked up yet.
llvm-svn: 102372
|
#
5b43aa0d |
| 22-Apr-2010 |
Dan Gohman <gohman@apple.com> |
Sink SelectionDAGBuilder's HandlePHINodesInSuccessorBlocks down into SelectionDAGBuilder itself.
llvm-svn: 102128
|
#
c594eab1 |
| 22-Apr-2010 |
Dan Gohman <gohman@apple.com> |
Move HandlePHINodesInSuccessorBlocks functions out of SelectionDAGISel and into SelectionDAGBuilder and FastISel.
llvm-svn: 102123
|
#
fd812541 |
| 22-Apr-2010 |
Dan Gohman <gohman@apple.com> |
Move PHINodesToUpdate out of SelectionDAGBuilder and into FunctionLoweringInfo, as it isn't SelectionDAG-specific. This isn't completely natural, as PHI node state is not per-function but rather per-
Move PHINodesToUpdate out of SelectionDAGBuilder and into 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
show more ...
|
#
450aa64f |
| 21-Apr-2010 |
Dan Gohman <gohman@apple.com> |
Move several SelectionDAG-independent utility functions out of the SelectionDAG directory and into a new Analysis.cpp file.
llvm-svn: 101975
|
#
950fe784 |
| 20-Apr-2010 |
Dan Gohman <gohman@apple.com> |
Sink the CopyToExportRegsIfNeeded calls out of SelectionDAGISel into SelectionDAGBuilder. This avoids a separate pass over the instructions, and has the side effect of providing debug location inform
Sink the CopyToExportRegsIfNeeded calls out of SelectionDAGISel 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
show more ...
|
#
f41ad478 |
| 20-Apr-2010 |
Dan Gohman <gohman@apple.com> |
Don't send PHI nodes down to SelectionDAGBuilder of FastISel, since they end up doing nothing.
llvm-svn: 101904
|
#
e450d744 |
| 20-Apr-2010 |
Dan Gohman <gohman@apple.com> |
Sink DebugLoc handling out of SelectionDAGISel into FastISel and SelectionDAGBuilder, where it doesn't have to be as complicated.
llvm-svn: 101848
|
#
7c0303a0 |
| 19-Apr-2010 |
Dan Gohman <gohman@apple.com> |
Eliminate the CurMBB member from SelectionDAGBuilder. For places that need it, just pass around the parent block of the current instruction explicitly.
llvm-svn: 101822
|
#
c334960f |
| 19-Apr-2010 |
Dan Gohman <gohman@apple.com> |
Code that needs a TargetMachine should have access to one directly, rather than just getting one through a TargetLowering.
llvm-svn: 101802
|
#
a91754da |
| 19-Apr-2010 |
Dan Gohman <gohman@apple.com> |
Move isInTailCallPosition out of SelectionDAGBuilder, as it isn't SelectionDAG-specific.
llvm-svn: 101801
|