- Feb 03, 2007
-
-
Chris Lattner authored
speeds up the inliner 16%. llvm-svn: 33801
-
- Jan 31, 2007
-
-
Chris Lattner authored
llvm-svn: 33680
-
- Jan 19, 2007
-
-
Reid Spencer authored
This is the final patch for this PR. It implements some minor cleanup in the use of IntegerType, to wit: 1. Type::getIntegerTypeMask -> IntegerType::getBitMask 2. Type::Int*Ty changed to IntegerType* from Type* 3. ConstantInt::getType() returns IntegerType* now, not Type* This also fixes PR1120. Patch by Sheng Zhou. llvm-svn: 33370
-
- Jan 13, 2007
-
-
Chris Lattner authored
llvm-svn: 33164
-
- Jan 12, 2007
-
-
Reid Spencer authored
recommended that getBoolValue be replaced with getZExtValue and that get(bool) be replaced by get(const Type*, uint64_t). This implements those changes. llvm-svn: 33110
-
- Jan 11, 2007
-
-
Reid Spencer authored
llvm-svn: 33076
-
Zhou Sheng authored
Merge ConstantIntegral and ConstantBool into ConstantInt. Remove ConstantIntegral and ConstantBool from LLVM. llvm-svn: 33073
-
- Dec 23, 2006
-
-
Reid Spencer authored
This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been removed and been replaced with ICmpInst and FCmpInst. llvm-svn: 32751
-
- Dec 19, 2006
-
-
Chris Lattner authored
converted, we lose a static initializer. This also allows GCC to emit warnings about unused statistics. llvm-svn: 32690
-
- Dec 06, 2006
-
-
Chris Lattner authored
is 'unsigned'. llvm-svn: 32279
-
- Nov 26, 2006
-
-
Bill Wendling authored
llvm-svn: 31923
-
- Nov 02, 2006
-
-
Reid Spencer authored
Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. llvm-svn: 31380
-
- Sep 29, 2006
-
-
Chris Lattner authored
Eliminate ConstantBool::True and ConstantBool::False. Instead, provide ConstantBool::getTrue() and ConstantBool::getFalse(). llvm-svn: 30665
-
- Aug 30, 2006
-
-
Devang Patel authored
exit blocks. The output is dependent on addresses of basic block. Add and use Loop::getUniqueExitBlocks. llvm-svn: 29966
-
- Aug 28, 2006
-
-
Chris Lattner authored
llvm-svn: 29925
-
- Jul 19, 2006
-
-
Owen Anderson authored
somewhere down the road. llvm-svn: 29197
-
- Jun 28, 2006
-
-
Owen Anderson authored
will be profitable. This is mainly to remove some cases where excessive unswitching would result in long compile times and/or huge generated code. Once someone comes up with a better heuristic that avoids these cases, this should be switched out. llvm-svn: 28962
-
Chris Lattner authored
blocks. llvm-svn: 28959
-
Owen Anderson authored
Be more careful when updating Phi nodes after eliminating dead switch cases. Fix proposed by Chris. llvm-svn: 28947
-
- Jun 26, 2006
-
-
Owen Anderson authored
of LCSSA. This results several times the number of unswitchings occurring on tests such and timberwolfmc, unix-tbl, and ldecod. llvm-svn: 28912
-
- Jun 14, 2006
-
-
Chris Lattner authored
bug exposed by the recent lcssa work. llvm-svn: 28779
-
- Jun 12, 2006
-
-
Owen Anderson authored
llvm-svn: 28759
-
- Jun 11, 2006
-
-
Evan Cheng authored
Back out Owen's 6/9 changes. They broke MultiSource/Benchmarks/Prolangs-C/bison (and perhaps others). llvm-svn: 28747
-
- Jun 09, 2006
-
-
Owen Anderson authored
LCSSA. llvm-svn: 28739
-
- Mar 24, 2006
-
-
Chris Lattner authored
llvm-svn: 27051
-
- Feb 23, 2006
-
-
Chris Lattner authored
caused SPASS to fail building last night. We can't trivially unswitch a loop if the exit block has phi nodes in it, because we don't know which predecessor to use. llvm-svn: 26320
-
- Feb 22, 2006
-
-
Chris Lattner authored
to rewrite with the wrong value. llvm-svn: 26311
-
- Feb 18, 2006
-
-
Chris Lattner authored
llvm-svn: 26289
-
Chris Lattner authored
llvm-svn: 26285
-
Chris Lattner authored
Thanks to nate for pointing this out :) llvm-svn: 26280
-
Chris Lattner authored
llvm-svn: 26279
-
Chris Lattner authored
the right loop. llvm-svn: 26277
-
- Feb 17, 2006
-
-
Chris Lattner authored
llvm-svn: 26258
-
Chris Lattner authored
risk :) llvm-svn: 26248
-
- Feb 16, 2006
-
-
Chris Lattner authored
Change SplitBlock to increment a BasicBlock::iterator, not an Instruction*. Apparently they do different things :) This fixes a testcase that nate reduced from spass. Also included are a couple minor code changes that don't affect the generated code at all. llvm-svn: 26235
-
Jeff Cohen authored
llvm-svn: 26228
-
Chris Lattner authored
llvm-svn: 26225
-
- Feb 15, 2006
-
-
Chris Lattner authored
unswitch this loop on 2 before sweating to unswitch on 1/3. void test4(int N, int i, int C, int*P, int*Q) { int j; for (j = 0; j < N; ++j) { switch (C) { // general unswitching. default: P[i+j] = 0; break; case 1: Q[i+j] = 0; break; case 3: P[i+j] = Q[i+j]; break; case 2: break; // TRIVIAL UNSWITCH on C==2 } } } llvm-svn: 26223
-
Chris Lattner authored
this for example: for (j = 0; j < N; ++j) { // trivial unswitch if (C) P[i+j] = 0; } turning it into the obvious code without bothering to duplicate an empty loop. llvm-svn: 26220
-
Chris Lattner authored
Y = seteq bool X, true instead of just using X :) llvm-svn: 26215
-