Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support getelementptr instructions which use uint's to index into structure | Chris Lattner | 2004-04-05 | 1 | -5/+2 |
| | | | | | | | types and can have arbitrary 32- and 64-bit integer types indexing into sequential types. llvm-svn: 12653 | ||||
* | Adjust to the changed StructType interface. In particular, ↵ | Chris Lattner | 2004-02-09 | 1 | -2/+2 |
| | | | | | | getElementTypes() is gone. llvm-svn: 11228 | ||||
* | The ConstantExpr::getCast call can cause a CPR to be generated. If so, | Chris Lattner | 2004-02-09 | 1 | -0/+4 |
| | | | | | | strip it off. llvm-svn: 11213 | ||||
* | Remove uses of ConstantHandling itf | Chris Lattner | 2004-01-12 | 1 | -1/+0 |
| | | | | llvm-svn: 10783 | ||||
* | Finegrainify namespacification | Chris Lattner | 2004-01-09 | 1 | -1/+2 |
| | | | | | | add flags for PR82 llvm-svn: 10724 | ||||
* | Inching towards fixing PR82 | Chris Lattner | 2004-01-09 | 1 | -1/+4 |
| | | | | llvm-svn: 10722 | ||||
* | Remove extraneous #include | Chris Lattner | 2003-12-23 | 1 | -5/+2 |
| | | | | | | finegrainify namespacification llvm-svn: 10589 | ||||
* | verifyFunction depends on dominator info, which levelraise does not declare | Chris Lattner | 2003-12-11 | 1 | -5/+0 |
| | | | | | | | | | that it needs. This is pretty scary code! This fixes Regression.Transforms.LevelRaise.2002-07-16-SourceAndDestCrash Regression.Transforms.LevelRaise.2002-07-31-AssertionFailure llvm-svn: 10406 | ||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -2/+5 |
| | | | | llvm-svn: 9903 | ||||
* | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 1 | -0/+7 |
| | | | | | | Header files will be on the way. llvm-svn: 9298 | ||||
* | Regularize header file comments | Chris Lattner | 2003-10-13 | 1 | -1/+1 |
| | | | | llvm-svn: 9071 | ||||
* | Prototype for creator function got moved | Chris Lattner | 2003-09-01 | 1 | -1/+1 |
| | | | | llvm-svn: 8315 | ||||
* | DEBUG got moved to Support/Debug.h | Chris Lattner | 2003-08-01 | 1 | -11/+13 |
| | | | | llvm-svn: 7492 | ||||
* | Hopefully, the final fix for `[Pp]ropogate'. | Misha Brukman | 2003-05-20 | 1 | -1/+1 |
| | | | | llvm-svn: 6251 | ||||
* | s/convertable/convertible/g | Misha Brukman | 2003-05-20 | 1 | -15/+15 |
| | | | | llvm-svn: 6248 | ||||
* | Attempt to fix sumant's typesafety issue | Chris Lattner | 2003-05-02 | 1 | -5/+21 |
| | | | | llvm-svn: 5984 | ||||
* | Fix bug: LevelRaise/2003-05-01-CallCast.ll | Chris Lattner | 2003-05-01 | 1 | -1/+2 |
| | | | | llvm-svn: 5975 | ||||
* | Create constant expression casts instead of constant instructions if possible | Chris Lattner | 2003-04-28 | 1 | -2/+12 |
| | | | | llvm-svn: 5968 | ||||
* | Avoid naming things exactly the same | Chris Lattner | 2003-04-27 | 1 | -1/+1 |
| | | | | llvm-svn: 5966 | ||||
* | Make the levelraise pass be well behaved w.r.t the TargetData that the current | Chris Lattner | 2003-04-24 | 1 | -38/+39 |
| | | | | | | PassMAnager provides. llvm-svn: 5896 | ||||
* | - Eliminated the deferred symbol table stuff in Module & Function, it really | Chris Lattner | 2002-11-20 | 1 | -1/+1 |
| | | | | | | wasn't an optimization and it was causing lots of bugs. llvm-svn: 4779 | ||||
* | Ensure definate initialization | Chris Lattner | 2002-10-22 | 1 | -1/+1 |
| | | | | llvm-svn: 4263 | ||||
* | - Rename AnalysisUsage::preservesAll to getPreservesAll & preservesCFG to | Chris Lattner | 2002-10-21 | 1 | -1/+1 |
| | | | | | | setPreservesCFG to be less confusing. llvm-svn: 4255 | ||||
* | - Fix bug: LevelRaise/2002-10-08-VarArgCall.ll | Chris Lattner | 2002-10-08 | 1 | -1/+39 |
| | | | | llvm-svn: 4083 | ||||
* | Updates to work with recent Statistic's changes: | Chris Lattner | 2002-10-01 | 1 | -6/+6 |
| | | | | | | | | | | | | * Renamed StatisticReporter.h/cpp to Statistic.h/cpp * Broke constructor to take two const char * arguments instead of one, so that indendation can be taken care of automatically. * Sort the list by pass name when printing * Make sure to print all statistics as a group, instead of randomly when the statistics dtors are called. * Updated ProgrammersManual with new semantics. llvm-svn: 4001 | ||||
* | Fixed typo. | Misha Brukman | 2002-09-18 | 1 | -1/+1 |
| | | | | llvm-svn: 3801 | ||||
* | - Change getelementptr instruction to use long indexes instead of uint | Chris Lattner | 2002-09-11 | 1 | -2/+2 |
| | | | | | | indexes for sequential types. llvm-svn: 3681 | ||||
* | Simplify code (somtimes dramatically), by using the new "auto-insert" feature | Chris Lattner | 2002-09-10 | 1 | -10/+7 |
| | | | | | | of instruction constructors. llvm-svn: 3656 | ||||
* | - Renamed Type::isIntegral() to Type::isInteger() | Chris Lattner | 2002-09-03 | 1 | -1/+1 |
| | | | | | | | - Added new method Type::isIntegral() that is the same as isInteger, but also accepts bool. llvm-svn: 3574 | ||||
* | *** empty log message *** | Chris Lattner | 2002-08-22 | 1 | -4/+2 |
| | | | | llvm-svn: 3483 | ||||
* | * Add support for different "PassType's" | Chris Lattner | 2002-07-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | * 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 | ||||
* | Rename LevelChange.h to RaisePointerReferences.h | Chris Lattner | 2002-07-23 | 1 | -1/+1 |
| | | | | llvm-svn: 3034 | ||||
* | * Make the ctor take a TargetData even though it's not using it yet | Chris Lattner | 2002-07-23 | 1 | -4/+7 |
| | | | | | | * Register the pass llvm-svn: 3012 | ||||
* | *** empty log message *** | Chris Lattner | 2002-07-22 | 1 | -11/+18 |
| | | | | llvm-svn: 2985 | ||||
* | * Remove dead code from ExprTypeConvert.cpp | Chris Lattner | 2002-07-17 | 1 | -10/+15 |
| | | | | | | | | | | | | - 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 | ||||
* | * Add a bunch of debugging features to LevelRaise | Chris Lattner | 2002-07-16 | 1 | -4/+37 |
| | | | | | | | - 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 | ||||
* | Fix bug: test/Regression/Transforms/LevelRaise/2002-07-16-RaiseCrash2.ll | Chris Lattner | 2002-07-16 | 1 | -1/+3 |
| | | | | llvm-svn: 2932 | ||||
* | Bugfix to previous checkin | Chris Lattner | 2002-07-16 | 1 | -1/+1 |
| | | | | llvm-svn: 2924 | ||||
* | * Add assertion to ExprTypeConvert to detect error earlier than without it | Chris Lattner | 2002-07-16 | 1 | -0/+1 |
| | | | | | | | * Fix bug in LevelRaise.cpp, correcting this problem: test/Regression/Transforms/LevelRaise/2002-07-16-RaiseCrash.ll llvm-svn: 2920 | ||||
* | Clean up anands patch | Chris Lattner | 2002-06-30 | 1 | -1/+0 |
| | | | | llvm-svn: 2812 | ||||
* | added include<iostream> for cerr | Anand Shukla | 2002-06-25 | 1 | -0/+1 |
| | | | | llvm-svn: 2793 | ||||
* | changes to make it compatible with 64bit gcc | Anand Shukla | 2002-06-25 | 1 | -0/+1 |
| | | | | llvm-svn: 2791 | ||||
* | MEGAPATCH checkin. | Chris Lattner | 2002-06-25 | 1 | -32/+28 |
| | | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779 | ||||
* | Simplify the interface to local DCE and Constant prop | Chris Lattner | 2002-05-26 | 1 | -1/+1 |
| | | | | llvm-svn: 2749 | ||||
* | Fix comments to reflect reality | Chris Lattner | 2002-05-24 | 1 | -4/+4 |
| | | | | llvm-svn: 2741 | ||||
* | Convert transforms over to standardize debugging output on -debug option | Chris Lattner | 2002-05-22 | 1 | -33/+9 |
| | | | | llvm-svn: 2714 | ||||
* | Fix a major source of "type unsafety", where a cast is neccesary, but can | Chris Lattner | 2002-05-14 | 1 | -2/+40 |
| | | | | | | | | | be put either before or after a load. We chose to cast the value loaded instead of the pointer to load from. Fixes bug: test/Regression/Transforms/LevelRaise/2002-05-10-LoadPeephole.ll llvm-svn: 2621 | ||||
* | * Add support for the -stats command line option to report how much is changed | Chris Lattner | 2002-05-10 | 1 | -2/+24 |
| | | | | | | | | * Make cast-of-self-ty DCE the dead cast instruction immediately instead of waiting for it to be DCE'd by another sweep over the function. This speeds this up noticably. llvm-svn: 2597 | ||||
* | Reduce dependance on TransformInternals.h, instead using the TransformUtils ↵ | Chris Lattner | 2002-05-07 | 1 | -2/+2 |
| | | | | | | library llvm-svn: 2518 | ||||
* | ExprTypeConvert will already do this transformation, no need to specialize | Chris Lattner | 2002-05-02 | 1 | -21/+0 |
| | | | | | | it here. llvm-svn: 2431 |