- Apr 26, 2010
-
-
Bob Wilson authored
SSAUpdater. I'm going to try to refactor this to share most of the code between them. llvm-svn: 102353
-
Evan Cheng authored
llvm-svn: 102327
-
Evan Cheng authored
llvm-svn: 102326
-
Evan Cheng authored
llvm-svn: 102325
-
Evan Cheng authored
llvm-svn: 102324
-
Evan Cheng authored
- Move TargetLowering::EmitTargetCodeForFrameDebugValue to TargetInstrInfo and rename it to emitFrameIndexDebugValue. - Teach spiller to modify DBG_VALUE instructions to reference spill slots. llvm-svn: 102323
-
- Apr 25, 2010
-
-
Dale Johannesen authored
form of DEBUG_VALUE, as it doesn't have reasonable default behavior for unsupported targets. Add a new hook instead. No functional change. llvm-svn: 102320
-
Dale Johannesen authored
xs llvm-svn: 102316
-
Chris Lattner authored
preferred alignment unless they were common or some other special case. llvm-svn: 102300
-
Chris Lattner authored
llvm-svn: 102297
-
Chris Lattner authored
llvm-svn: 102296
-
- Apr 24, 2010
-
-
Evan Cheng authored
llvm-svn: 102237
-
Evan Cheng authored
When a load operand is promoted to an extload, replace other uses with uses of extload result truncated. llvm-svn: 102236
-
Dan Gohman authored
that indvars may use, now that indvars is recognizing le and ge loops. llvm-svn: 102235
-
Dan Gohman authored
Also, generalize ScalarEvolutions's min and max recognition to handle some new forms of min and max that this change makes more common. llvm-svn: 102234
-
Dan Gohman authored
llvm-svn: 102233
-
Dan Gohman authored
llvm-svn: 102232
-
Dan Gohman authored
refactored out of ScalarEvolution::isImpliedCond, which will be updated to use this new utility routine soon. llvm-svn: 102229
-
Dan Gohman authored
testcase yet, as the testcase now fails downstream. llvm-svn: 102228
-
- Apr 23, 2010
-
-
Chris Lattner authored
the worklist, making them inline candidates. llvm-svn: 102213
-
Dan Gohman authored
alignment to match what's used in clang and GCC for __alignof, rather than trying to guess what Legalize is going to be doing. llvm-svn: 102206
-
Evan Cheng authored
llvm-svn: 102202
-
Stuart Hastings authored
llvm-svn: 102199
-
Chris Lattner authored
This fixes a bug where calls inlined into an invoke would get changed into an invoke but the array would keep pointing to the (now dead) call. The improved inliner behavior is still disabled for now. llvm-svn: 102196
-
Chris Lattner authored
Add the instruction pointer value for debuggability. We now get dump output that looks like this: Call graph node for function: 'f1'<<0x1017086b0>> #uses=1 CS<0x1017046f8> calls external node Call graph node for function: '_ZNSt6vectorIdSaIdEEC1EmRKdRKS0_'<<0x1017086f0>> #uses=1 CS<0x0> calls external node Call graph node for function: 'f4'<<0x1017087a0>> #uses=1 CS<0x101708c88> calls function 'f3' llvm-svn: 102194
-
Evan Cheng authored
llvm-svn: 102192
-
Dan Gohman authored
itself too. llvm-svn: 102176
-
Dan Gohman authored
misses an opportunity to fold add operands, but folds them after LSR has separated them out. This fixes rdar://7886751. llvm-svn: 102157
-
Dan Gohman authored
use ScalarEvolutions "any" extend function. llvm-svn: 102156
-
Dan Gohman authored
because 102004 causes codegen to emit invalid assembly on at least x86_64-unknown-gnu-linux. llvm-svn: 102155
-
Chris Lattner authored
PR6888 with: $ llvm-as t.ll llvm-as: t.ll:2:29: error: expected metadata or 'align' store <3 x i32> %x, i32 1, i32 1>, <3 x i32>* %p ^ instead of: $ llvm-as t.ll llvm-as: llvm-svn: 102154
-
Chris Lattner authored
llvm-svn: 102153
-
Chris Lattner authored
that appear in the SCC as a result of inlining as candidates for inlining. Change this so that it *does* consider call sites that change from being indirect to being direct as a result of inlining. This allows it to completely "devirtualize" the testcase. llvm-svn: 102146
-
Jim Grosbach authored
extraction. This fixes PR5998. llvm-svn: 102144
-
Chris Lattner authored
arguments are handled with a new InlineFunctionInfo class. This makes it easier to extend InlineFunction to return more info in the future. llvm-svn: 102137
-
- Apr 22, 2010
-
-
Chris Lattner authored
define void @f3(void (i8*)* %__f) ssp { entry: call void %__f(i8* undef) unreachable } define void @f4(i8* %this) ssp align 2 { entry: call void @f3(void (i8*)* @f2) ssp ret void } The inliner is turning the indirect call to %__f into a direct call to F2. Make the call graph more precise when this happens. The inliner doesn't revisit call sites introduced by inlining, so there isn't an easy way to test for this, but a more precise callgraph is a good thing. llvm-svn: 102131
-
Devang Patel authored
llvm-svn: 102129
-
Dan Gohman authored
into SelectionDAGBuilder itself. llvm-svn: 102128
-
Devang Patel authored
llvm-svn: 102127
-
Dan Gohman authored
and into SelectionDAGBuilder and FastISel. llvm-svn: 102123
-