- Jul 31, 2002
-
-
Vikram S. Adve authored
llvm-svn: 3173
-
Vikram S. Adve authored
llvm-svn: 3172
-
Vikram S. Adve authored
Also, we now use a separate globals graph to hold externally visible nodes. This changes both the bottom-up and top-down propagation so that globals and other external objects do not have to appear in every function, but only in functions in which they are referenced or they can be used to access something else that is referenced. llvm-svn: 3171
-
Vikram S. Adve authored
This changes both the bottom-up and top-down propagation so that globals and other external objects do not have to appear in every function, but only in functions in which they are referenced or they can be used to access something else that is referenced. llvm-svn: 3170
-
- Jul 30, 2002
-
-
Chris Lattner authored
print out the command line options for the optimizations it is running. llvm-svn: 3165
-
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
Cleanup ConstantExpr handling: * 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: 3161
-
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
llvm-svn: 3157
-
Chris Lattner authored
* Implement stuff so that code can declare that they only depend on the CFG of a function, not on anything else. This speeds up GCCAS a lot. llvm-svn: 3155
-
Chris Lattner authored
Implement constant propogation of logical (and, or, xor) expressions. Fixes testcase: test/Regression/Transforms/ConstProp/logicaltest.ll llvm-svn: 3154
-
Chris Lattner authored
is platform independant afterall. * Object orientize the functions, cleanup code a bit. Instead of static global functions, the helpers for instruction selection are now part of the InstructionSelection Pass class. llvm-svn: 3147
-
Chris Lattner authored
shared by backends. llvm-svn: 3146
-
Chris Lattner authored
llvm-svn: 3143
-
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
-
Chris Lattner authored
* Eliminate the Provided set. All Passes now finally just automatically provide themselves. llvm-svn: 3125
-
Chris Lattner authored
provide themselves. llvm-svn: 3124
-
Chris Lattner authored
* getPassName uses PassInfo if it's available * PassInfo is now cached in the pass so that it is only looked up once, maximum llvm-svn: 3123
-
Chris Lattner authored
the map was freed. * Cleanup code a bit llvm-svn: 3121
-
- Jul 27, 2002
-
-
Chris Lattner authored
llvm-svn: 3117
-
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
test/Regression/Assembler/2002-07-25-ReturnPtrFunction.llx llvm-svn: 3103
-
Chris Lattner authored
test/Regression/Assembler/2002-07-25-ParserAssertionFailure.llx llvm-svn: 3101
-
Chris Lattner authored
llvm-svn: 3099
-
Chris Lattner authored
llvm-svn: 3097
-
Chris Lattner authored
llvm-svn: 3094
-
Chris Lattner authored
llvm-svn: 3091
-
Mehwish Nagda authored
llvm-svn: 3090
-
Mehwish Nagda authored
llvm-svn: 3089
-