- Aug 14, 2002
-
-
Chris Lattner authored
llvm-svn: 3323
-
Chris Lattner authored
llvm-svn: 3322
-
Chris Lattner authored
llvm-svn: 3318
-
Chris Lattner authored
- Fixed testcases to not use them either. llvm-svn: 3315
-
- Aug 13, 2002
-
-
Chris Lattner authored
llvm-svn: 3300
-
- Aug 12, 2002
-
-
Chris Lattner authored
* Move isMaxValue, isMinValue, isAllOnesValue to Constants.h llvm-svn: 3290
-
- Aug 10, 2002
-
-
Chris Lattner authored
* New ReplaceInstUsesWith function to factor out tons of common code This needs to be used more in the future still, but it's a good start * New InsertNewInstBefore to allow multi-instruction replacements * Change getMaxValue functions to isAllOnesValue function, which doesn't have to CREATE/lookup a new constant. Also the name is accurate * Add new isMaxValue, isMinValue, isMaxValueMinusOne, isMinValuePlusOne functions: This should be moved to Constant* classes eventually * Implement xor X, ALLONES -> not X * Fold ALL setcc's of booleans away * Handle various SetCC's for integers against values at the end of their ranges, possibly off by one. This implements the setcc-strength-reduce.ll testcase. llvm-svn: 3286
-
- Aug 08, 2002
-
-
Chris Lattner authored
- Cleaned up the interface to AnalysisUsage to take analysis class names instead of ::ID's. - Pass::getAnalysis<> now no longer takes an optional argument llvm-svn: 3265
-
Chris Lattner authored
llvm-svn: 3262
-
- Aug 03, 2002
-
-
Vikram S. Adve authored
Don't decompose if there are 2 indices with 0 as first index. Compute Changed flag correctly in runOnBasicBlock(). llvm-svn: 3233
-
- Aug 02, 2002
-
-
Chris Lattner authored
Implement feature: Cast's can now be converted to bitwise AND expressions. llvm-svn: 3225
-
Chris Lattner authored
- Reenable gep (gep x) -> x - Make instcombine do dead instruction elimination where it's really easy. Now visitors don't have to ensure they aren't not processing dead instructions. llvm-svn: 3222
-
Chris Lattner authored
llvm-svn: 3215
-
- Jul 30, 2002
-
-
Chris Lattner authored
which was caused by us not running the "drop references of dead instructions" code when there were no basic blocks that were dead. We still don't want to do some of the stuff we do if there are dead basic blocks, but we DO want to drop references of dead instructions, so we factor the common code out to a new method. llvm-svn: 3137
-
Chris Lattner authored
arguments dropped. This fixes bug: test/Regression/Transforms/ADCE/2002-07-17-PHIAssertion.ll llvm-svn: 3134
-
Chris Lattner authored
llvm-svn: 3129
-
- Jul 27, 2002
-
-
Chris Lattner authored
methods * Eliminate AnalysisID: Now it is just a typedef for const PassInfo* * Simplify how AnalysisID's are initialized * Eliminate Analysis/Writer.cpp/.h: incorporate printing functionality into the analyses themselves. llvm-svn: 3116
-
- Jul 26, 2002
-
-
Chris Lattner authored
* Add support for different "PassType's" * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Add support for different "PassType's" * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Remove getPassName implementations from various subclasses llvm-svn: 3113
-
Chris Lattner authored
llvm-svn: 3105
-
- Jul 25, 2002
-
-
Chris Lattner authored
llvm-svn: 3075
-
- Jul 24, 2002
-
-
Chris Lattner authored
llvm-svn: 3038
-
- Jul 23, 2002
-
-
Chris Lattner authored
llvm-svn: 3016
-
Chris Lattner authored
* Register all Passes llvm-svn: 3015
-
Chris Lattner authored
llvm-svn: 3002
-
- Jul 11, 2002
-
-
Chris Lattner authored
llvm-svn: 2870
-
- Jun 30, 2002
-
-
Chris Lattner authored
llvm-svn: 2813
-
- Jun 25, 2002
-
-
Anand Shukla authored
llvm-svn: 2792
-
Chris Lattner authored
For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779
-
- May 28, 2002
-
-
Chris Lattner authored
their references. This fixes bug: test/Regression/Transforms/ADCE/2002-05-28-Crash*.ll llvm-svn: 2753
-
- May 26, 2002
-
-
Chris Lattner authored
llvm-svn: 2749
-
- May 23, 2002
-
-
Chris Lattner authored
llvm-svn: 2734
-
- May 22, 2002
-
-
Chris Lattner authored
llvm-svn: 2720
-
Chris Lattner authored
llvm-svn: 2713
-
Chris Lattner authored
Improperly handling edges... by not marking them alive properly llvm-svn: 2707
-
- May 21, 2002
-
-
Chris Lattner authored
llvm-svn: 2700
-
- May 20, 2002
-
-
Chris Lattner authored
That was causing a miscompilation of strtol/atoi plus others llvm-svn: 2669
-
- May 16, 2002
-
-
Chris Lattner authored
* Add optimization to rank computation to not recursively search when unneccesary. * More agressively negate expressions to open reassociation opportunities. * Linearize (A+B)+(C+D) into ((A+B)+C)+D llvm-svn: 2637
-
- May 14, 2002
-
-
Chris Lattner authored
By making sure to consider binary expressions identical if their operands are backwards, but swappable. llvm-svn: 2629
-
Chris Lattner authored
llvm-svn: 2627
-
Chris Lattner authored
"This testcase caused instcombine to fail because it got the same instruction on it's worklist more than once (which is ok), but then deleted the instruction. Since the inst stayed on the worklist, as soon as it came back up to be processed, bad things happened, and opt asserted." llvm-svn: 2623
-