LLVM 20.0.0git
|
Pass interface - Implemented by all 'passes'. More...
#include "llvm/Pass.h"
Public Member Functions | |
Pass (PassKind K, char &pid) | |
Pass (const Pass &)=delete | |
Pass & | operator= (const Pass &)=delete |
virtual | ~Pass () |
PassKind | getPassKind () const |
virtual StringRef | getPassName () const |
getPassName - Return a nice clean name for a pass. | |
AnalysisID | getPassID () const |
getPassID - Return the PassID number that corresponds to this pass. | |
virtual bool | doInitialization (Module &) |
doInitialization - Virtual method overridden by subclasses to do any necessary initialization before any pass is run. | |
virtual bool | doFinalization (Module &) |
doFinalization - Virtual method overriden by subclasses to do any necessary clean up after all passes have run. | |
virtual void | print (raw_ostream &OS, const Module *M) const |
print - Print out the internal state of the pass. | |
void | dump () const |
virtual Pass * | createPrinterPass (raw_ostream &OS, const std::string &Banner) const =0 |
createPrinterPass - Get a Pass appropriate to print the IR this pass operates on (Module, Function or MachineFunction). | |
virtual void | assignPassManager (PMStack &, PassManagerType) |
Each pass is responsible for assigning a pass manager to itself. | |
virtual void | preparePassManager (PMStack &) |
Check if available pass managers are suitable for this pass or not. | |
virtual PassManagerType | getPotentialPassManagerType () const |
Return what kind of Pass Manager can manage this pass. | |
void | setResolver (AnalysisResolver *AR) |
AnalysisResolver * | getResolver () const |
virtual void | getAnalysisUsage (AnalysisUsage &) const |
getAnalysisUsage - This function should be overriden by passes that need analysis information to do their job. | |
virtual void | releaseMemory () |
releaseMemory() - This member can be implemented by a pass if it wants to be able to release its memory when it is no longer needed. | |
virtual void * | getAdjustedAnalysisPointer (AnalysisID ID) |
getAdjustedAnalysisPointer - This method is used when a pass implements an analysis interface through multiple inheritance. | |
virtual ImmutablePass * | getAsImmutablePass () |
virtual PMDataManager * | getAsPMDataManager () |
virtual void | verifyAnalysis () const |
verifyAnalysis() - This member can be implemented by a analysis pass to check state of analysis information. | |
virtual void | dumpPassStructure (unsigned Offset=0) |
template<typename AnalysisType > | |
AnalysisType * | getAnalysisIfAvailable () const |
getAnalysisIfAvailable<AnalysisType>() - Subclasses use this function to get analysis information that might be around, for example to update it. | |
bool | mustPreserveAnalysisID (char &AID) const |
mustPreserveAnalysisID - This method serves the same function as getAnalysisIfAvailable, but works if you just have an AnalysisID. | |
template<typename AnalysisType > | |
AnalysisType & | getAnalysis () const |
getAnalysis<AnalysisType>() - This function is used by subclasses to get to the analysis information that they claim to use by overriding the getAnalysisUsage function. | |
template<typename AnalysisType > | |
AnalysisType & | getAnalysis (Function &F, bool *Changed=nullptr) |
getAnalysis<AnalysisType>() - This function is used by subclasses to get to the analysis information that they claim to use by overriding the getAnalysisUsage function. | |
template<typename AnalysisType > | |
AnalysisType & | getAnalysisID (AnalysisID PI) const |
template<typename AnalysisType > | |
AnalysisType & | getAnalysisID (AnalysisID PI, Function &F, bool *Changed=nullptr) |
Static Public Member Functions | |
static const PassInfo * | lookupPassInfo (const void *TI) |
static const PassInfo * | lookupPassInfo (StringRef Arg) |
static Pass * | createPass (AnalysisID ID) |
Pass interface - Implemented by all 'passes'.
Subclass this if you are an interprocedural optimization or you do not fit into any of the more constrained passes described below.
|
inlinevirtual |
Each pass is responsible for assigning a pass manager to itself.
PMS is the stack of available pass manager.
Reimplemented in llvm::CallGraphSCCPass, llvm::LoopPass, llvm::RegionPass, llvm::ModulePass, and llvm::FunctionPass.
Definition at line 142 of file Pass.h.
Referenced by llvm::FunctionPass::assignPassManager(), and llvm::PMTopLevelManager::schedulePass().
|
static |
Definition at line 200 of file Pass.cpp.
References llvm::PassInfo::createPass(), llvm::PassRegistry::getPassInfo(), and llvm::PassRegistry::getPassRegistry().
Referenced by llvm::TargetPassConfig::addPass(), and INITIALIZE_PASS::InsertedPass::getInsertedPass().
|
pure virtual |
createPrinterPass - Get a Pass appropriate to print the IR this pass operates on (Module, Function or MachineFunction).
Implemented in llvm::LoopPass, llvm::RegionPass, llvm::legacy::FunctionPassManagerImpl, llvm::legacy::PassManagerImpl, llvm::CallGraphSCCPass, llvm::ModulePass, and llvm::FunctionPass.
doFinalization - Virtual method overriden by subclasses to do any necessary clean up after all passes have run.
Reimplemented in llvm::AssumptionCacheTracker, llvm::MachineModuleInfoWrapperPass, llvm::GlobalsAAWrapperPass, llvm::IRSimilarityIdentifierWrapperPass, llvm::ModuleSummaryIndexWrapperPass, llvm::ProfileSummaryInfoWrapperPass, llvm::ScopedNoAliasAAWrapperPass, llvm::TypeBasedAAWrapperPass, llvm::AsmPrinter, llvm::PhysicalRegisterUsageInfo, llvm::FPPassManager, llvm::legacy::FunctionPassManagerImpl, llvm::AMDGPUAAWrapperPass, llvm::AMDGPUArgumentUsageInfo, llvm::AMDGPUAsmPrinter, llvm::AVRAsmPrinter, llvm::NVPTXAAWrapperPass, and llvm::NVPTXAsmPrinter.
Definition at line 123 of file Pass.h.
Referenced by llvm::FPPassManager::doFinalization().
doInitialization - Virtual method overridden by subclasses to do any necessary initialization before any pass is run.
Reimplemented in llvm::MachineFunctionPass, llvm::MachineModuleInfoWrapperPass, llvm::IRSimilarityIdentifierWrapperPass, llvm::ProfileSummaryInfoWrapperPass, llvm::ScopedNoAliasAAWrapperPass, llvm::TypeBasedAAWrapperPass, llvm::AsmPrinter, llvm::BasicBlockSectionsProfileReaderWrapperPass, llvm::ThunkInserterPass< Inserters >, llvm::PhysicalRegisterUsageInfo, llvm::FPPassManager, llvm::legacy::FunctionPassManagerImpl, llvm::AMDGPUAAWrapperPass, AMDGPUAnnotateUniformValuesLegacy, llvm::AMDGPUArgumentUsageInfo, llvm::AMDGPUAsmPrinter, llvm::AMDGPUResourceUsageAnalysis, llvm::NVPTXAAWrapperPass, llvm::NVPTXAsmPrinter, llvm::SystemZAsmPrinter, and llvm::X86AsmPrinter.
Definition at line 119 of file Pass.h.
Referenced by llvm::FPPassManager::doInitialization(), llvm::AMDGPUResourceUsageAnalysis::doInitialization(), and INITIALIZE_PASS().
LLVM_DUMP_METHOD void Pass::dump | ( | ) | const |
Definition at line 136 of file Pass.cpp.
References llvm::dbgs(), and print().
Referenced by llvm::AggressiveAntiDepBreaker::BreakAntiDependencies(), llvm::SPIRVGeneralDuplicatesTracker::buildDepsGraph(), llvm::HexagonPacketizerList::canPromoteToDotCur(), llvm::HexagonPacketizerList::cleanUpDotCur(), llvm::PPCInstrInfo::combineRLWINM(), llvm::AArch64TargetLowering::EmitInstrWithCustomInserter(), llvm::SystemZPostRASchedStrategy::enterMBB(), estimateRSStackSizeLimit(), llvm::PPCInstrInfo::foldFrameOffset(), llvm::HexagonInstrInfo::invertAndChangeJumpTarget(), llvm::AggressiveAntiDepBreaker::Observe(), llvm::HexagonInstrInfo::PredicateInstruction(), printSpillReloadChain(), and llvm::HexagonInstrInfo::reversePredSense().
|
virtual |
Reimplemented in llvm::LPPassManager, llvm::RGPassManager, llvm::FPPassManager, and llvm::legacy::FunctionPassManagerImpl.
Definition at line 74 of file Pass.cpp.
References llvm::dbgs(), getPassName(), llvm::raw_ostream::indent(), and llvm::Offset.
Referenced by llvm::PMTopLevelManager::dumpPasses().
|
virtual |
getAdjustedAnalysisPointer - This method is used when a pass implements an analysis interface through multiple inheritance.
If needed, it should override this to adjust the this pointer as needed for the specified pass info.
Definition at line 110 of file Pass.cpp.
Referenced by getAnalysisID(), and getAnalysisIfAvailable().
AnalysisType & llvm::Pass::getAnalysis |
getAnalysis<AnalysisType>() - This function is used by subclasses to get to the analysis information that they claim to use by overriding the getAnalysisUsage function.
Definition at line 230 of file PassAnalysisSupport.h.
References assert().
Referenced by llvm::AnalysisGetter::getAnalysis(), llvm::SelectionDAGISel::initializeAnalysisResults(), llvm::SITargetLowering::LowerFormalArguments(), llvm::SITargetLowering::passSpecialInputs(), and llvm::SwingSchedulerDAG::schedule().
AnalysisType & llvm::Pass::getAnalysis | ( | Function & | F, |
bool * | Changed = nullptr |
||
) |
getAnalysis<AnalysisType>() - This function is used by subclasses to get to the analysis information that they claim to use by overriding the getAnalysisUsage function.
If as part of the dependencies, an IR transformation is triggered (e.g. because the analysis requires BreakCriticalEdges), and Changed is non null, *Changed is updated.
Definition at line 260 of file PassAnalysisSupport.h.
AnalysisType & llvm::Pass::getAnalysisID | ( | AnalysisID | PI | ) | const |
Definition at line 236 of file PassAnalysisSupport.h.
References assert(), and getAdjustedAnalysisPointer().
AnalysisType & llvm::Pass::getAnalysisID | ( | AnalysisID | PI, |
Function & | F, | ||
bool * | Changed = nullptr |
||
) |
Definition at line 267 of file PassAnalysisSupport.h.
References assert(), F, and getAdjustedAnalysisPointer().
AnalysisType * llvm::Pass::getAnalysisIfAvailable |
getAnalysisIfAvailable<AnalysisType>() - Subclasses use this function to get analysis information that might be around, for example to update it.
This is different than getAnalysis in that it can fail (if the analysis results haven't been computed), so should only be used if you can handle the case when the analysis is not available. This method is often used by transformation APIs to update analysis results for a pass automatically as the transform is performed.
Definition at line 211 of file PassAnalysisSupport.h.
References assert(), and getAdjustedAnalysisPointer().
Referenced by llvm::SelectionDAGISel::initializeAnalysisResults().
|
virtual |
getAnalysisUsage - This function should be overriden by passes that need analysis information to do their job.
If a pass specifies that it uses a particular analysis result to this function, it can then use the getAnalysis<AnalysisType>() function, below.
Reimplemented in llvm::DependenceAnalysisWrapperPass, llvm::MachineTraceMetrics, llvm::AAResultsWrapperPass, llvm::ExternalAAWrapperPass, llvm::BasicAAWrapperPass, llvm::BlockFrequencyInfoWrapperPass, llvm::BranchProbabilityInfoWrapperPass, llvm::CallGraphWrapperPass, llvm::DummyCGSCCPass, llvm::CycleInfoWrapperPass, llvm::DominanceFrontierWrapperPass, llvm::DOTGraphTraitsViewerWrapperPass< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >, llvm::DOTGraphTraitsPrinterWrapperPass< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >, llvm::DOTGraphTraitsModuleViewerWrapperPass< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >, llvm::DOTGraphTraitsModulePrinterWrapperPass< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >, llvm::DXILMetadataAnalysisWrapperPass, llvm::DXILResourceWrapperPass, llvm::GlobalsAAWrapperPass, llvm::IRSimilarityIdentifierWrapperPass, llvm::IVUsersWrapperPass, llvm::LazyBlockFrequencyInfoPass, llvm::LazyBranchProbabilityInfoPass, llvm::LazyValueInfoWrapperPass, llvm::LoopInfoWrapperPass, llvm::LCSSAVerificationPass, llvm::MemoryDependenceWrapperPass, llvm::MemorySSAWrapperPass, llvm::ModuleSummaryIndexWrapperPass, llvm::ImmutableModuleSummaryIndexWrapperPass, llvm::OptimizationRemarkEmitterWrapperPass, llvm::PhiValuesWrapperPass, llvm::PostDominatorTreeWrapperPass, llvm::ProfileSummaryInfoWrapperPass, llvm::RegionInfoPass, llvm::ScalarEvolutionWrapperPass, llvm::SCEVAAWrapperPass, llvm::ScopedNoAliasAAWrapperPass, llvm::StackSafetyInfoWrapperPass, llvm::StackSafetyGlobalInfoWrapperPass, llvm::TypeBasedAAWrapperPass, llvm::UniformityInfoWrapperPass, llvm::AsmPrinter, llvm::AssignmentTrackingAnalysis, llvm::CFIFixup, llvm::ExecutionDomainFix, llvm::GISelCSEAnalysisWrapperPass, llvm::GISelKnownBitsAnalysis, llvm::InstructionSelect, llvm::IRTranslator, llvm::Legalizer, llvm::LoadStoreOpt, llvm::Localizer, llvm::RegBankSelect, llvm::LazyMachineBlockFrequencyInfoPass, llvm::LiveIntervalsWrapperPass, llvm::LiveStacks, llvm::LiveVariablesWrapperPass, llvm::MachineBlockFrequencyInfoWrapperPass, llvm::MachineBranchProbabilityInfoWrapperPass, llvm::MachineCycleInfoWrapperPass, llvm::MachineDominanceFrontier, llvm::MachineDominatorTreeWrapperPass, llvm::MachineFunctionPass, llvm::MachineLoopInfoWrapperPass, llvm::MachineOptimizationRemarkEmitterPass, llvm::MachinePipeliner, llvm::MachinePostDominatorTreeWrapperPass, llvm::MachineRegionInfoPass, llvm::MachineUniformityAnalysisPass, llvm::ReachingDefAnalysis, llvm::ReplaceWithVeclibLegacy, llvm::SelectionDAGISelLegacy, llvm::SlotIndexesWrapperPass, llvm::StackProtector, llvm::VirtRegMap, llvm::DominatorTreeWrapperPass, llvm::InstructionCombiningPass, llvm::BasicBlockPathCloning, llvm::BreakFalseDeps, llvm::RegAllocScoring, llvm::RegAllocEvictionAdvisorAnalysis, llvm::RAGreedy, llvm::RegAllocPriorityAdvisorAnalysis, llvm::AMDGPUAAWrapperPass, AMDGPUAnnotateUniformValuesLegacy, llvm::AMDGPUArgumentUsageInfo, llvm::AMDGPUAsmPrinter, llvm::AMDGPUDAGToDAGISelLegacy, AMDGPULateCodeGenPrepareLegacy, llvm::AMDGPURegBankSelect, llvm::AMDGPUResourceUsageAnalysis, llvm::GCNRegPressurePrinter, SIAnnotateControlFlowLegacy, SILowerI1CopiesLegacy, llvm::ARMBlockPlacement, llvm::DXILResourceMDWrapper, llvm::dxil::ShaderFlagsAnalysisWrapper, llvm::MipsDAGToDAGISelLegacy, llvm::MipsSEDAGToDAGISelLegacy, llvm::NVPTXAAWrapperPass, llvm::NVPTXAsmPrinter, llvm::SPIRVConvergenceRegionAnalysisWrapperPass, llvm::SPIRVMergeRegionExitTargets, llvm::SPIRVModuleAnalysis, llvm::WebAssemblyExceptionInfo, llvm::gvn::GVNLegacyPass, llvm::CallGraphSCCPass, llvm::LPPassManager, llvm::RGPassManager, llvm::FPPassManager, llvm::legacy::FunctionPassManagerImpl, and llvm::legacy::PassManagerImpl.
Definition at line 98 of file Pass.cpp.
Referenced by llvm::MachineFunctionPass::getAnalysisUsage(), and llvm::SPIRVMergeRegionExitTargets::getAnalysisUsage().
|
virtual |
Reimplemented in llvm::ImmutablePass.
|
virtual |
|
inline |
getPassID - Return the PassID number that corresponds to this pass.
Definition at line 113 of file Pass.h.
Referenced by getPassName(), and llvm::TargetPassConfig::insertPass().
|
virtual |
getPassName - Return a nice clean name for a pass.
This usually implemented in terms of the name that is registered by one of the Registration templates, but can be overloaded directly.
Reimplemented in llvm::LPPassManager, llvm::RGPassManager, llvm::BasicBlockSectionsProfileReaderWrapperPass, llvm::InstructionSelect, llvm::IRTranslator, llvm::Legalizer, llvm::LoadStoreOpt, llvm::Localizer, llvm::RegBankSelect, llvm::MIRAddFSDiscriminators, llvm::MIRProfileLoaderPass, llvm::FPPassManager, llvm::BasicBlockPathCloning, GCEmptyBasicBlocks, llvm::RegAllocScoring, llvm::RAGreedy, AMDGPUAnnotateUniformValuesLegacy, llvm::AMDGPUAsmPrinter, llvm::AMDGPUDAGToDAGISelLegacy, AMDGPULateCodeGenPrepareLegacy, llvm::AMDGPURegBankSelect, llvm::R600AsmPrinter, SIAnnotateControlFlowLegacy, SILowerI1CopiesLegacy, llvm::ARMAsmPrinter, llvm::AVRAsmPrinter, llvm::AVRFrameAnalyzer, llvm::CSKYAsmPrinter, llvm::HexagonAsmPrinter, llvm::HexagonMask, llvm::LoongArchAsmPrinter, llvm::M68kAsmPrinter, llvm::MipsAsmPrinter, llvm::ErrataWorkaround, llvm::InsertNOPLoad, llvm::DetectRoundChange, llvm::FixAllFDIVSQRT, llvm::SystemZAsmPrinter, llvm::WebAssemblyAsmPrinter, llvm::X86AsmPrinter, and llvm::XtensaAsmPrinter.
Definition at line 81 of file Pass.cpp.
References getPassID(), llvm::PassRegistry::getPassInfo(), llvm::PassInfo::getPassName(), and llvm::PassRegistry::getPassRegistry().
Referenced by llvm::PMDataManager::addLowerLevelRequiredPass(), dumpPassStructure(), llvm::PassManagerPrettyStackEntry::print(), print(), llvm::PMDataManager::removeNotPreservedAnalysis(), llvm::PMTopLevelManager::schedulePass(), llvm::FunctionPass::skipFunction(), llvm::LoopPass::skipLoop(), llvm::ModulePass::skipModule(), llvm::RegionPass::skipRegion(), and llvm::CallGraphSCCPass::skipSCC().
|
virtual |
Return what kind of Pass Manager can manage this pass.
Reimplemented in llvm::CallGraphSCCPass, llvm::LoopPass, llvm::RegionPass, llvm::ModulePass, and llvm::FunctionPass.
Definition at line 93 of file Pass.cpp.
References llvm::PMT_Unknown.
Referenced by llvm::PMTopLevelManager::schedulePass().
|
inline |
Definition at line 153 of file Pass.h.
Referenced by llvm::PMTopLevelManager::setLastUser().
Definition at line 192 of file Pass.cpp.
References llvm::PassRegistry::getPassInfo(), and llvm::PassRegistry::getPassRegistry().
Referenced by llvm::AnalysisUsage::addPreserved().
Definition at line 196 of file Pass.cpp.
References llvm::PassRegistry::getPassInfo(), and llvm::PassRegistry::getPassRegistry().
mustPreserveAnalysisID - This method serves the same function as getAnalysisIfAvailable, but works if you just have an AnalysisID.
This obviously cannot give you a properly typed instance of the class if you don't have the class name available (use getAnalysisIfAvailable if you do), but it can tell you if you need to preserve the pass at least.
Definition at line 69 of file Pass.cpp.
Referenced by llvm::LPPassManager::runOnFunction().
|
virtual |
Check if available pass managers are suitable for this pass or not.
Reimplemented in llvm::LoopPass, and llvm::RegionPass.
|
virtual |
print - Print out the internal state of the pass.
This is called by Analyze to print out the contents of an analysis. Otherwise it is not necessary to implement this method. Beware that the module pointer MAY be null. This automatically forwards to a virtual function that does not provide the Module* in case the analysis doesn't need it it can just be ignored.
Reimplemented in llvm::MachinePostDominatorTreeWrapperPass, llvm::DependenceAnalysisWrapperPass, llvm::CallGraphWrapperPass, llvm::LiveIntervalsWrapperPass, llvm::LiveStacks, llvm::StackSafetyInfoWrapperPass, llvm::StackSafetyGlobalInfoWrapperPass, llvm::LoopInfoWrapperPass, llvm::PostDominatorTreeWrapperPass, llvm::RegionInfoPass, llvm::MachineRegionInfoPass, llvm::DominanceFrontierWrapperPass, llvm::IVUsersWrapperPass, llvm::ScalarEvolutionWrapperPass, llvm::BlockFrequencyInfoWrapperPass, llvm::DXILMetadataAnalysisWrapperPass, llvm::DXILResourceWrapperPass, llvm::LazyBlockFrequencyInfoPass, llvm::LazyBranchProbabilityInfoPass, llvm::BranchProbabilityInfoWrapperPass, llvm::CycleInfoWrapperPass, llvm::MemorySSAWrapperPass, llvm::UniformityInfoWrapperPass, llvm::MachineCycleInfoWrapperPass, llvm::MachineDominatorTreeWrapperPass, llvm::MachineUniformityAnalysisPass, llvm::PhysicalRegisterUsageInfo, llvm::VirtRegMap, llvm::DominatorTreeWrapperPass, llvm::AMDGPUArgumentUsageInfo, and llvm::WebAssemblyExceptionInfo.
Definition at line 130 of file Pass.cpp.
References getPassName(), and OS.
Referenced by llvm::A57ChainingConstraint::apply(), dump(), llvm::XCoreRegisterInfo::eliminateFrameIndex(), llvm::AMDGPUAsmPrinter::emitInstruction(), llvm::R600AsmPrinter::emitInstruction(), llvm::ARMTargetLowering::EmitInstrWithCustomInserter(), llvm::HexagonLowerToMC(), llvm::BPFMCInstLower::Lower(), llvm::LanaiMCInstLower::Lower(), llvm::MSP430MCInstLower::Lower(), llvm::WebAssemblyMCInstLower::lower(), llvm::SPIRVMCInstLower::lower(), llvm::DiagnosticInfoMIROptimization::MachineArgument::MachineArgument(), llvm::operator<<(), llvm::MachineBasicBlock::print(), llvm::AArch64InstPrinter::printAdrAdrpLabel(), llvm::AArch64InstPrinter::printAlignedLabel(), llvm::AArch64InstPrinter::printInst(), llvm::X86IntelInstPrinter::printU8Imm(), and llvm::GCNRegPressurePrinter::runOnMachineFunction().
|
virtual |
releaseMemory() - This member can be implemented by a pass if it wants to be able to release its memory when it is no longer needed.
The default behavior of passes is to hold onto memory for the entire duration of their lifetime (which is the entire compile time). For pipelined passes, this is not a big deal because that memory gets recycled every time the pass is invoked on another program unit. For IP passes, it is more important to free memory when it is unused.
Optionally implement this function to release pass memory when it is no longer used.
Reimplemented in llvm::AssumptionCacheTracker, llvm::BlockFrequencyInfoWrapperPass, llvm::BranchProbabilityInfoWrapperPass, llvm::CallGraphWrapperPass, llvm::CycleInfoWrapperPass, llvm::DependenceAnalysisWrapperPass, llvm::DominanceFrontierWrapperPass, llvm::DXILMetadataAnalysisWrapperPass, llvm::DXILResourceWrapperPass, llvm::IVUsersWrapperPass, llvm::LazyBlockFrequencyInfoPass, llvm::LazyBranchProbabilityInfoPass, llvm::LazyValueInfoWrapperPass, llvm::LoopInfoWrapperPass, llvm::MemoryDependenceWrapperPass, llvm::MemorySSAWrapperPass, llvm::PhiValuesWrapperPass, llvm::PostDominatorTreeWrapperPass, llvm::RegionInfoPass, llvm::ScalarEvolutionWrapperPass, llvm::UniformityInfoWrapperPass, llvm::GISelCSEAnalysisWrapperPass, llvm::GISelKnownBitsAnalysis, llvm::LazyMachineBlockFrequencyInfoPass, llvm::LiveIntervalsWrapperPass, llvm::LiveStacks, llvm::LiveVariablesWrapperPass, llvm::MachineBlockFrequencyInfoWrapperPass, llvm::MachineCycleInfoWrapperPass, llvm::MachineDominanceFrontier, llvm::MachineDominatorTreeWrapperPass, llvm::MachineLoopInfoWrapperPass, llvm::MachinePostDominatorTreeWrapperPass, llvm::MachineRegionInfoPass, llvm::MachineTraceMetrics, llvm::ReachingDefAnalysis, llvm::SlotIndexesWrapperPass, llvm::DominatorTreeWrapperPass, llvm::RAGreedy, and llvm::WebAssemblyExceptionInfo.
Definition at line 102 of file Pass.cpp.
Referenced by llvm::legacy::FunctionPassManagerImpl::releaseMemoryOnTheFly().
void Pass::setResolver | ( | AnalysisResolver * | AR | ) |
Definition at line 122 of file Pass.cpp.
References assert().
Referenced by llvm::legacy::FunctionPassManager::FunctionPassManager().
|
virtual |
verifyAnalysis() - This member can be implemented by a analysis pass to check state of analysis information.
Reimplemented in llvm::AssumptionCacheTracker, llvm::LoopInfoWrapperPass, llvm::MemorySSAWrapperPass, llvm::PostDominatorTreeWrapperPass, llvm::RegionInfoPass, llvm::ScalarEvolutionWrapperPass, llvm::MachineDominatorTreeWrapperPass, llvm::MachinePostDominatorTreeWrapperPass, llvm::MachineRegionInfoPass, llvm::MachineTraceMetrics, and llvm::DominatorTreeWrapperPass.