| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
| |
llvm-svn: 3158
|
| |
|
|
|
|
| |
attempted to assign it a name.
llvm-svn: 3142
|
| |
|
|
|
|
|
|
| |
old call instruction
* Implement conversion of return values for calls. This fixes bug:
test/Regression/Transforms/FunctionResolve/retmismatch3.ll
llvm-svn: 3140
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
arguments dropped. This fixes bug:
test/Regression/Transforms/ADCE/2002-07-17-PHIAssertion.ll
llvm-svn: 3134
|
| |
|
|
| |
llvm-svn: 3131
|
| |
|
|
| |
llvm-svn: 3129
|
| |
|
|
|
|
| |
test/Regression/Transforms/SimplifyCFG/2002-06-24-PHINode.ll
llvm-svn: 3128
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
| |
llvm-svn: 3105
|
| |
|
|
| |
llvm-svn: 3075
|
| |
|
|
| |
llvm-svn: 3072
|
| |
|
|
|
|
| |
contents into IPO.h
llvm-svn: 3043
|
| |
|
|
| |
llvm-svn: 3038
|
| |
|
|
| |
llvm-svn: 3037
|
| |
|
|
| |
llvm-svn: 3036
|
| |
|
|
| |
llvm-svn: 3035
|
| |
|
|
| |
llvm-svn: 3034
|
| |
|
|
| |
llvm-svn: 3016
|
| |
|
|
|
|
| |
* Register all Passes
llvm-svn: 3015
|
| |
|
|
|
|
|
| |
* Split the two behaviors of the InsertTraceCode class into two subclasses
* Register Passes
llvm-svn: 3014
|
| |
|
|
|
|
| |
* Register the passes
llvm-svn: 3013
|
| |
|
|
|
|
| |
* Register the pass
llvm-svn: 3012
|
| |
|
|
|
|
| |
* Register Pass
llvm-svn: 3011
|
| |
|
|
| |
llvm-svn: 3002
|
| |
|
|
| |
llvm-svn: 2986
|
| |
|
|
| |
llvm-svn: 2985
|
| |
|
|
| |
llvm-svn: 2980
|
| |
|
|
| |
llvm-svn: 2971
|
| |
|
|
| |
llvm-svn: 2961
|
| |
|
|
| |
llvm-svn: 2959
|
| |
|
|
|
|
|
| |
This change fixes programs that have multiple functions named the same thing,
where are least one of them is static/internal.
llvm-svn: 2954
|
| |
|
|
|
|
| |
* Fix a MAJOR thinko that was causing bad links to happen on Spec
llvm-svn: 2953
|
| |
|
|
| |
llvm-svn: 2951
|
| |
|
|
| |
llvm-svn: 2946
|
| |
|
|
|
|
| |
which eliminated the EmitFunctions directory
llvm-svn: 2937
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- I->use_empty() can never be true because of the IHolder's
* Fix bug: test/Regression/Transforms/LevelRaise/2002-07-16-SourceAndDestCrash.ll
- Add a new NewCasts member to VMC to keep track of casts that have been
created and to ensure there is always a reference to the cast.
- Extend ValueHandle a bit so it can be used in an STL container
- Make sure we destroy the ValueMapCache before verifying the function
in LevelRaise.cpp
llvm-svn: 2936
|
| |
|
|
|
|
|
| |
- Verify the function every time it is exprconverted if DEBUG is on
- Provide a way to start exprconversion AT a specific instruction.
llvm-svn: 2934
|
| |
|
|
| |
llvm-svn: 2933
|
| |
|
|
| |
llvm-svn: 2932
|
| |
|
|
| |
llvm-svn: 2928
|
| |
|
|
| |
llvm-svn: 2927
|
| |
|
|
| |
llvm-svn: 2926
|
| |
|
|
| |
llvm-svn: 2924
|
| |
|
|
|
|
|
|
| |
* The global variable cannot be internal or else we cannot use it!
* Always add a function to the table, even if it only has a single basic
block.
llvm-svn: 2921
|