- Jul 20, 2010
-
-
Owen Anderson authored
llvm-svn: 108888
-
Chris Lattner authored
llvm-svn: 108887
-
Chris Lattner authored
llvm-svn: 108886
-
Owen Anderson authored
llvm-svn: 108885
-
Chris Lattner authored
like this: void *test(long N) { return new int[N][42][42]; } the loop generates two dead mul instructions: %tmp = load i64* %N.addr ; <i64> [#uses=2] %0 = mul i64 %tmp, 7056 ; <i64> [#uses=1] %1 = mul i64 %tmp, 42 ; <i64> [#uses=1] %2 = mul i64 %1, 42 ; <i64> [#uses=0] %call = call noalias i8* @_Znam(i64 %0) ; <i8*> [#uses=1] The scale of these multiplies is already handled by the typesize stuff. llvm-svn: 108884
-
Eric Christopher authored
llvm-svn: 108883
-
Chris Lattner authored
EmitCXXNewAllocSize. This code uses IRBuilder, which does constant folding already. llvm-svn: 108882
-
Stephen Wilson authored
llvm-svn: 108879
-
Stephen Wilson authored
llvm-svn: 108878
-
Owen Anderson authored
Convert the internal PassRegistrar class into a new, external PassRegistry class. No intended functionality change at this point. llvm-svn: 108877
-
Chris Lattner authored
llvm-svn: 108876
-
Chris Lattner authored
llvm-svn: 108875
-
Chris Lattner authored
llvm-svn: 108874
-
Chris Lattner authored
llvm-svn: 108873
-
Chris Lattner authored
llvm-svn: 108872
-
Greg Clayton authored
symbol table (from William Lynch). llvm-svn: 108871
-
Chris Lattner authored
llvm-svn: 108870
-
Chris Lattner authored
better in the llvm world. Among other things, this changes: 1. The guts of libedis are now moved into lib/MC/MCDisassembler 2. llvm-mc now depends on lib/MC/MCDisassembler, not tools/edis, so edis and mc don't have to be built in series. 3. lib/MC/MCDisassembler no longer depends on the C api, the C API depends on it. 4. Various code cleanup changes. There is still a lot to be done to make edis fit with the llvm design, but this is an incremental step in the right direction. llvm-svn: 108869
-
Gabor Greif authored
llvm-svn: 108868
-
Dan Gohman authored
use getIncomingValueForBlock instead of LoopInfo::getCanonicalInductionVariableIncrement. llvm-svn: 108865
-
Gabor Greif authored
llvm-svn: 108864
-
Dan Gohman authored
one loop is involved in the increment of an addrec for another loop. This fixes rdar://8168938. llvm-svn: 108863
-
Owen Anderson authored
Pull out r108755. After offline discussion with Chris, we're going to go a different direction with this. llvm-svn: 108856
-
Dan Gohman authored
llvm-svn: 108855
-
Gabor Greif authored
llvm-svn: 108854
-
Dan Gohman authored
find integer induction variables. llvm-svn: 108853
-
Dan Gohman authored
result is a PHINode*. llvm-svn: 108852
-
Gabor Greif authored
llvm-svn: 108851
-
Dan Gohman authored
that is needed here. llvm-svn: 108850
-
Gabor Greif authored
this is still minimal on purpose, but I plan to migrate the ugly hack under #ifdef DEBUG_CAST_OPERATORS into this file llvm-svn: 108849
-
Dan Gohman authored
llvm-svn: 108848
-
Jim Grosbach authored
ObjC ABI version 2 this time. llvm-svn: 108847
-
Jim Grosbach authored
llvm-svn: 108846
-
Jakob Stoklund Olesen authored
llvm-svn: 108845
-
Jim Grosbach authored
instruction selection to prefer it when possible. rdar://7903972 llvm-svn: 108844
-
Duncan Sands authored
llvm-svn: 108843
-
Jakob Stoklund Olesen authored
This is a work in progress. So far we have some basic loop analysis to help determine where it is useful to split a live range around a loop. The actual loop splitting code from Splitter.cpp is also going to move in here. llvm-svn: 108842
-
Jim Grosbach authored
llvm-svn: 108841
-
Benjamin Kramer authored
llvm-svn: 108840
-
Lang Hames authored
llvm-svn: 108839
-