- 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
-
Chris Lattner authored
llvm-svn: 3313
-
- 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
llvm-svn: 3266
-
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
instead of ::ID's. - Pass::getAnalysis<> now no longer takes an optional argument llvm-svn: 3264
-
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
-
- Aug 01, 2002
-
-
Chris Lattner authored
llvm-svn: 3200
-
Chris Lattner authored
This fixes bug: test/Regression/Transforms/LevelRaise/2002-07-31-AssertionFailure.ll llvm-svn: 3193
-
- Jul 30, 2002
-
-
Chris Lattner authored
* Internalize global variables with initializers * Add new stat to track global variable internalization * Only count functions that were not internal before in internalized function count llvm-svn: 3163
-
Chris Lattner authored
* Correctly delete TypeHandles in AsmParser. In addition to not leaking memory, this prevents a bug that could have occurred when a type got resolved that the constexpr was using * Check for errors in the AsmParser instead of hitting assertion failures deep in the code * Simplify the interface to the ConstantExpr class, removing unneccesary parameters to the ::get* methods. * Rename the 'getelementptr' version of ConstantExpr::get to ConstantExpr::getGetElementPtr llvm-svn: 3160
-
Chris Lattner authored
llvm-svn: 3158
-
Chris Lattner authored
attempted to assign it a name. llvm-svn: 3142
-
Chris Lattner authored
old call instruction * Implement conversion of return values for calls. This fixes bug: test/Regression/Transforms/FunctionResolve/retmismatch3.ll llvm-svn: 3140
-
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
Implement a new RemoveSuccessor function llvm-svn: 3131
-
Chris Lattner authored
llvm-svn: 3129
-
- Jul 29, 2002
-
-
Chris Lattner authored
test/Regression/Transforms/SimplifyCFG/2002-06-24-PHINode.ll llvm-svn: 3128
-
- 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
-
Chris Lattner authored
* Standardize how analysis results/passes as printed with the print() virtual 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: 3115
-
- 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
* 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: 3112
-
Chris Lattner authored
llvm-svn: 3105
-
- Jul 25, 2002
-
-
Chris Lattner authored
llvm-svn: 3075
-
Chris Lattner authored
llvm-svn: 3072
-
- Jul 24, 2002
-
-
Chris Lattner authored
llvm-svn: 3043
-
Chris Lattner authored
llvm-svn: 3038
-
Chris Lattner authored
llvm-svn: 3037
-
Chris Lattner authored
llvm-svn: 3036
-
- Jul 23, 2002
-
-
Chris Lattner authored
llvm-svn: 3035
-