LLVM API Documentation
#include <PassAnalysisSupport.h>
Collaboration diagram for llvm::AnalysisUsage:

Public Member Functions | |
| AnalysisUsage () | |
| AnalysisUsage & | addRequiredID (AnalysisID ID) |
| template<class PassClass> | |
| AnalysisUsage & | addRequired () |
| AnalysisUsage & | addRequiredTransitiveID (AnalysisID ID) |
| template<class PassClass> | |
| AnalysisUsage & | addRequiredTransitive () |
| AnalysisUsage & | addPreservedID (AnalysisID ID) |
| template<class PassClass> | |
| AnalysisUsage & | addPreserved () |
| void | setPreservesAll () |
| bool | getPreservesAll () const |
| void | setPreservesCFG () |
| const std::vector< AnalysisID > & | getRequiredSet () const |
| const std::vector< AnalysisID > & | getRequiredTransitiveSet () const |
| const std::vector< AnalysisID > & | getPreservedSet () const |
|
|
Definition at line 41 of file PassAnalysisSupport.h. |
|
|||||||||
|
|
|||||||||
|
|
|||||||||
|
Definition at line 63 of file PassAnalysisSupport.h. References llvm::AnalysisID. Referenced by llvm::ScalarEvolution::getAnalysisUsage(), RALinScan::getAnalysisUsage(), llvm::MemoryDependenceAnalysis::getAnalysisUsage(), llvm::LoopVR::getAnalysisUsage(), and LoadVN::getAnalysisUsage(). |
|
|
Definition at line 56 of file PassAnalysisSupport.h. References llvm::AnalysisID. |
|
|
|
Definition at line 85 of file PassAnalysisSupport.h. Referenced by llvm::PMDataManager::preserveHigherLevelAnalysis(), and llvm::PMDataManager::removeNotPreservedAnalysis(). |
|
|
|
Definition at line 99 of file PassAnalysisSupport.h. Referenced by llvm::PMDataManager::collectRequiredAnalysis(). |
|
|
|
setPreservesCFG - This function should be called by the pass, iff they do not: 1. Add or remove basic blocks from the function 2. Modify terminator instructions in any way. This function annotates the AnalysisUsage info object to say that analyses that only depend on the CFG are preserved by this pass. Definition at line 316 of file Pass.cpp. Referenced by SCCP::getAnalysisUsage(), SROA::getAnalysisUsage(), Reassociate::getAnalysisUsage(), PromotePass::getAnalysisUsage(), MachineLICM::getAnalysisUsage(), LowerAllocations::getAnalysisUsage(), LICM::getAnalysisUsage(), LCSSA::getAnalysisUsage(), InstCombiner::getAnalysisUsage(), IndVarSimplify::getAnalysisUsage(), DSE::getAnalysisUsage(), DCE::getAnalysisUsage(), DeadInstElimination::getAnalysisUsage(), ConstantPropagation::getAnalysisUsage(), BlockPlacement::getAnalysisUsage(), and ADCE::getAnalysisUsage(). |