|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| | llvm-svn: 6251 | 
| | 
| 
| 
| | llvm-svn: 6248 | 
| | 
| 
| 
| | llvm-svn: 5984 | 
| | 
| 
| 
| | llvm-svn: 5975 | 
| | 
| 
| 
| | llvm-svn: 5968 | 
| | 
| 
| 
| | llvm-svn: 5966 | 
| | 
| 
| 
| 
| 
| | PassMAnager provides.
llvm-svn: 5896 | 
| | 
| 
| 
| 
| 
| | wasn't an optimization and it was causing lots of bugs.
llvm-svn: 4779 | 
| | 
| 
| 
| | llvm-svn: 4263 | 
| | 
| 
| 
| 
| 
| | setPreservesCFG to be less confusing.
llvm-svn: 4255 | 
| | 
| 
| 
| | llvm-svn: 4083 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * 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 | 
| | 
| 
| 
| | llvm-svn: 3801 | 
| | 
| 
| 
| 
| 
| | indexes for sequential types.
llvm-svn: 3681 | 
| | 
| 
| 
| 
| 
| | of instruction constructors.
llvm-svn: 3656 | 
| | 
| 
| 
| 
| 
| 
| | - Added new method Type::isIntegral() that is the same as isInteger, but
    also accepts bool.
llvm-svn: 3574 | 
| | 
| 
| 
| | llvm-svn: 3483 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * 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 | 
| | 
| 
| 
| | llvm-svn: 3034 | 
| | 
| 
| 
| 
| 
| | * Register the pass
llvm-svn: 3012 | 
| | 
| 
| 
| | llvm-svn: 2985 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | - 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: 2932 | 
| | 
| 
| 
| | llvm-svn: 2924 | 
| | 
| 
| 
| 
| 
| 
| | * Fix bug in LevelRaise.cpp, correcting this problem:
    test/Regression/Transforms/LevelRaise/2002-07-16-RaiseCrash.ll
llvm-svn: 2920 | 
| | 
| 
| 
| | llvm-svn: 2812 | 
| | 
| 
| 
| | llvm-svn: 2793 | 
| | 
| 
| 
| | llvm-svn: 2791 | 
| | 
| 
| 
| 
| 
| | For details, See: docs/2002-06-25-MegaPatchInfo.txt
llvm-svn: 2779 | 
| | 
| 
| 
| | llvm-svn: 2749 | 
| | 
| 
| 
| | llvm-svn: 2741 | 
| | 
| 
| 
| | llvm-svn: 2714 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| 
| 
| 
| 
| | * 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 | 
| | 
| 
| 
| 
| 
| | library
llvm-svn: 2518 | 
| | 
| 
| 
| 
| 
| | it here.
llvm-svn: 2431 | 
| | 
| 
| 
| | llvm-svn: 2397 | 
| | 
| 
| 
| 
| 
| | to make debugging output a lot nicer.
llvm-svn: 2395 | 
| | 
| 
| 
| 
| 
| | indicate whether or not they invalidate the CFGA
llvm-svn: 2386 | 
| | 
| 
| 
| | llvm-svn: 2378 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | - Rename runOnMethod to runOnFunction
* Transform getAnalysisUsageInfo into getAnalysisUsage
  - Method is now const
  - It now takes one AnalysisUsage object to fill in instead of 3 vectors
    to fill in
  - Pass's now specify which other passes they _preserve_ not which ones
    they modify (be conservative!)
  - A pass can specify that it preserves all analyses (because it never
    modifies the underlying program)
* s/Method/Function/g in other random places as well
llvm-svn: 2333 | 
| | 
| 
| 
| 
| 
| | Remove extraneous #includes of llvm/Assembly/Writer
llvm-svn: 2178 | 
| | 
| 
| 
| | llvm-svn: 2165 | 
| | 
| 
| 
| 
| 
| 
| | class.  The Method class is obsolete (renamed) and all references to it
are being converted over to Function.
llvm-svn: 2144 | 
| | 
| 
| 
| 
| 
| 
| | out that almost always the result of the add was the same as the GEP that
would be generated.  In this case, however, it wasn't, so bad things happened.
llvm-svn: 1929 | 
| | 
| 
| 
| | llvm-svn: 1921 | 
| | 
| 
| 
| 
| 
| 
| | * Use more concise form of ReplaceInstWithInst to make code simpler
* Output nicer message for dead code eliminated when debugging
llvm-svn: 1861 | 
| | 
| 
| 
| 
| 
| | creation functions in their public header file, unless they can help it.
llvm-svn: 1816 | 
| | 
| 
| 
| | llvm-svn: 1611 |