summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move sparc-specific code into lib/Target/SparcChris Lattner2004-01-091-322/+0
| | | | llvm-svn: 10734
* Change interface of MachineOperand as follows:Alkis Evlogimenos2003-12-141-6/+4
| | | | | | | | | | | | | | | a) remove opIsUse(), opIsDefOnly(), opIsDefAndUse() b) add isUse(), isDef() c) rename opHiBits32() to isHiBits32(), opLoBits32() to isLoBits32(), opHiBits64() to isHiBits64(), opLoBits64() to isLoBits64(). This results to much more readable code, for example compare "op.opIsDef() || op.opIsDefAndUse()" to "op.isDef()" a pattern used very often in the code. llvm-svn: 10461
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* Convert this code from using annotations to using a local mapChris Lattner2003-10-201-13/+16
| | | | llvm-svn: 9310
* 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
* Fixed spelling and grammar.Misha Brukman2003-09-111-2/+2
| | | | llvm-svn: 8478
* Improvement to the previous fix: branch following a delay slot ofVikram S. Adve2003-08-141-3/+5
| | | | | | | another delayed instr. would cause the later sanity-check (assertion) in PhyRegAlloc.cpp to fail, even though there is really no error. llvm-svn: 7848
* For an instruction with delay slots, mark all live values beforeVikram S. Adve2003-08-121-16/+39
| | | | | | | the instruction as being live before/after the delay slot instructions as well. llvm-svn: 7795
* Don't require a BB to look-up live variables, unless they may need toVikram S. Adve2003-07-291-9/+10
| | | | | | be recomputed. llvm-svn: 7388
* Renamed MachienOperand::opIsDef to MachineOperand::opIsDefOnly()Vikram S. Adve2003-05-271-6/+7
| | | | | | | and related functions and flags. Fixed several bugs where only "isDef" was being checked, not "isDefAndUse". llvm-svn: 6342
* Rename llvm/Analysis/LiveVar/FunctionLiveVarInfo.h -> ↵Chris Lattner2003-01-141-2/+2
| | | | | | llvm/CodeGen/FunctionLiveVarInfo.h llvm-svn: 5284
* Eliminate uses of MachineBasicBlock::getChris Lattner2002-10-281-20/+27
| | | | llvm-svn: 4340
* Rename MachineCodeForBasicBlock to MachineBasicBlockChris Lattner2002-10-281-4/+3
| | | | llvm-svn: 4318
* - Do not expose ::ID from any of the analyses anymore.Chris Lattner2002-08-211-1/+0
| | | | llvm-svn: 3416
* * Standardize how analysis results/passes as printed with the print() virtualChris Lattner2002-07-271-1/+1
| | | | | | | | | | 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 support for different "PassType's"Chris Lattner2002-07-261-0/+2
| | | | | | | | | | | | | | | * 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
* *** empty log message ***Chris Lattner2002-07-221-6/+10
| | | | llvm-svn: 2985
* A single MachineInstr operand may now be both a def and a use.Vikram S. Adve2002-07-081-3/+6
| | | | llvm-svn: 2825
* changes to make it compatible with 64bit gccAnand Shukla2002-06-251-2/+2
| | | | llvm-svn: 2789
* *** empty log message ***Chris Lattner2002-06-251-8/+8
| | | | llvm-svn: 2777
* Move debug options out of header files so that the header does not haveChris Lattner2002-05-221-1/+6
| | | | | | to #include CommandLine.h. llvm-svn: 2712
* Hide debugging optionsChris Lattner2002-05-201-1/+1
| | | | llvm-svn: 2676
* Eliminate duplicate or unneccesary #include'sChris Lattner2002-04-291-1/+0
| | | | llvm-svn: 2397
* s/Method/FunctionChris Lattner2002-04-271-13/+14
| | | | llvm-svn: 2336
* * Rename MethodPass class to FunctionPassChris Lattner2002-04-271-6/+6
| | | | | | | | | | | | | | | - 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
* * General cleanupsChris Lattner2002-04-091-21/+21
| | | | | | | * In calcLiveVarSetsForBB, do not leak a ValueSet every time the function is called! llvm-svn: 2189
* s/Method/FunctionChris Lattner2002-04-081-8/+8
| | | | llvm-svn: 2180
* Big bug fix: killed uses were being inserted instead of erased!Vikram S. Adve2002-03-181-8/+28
| | | | | | Also added a set of debug options. llvm-svn: 1909
* Method.h no longer includes BasicBlock.hChris Lattner2002-02-121-0/+1
| | | | | | | Method::inst_* is now in llvm/Support/InstIterator.h GraphTraits specializations for BasicBlock and Methods are now in llvm/Support/CFG.h llvm-svn: 1746
* Convert BBLiveVar to be a BasicBlock annotation, this removes the BB2BBLVMap ↵Chris Lattner2002-02-051-20/+16
| | | | | | from MethodLiveVarInfo. llvm-svn: 1721
* Convert operand iterator over to work like an STL iteratorChris Lattner2002-02-051-3/+5
| | | | llvm-svn: 1720
* Minor change: Methods that return ValueSet's that are guaranteed to be validChris Lattner2002-02-051-11/+9
| | | | | | return references instead of pointers. llvm-svn: 1719
* Must include SetOperations to do set_*Chris Lattner2002-02-051-0/+1
| | | | llvm-svn: 1716
* * Eliminate the LiveVarSet class, making applyTranferFuncForMInst a staticChris Lattner2002-02-051-27/+53
| | | | | | | | | function in the one .cpp file that uses it. Use ValueSet's instead. * Prepare to delete LiveVarSet.h & LiveVarSet.cpp * Eliminate the ValueSet class, making all old member functions into global templates that will eventually be moved to Support. llvm-svn: 1711
* * Code CleanupsChris Lattner2002-02-051-1/+1
| | | | | | * Introduce RAV to allow stream I/O instead of using printValue llvm-svn: 1710
* Changes neccesary due to the move of BBLiveVar.h to the lib/Analysis/LiveVar ↵Chris Lattner2002-02-051-1/+1
| | | | | | directory llvm-svn: 1709
* * Give BBLiveVar.cpp a proper file headerChris Lattner2002-02-051-2/+19
| | | | | | | | | * applyFlowFunc DOES NOT NEED TO COPY the huge BB->BBLiveVar Map every time it is invoked! * Big cleanups. * Make BBLiveVar.h effectively an internal header file * Prepare LiveVarMap.h for deletion llvm-svn: 1706
* Code cleanups, no functional changeChris Lattner2002-02-041-82/+47
| | | | llvm-svn: 1704
* Clean up MethodLiveVarInfoChris Lattner2002-02-041-110/+77
| | | | llvm-svn: 1703
* Turn live variable analysis into a real MethodPass.Chris Lattner2002-02-041-35/+16
| | | | llvm-svn: 1699
* * Add #includes that were yanked out of header filesChris Lattner2002-02-041-0/+1
| | | | | | | * Convert over to valueset interface that uses insert & erase insead of add and remove * the -> operator really isn't that hard to use! llvm-svn: 1687
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-201-7/+5
| | | | llvm-svn: 1503
* Added more comments. Added code to destructor in MethodLiveVarInfo to deleteRuchira Sasanka2001-12-081-11/+55
| | | | | | LiveVarSet caches. llvm-svn: 1435
* Create a new #include "Support/..." directory structure to move thingsChris Lattner2001-11-271-1/+1
| | | | | | | | from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes llvm-svn: 1400
* No major change - added some commentsRuchira Sasanka2001-10-161-7/+10
| | | | llvm-svn: 848
* Print Debug Code to stderr instead of stdout so that it doesn't mess up the ↵Chris Lattner2001-10-151-6/+6
| | | | | | assembly output llvm-svn: 841
* added support for implict operands in machine instructionRuchira Sasanka2001-10-121-0/+16
| | | | llvm-svn: 728
* *** empty log message ***Ruchira Sasanka2001-09-301-2/+3
| | | | llvm-svn: 675
* Pull iterators out of CFG.h and CFGdecls and put them in Support directoryChris Lattner2001-09-281-5/+5
| | | | llvm-svn: 664
* analyze() now checks to see that we don't analyze the same method twice.Vikram S. Adve2001-08-281-1/+5
| | | | | | Needs a mechnanism to override this check (e.g., after a transformation). llvm-svn: 391
OpenPOWER on IntegriCloud