summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/LevelRaise.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Support getelementptr instructions which use uint's to index into structureChris Lattner2004-04-051-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 Lattner2004-02-091-2/+2
| | | | | | getElementTypes() is gone. llvm-svn: 11228
* The ConstantExpr::getCast call can cause a CPR to be generated. If so,Chris Lattner2004-02-091-0/+4
| | | | | | strip it off. llvm-svn: 11213
* Remove uses of ConstantHandling itfChris Lattner2004-01-121-1/+0
| | | | llvm-svn: 10783
* Finegrainify namespacificationChris Lattner2004-01-091-1/+2
| | | | | | add flags for PR82 llvm-svn: 10724
* Inching towards fixing PR82Chris Lattner2004-01-091-1/+4
| | | | llvm-svn: 10722
* Remove extraneous #includeChris Lattner2003-12-231-5/+2
| | | | | | finegrainify namespacification llvm-svn: 10589
* verifyFunction depends on dominator info, which levelraise does not declareChris Lattner2003-12-111-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 Gaeke2003-11-111-2/+5
| | | | llvm-svn: 9903
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* Regularize header file commentsChris Lattner2003-10-131-1/+1
| | | | llvm-svn: 9071
* Prototype for creator function got movedChris Lattner2003-09-011-1/+1
| | | | llvm-svn: 8315
* DEBUG got moved to Support/Debug.hChris Lattner2003-08-011-11/+13
| | | | llvm-svn: 7492
* Hopefully, the final fix for `[Pp]ropogate'.Misha Brukman2003-05-201-1/+1
| | | | llvm-svn: 6251
* s/convertable/convertible/gMisha Brukman2003-05-201-15/+15
| | | | llvm-svn: 6248
* Attempt to fix sumant's typesafety issueChris Lattner2003-05-021-5/+21
| | | | llvm-svn: 5984
* Fix bug: LevelRaise/2003-05-01-CallCast.llChris Lattner2003-05-011-1/+2
| | | | llvm-svn: 5975
* Create constant expression casts instead of constant instructions if possibleChris Lattner2003-04-281-2/+12
| | | | llvm-svn: 5968
* Avoid naming things exactly the sameChris Lattner2003-04-271-1/+1
| | | | llvm-svn: 5966
* Make the levelraise pass be well behaved w.r.t the TargetData that the currentChris Lattner2003-04-241-38/+39
| | | | | | PassMAnager provides. llvm-svn: 5896
* - Eliminated the deferred symbol table stuff in Module & Function, it reallyChris Lattner2002-11-201-1/+1
| | | | | | wasn't an optimization and it was causing lots of bugs. llvm-svn: 4779
* Ensure definate initializationChris Lattner2002-10-221-1/+1
| | | | llvm-svn: 4263
* - Rename AnalysisUsage::preservesAll to getPreservesAll & preservesCFG toChris Lattner2002-10-211-1/+1
| | | | | | setPreservesCFG to be less confusing. llvm-svn: 4255
* - Fix bug: LevelRaise/2002-10-08-VarArgCall.llChris Lattner2002-10-081-1/+39
| | | | llvm-svn: 4083
* Updates to work with recent Statistic's changes:Chris Lattner2002-10-011-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 Brukman2002-09-181-1/+1
| | | | llvm-svn: 3801
* - Change getelementptr instruction to use long indexes instead of uintChris Lattner2002-09-111-2/+2
| | | | | | indexes for sequential types. llvm-svn: 3681
* Simplify code (somtimes dramatically), by using the new "auto-insert" featureChris Lattner2002-09-101-10/+7
| | | | | | of instruction constructors. llvm-svn: 3656
* - Renamed Type::isIntegral() to Type::isInteger()Chris Lattner2002-09-031-1/+1
| | | | | | | - Added new method Type::isIntegral() that is the same as isInteger, but also accepts bool. llvm-svn: 3574
* *** empty log message ***Chris Lattner2002-08-221-4/+2
| | | | llvm-svn: 3483
* * Add support for different "PassType's"Chris Lattner2002-07-261-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.hChris Lattner2002-07-231-1/+1
| | | | llvm-svn: 3034
* * Make the ctor take a TargetData even though it's not using it yetChris Lattner2002-07-231-4/+7
| | | | | | * Register the pass llvm-svn: 3012
* *** empty log message ***Chris Lattner2002-07-221-11/+18
| | | | llvm-svn: 2985
* * Remove dead code from ExprTypeConvert.cppChris Lattner2002-07-171-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 LevelRaiseChris Lattner2002-07-161-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.llChris Lattner2002-07-161-1/+3
| | | | llvm-svn: 2932
* Bugfix to previous checkinChris Lattner2002-07-161-1/+1
| | | | llvm-svn: 2924
* * Add assertion to ExprTypeConvert to detect error earlier than without itChris Lattner2002-07-161-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 patchChris Lattner2002-06-301-1/+0
| | | | llvm-svn: 2812
* added include<iostream> for cerrAnand Shukla2002-06-251-0/+1
| | | | llvm-svn: 2793
* changes to make it compatible with 64bit gccAnand Shukla2002-06-251-0/+1
| | | | llvm-svn: 2791
* MEGAPATCH checkin.Chris Lattner2002-06-251-32/+28
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779
* Simplify the interface to local DCE and Constant propChris Lattner2002-05-261-1/+1
| | | | llvm-svn: 2749
* Fix comments to reflect realityChris Lattner2002-05-241-4/+4
| | | | llvm-svn: 2741
* Convert transforms over to standardize debugging output on -debug optionChris Lattner2002-05-221-33/+9
| | | | llvm-svn: 2714
* Fix a major source of "type unsafety", where a cast is neccesary, but canChris Lattner2002-05-141-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 changedChris Lattner2002-05-101-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 Lattner2002-05-071-2/+2
| | | | | | library llvm-svn: 2518
* ExprTypeConvert will already do this transformation, no need to specializeChris Lattner2002-05-021-21/+0
| | | | | | it here. llvm-svn: 2431
OpenPOWER on IntegriCloud