Manages registration and initialization of the pass subsystem.
Synopsis
Declared in <llvm/PassRegistry.h>
class PassRegistry;
Description
Assists the PassManager in resolving pass dependencies. Passes are registered with the registry at application startup.
NOTE: PassRegistry is NOT thread‐safe. If you want to use LLVM on multiple threads simultaneously, you will need to use a separate PassRegistry on each thread.
Member Functions
Name |
Description |
|
Constructs an empty pass registry. |
|
Destroys the registry and frees owned PassInfo objects. |
addRegistrationListener ‐ Register the given PassRegistrationListener to receive passRegistered() callbacks whenever a new pass is registered. |
|
enumerateWith ‐ Enumerate the registered passes, calling the provided PassRegistrationListener's passEnumerate() callback on each of them. |
|
|
|
registerPass ‐ Register a pass (by means of its PassInfo) with the registry. Required in order to use the pass with a PassManager. |
|
removeRegistrationListener ‐ Unregister a PassRegistrationListener so that it no longer receives passRegistered() callbacks. |
Static Member Functions
Name |
Description |
getPassRegistry ‐ Access the global registry object, which is automatically initialized at application launch and destroyed by llvm_shutdown. |
Non-Member Functions
Name |
Description |
Initialize the AAResultsWrapperPass pass. |
|
Initialize the AlwaysInlinerLegacyPass pass. |
|
Initialize all passes linked into the Analysis library. |
|
Initialize the AssignmentTrackingAnalysis pass. |
|
Initialize the AssumptionCacheTracker pass. |
|
Initialize the AtomicExpandLegacy pass. |
|
Initialize the BarrierNoop pass. |
|
Initialize the BasicAAWrapperPass pass. |
|
Initialize the BasicBlockMatchingAndInference pass. |
|
Initialize the BasicBlockPathCloning pass. |
|
Initialize the BasicBlockSections pass. |
|
Initialize the BasicBlockSectionsProfileReaderWrapperPass pass. |
|
Initialize the BlockFrequencyInfoWrapperPass pass. |
|
Initialize the BranchFolderLegacy pass. |
|
Initialize the BranchProbabilityInfoWrapperPass pass. |
|
Initialize the BranchRelaxationLegacy pass. |
|
Initialize the BreakCriticalEdges pass. |
|
Initialize the BreakFalseDepsLegacy pass. |
|
Initialize the CFGSimplifyPass pass. |
|
Initialize the CFGuardLongjmp pass. |
|
Initialize the CFGuard pass. |
|
Initialize the CFIFixupLegacy pass. |
|
Initialize the CFIInstrInserterLegacy pass. |
|
Initialize the CallGraphDOTPrinter pass. |
|
Initialize the CallGraphViewer pass. |
|
Initialize the CallGraphWrapperPass pass. |
|
Initialize the CanonicalizeFreezeInLoops pass. |
|
Initialize the CheckDebugMachineModuleLegacy pass. |
|
Initialize all passes linked into the CodeGen library. |
|
Initialize the CodeGenPrepareLegacyPass pass. |
|
Initialize the ComplexDeinterleavingLegacyPass pass. |
|
Initialize the ConstantHoistingLegacyPass pass. |
|
Initialize all passes linked into the Core library. |
|
Initialize the CycleInfoWrapperPass pass. |
|
Initialize the DAE pass. |
|
Initialize the DCELegacyPass pass. |
|
Initialize the DSELegacyPass pass. |
|
Initialize the DXILMetadataAnalysisWrapperPass pass. |
|
Initialize the DXILMetadataAnalysisWrapperPrinter pass. |
|
Initialize the DXILResourceBindingWrapperPass pass. |
|
Initialize the DXILResourceTypeWrapperPass pass. |
|
Initialize the DXILResourceWrapperPass pass. |
|
Initialize the DeadMachineInstructionElim pass. |
|
Initialize the DebugifyMachineModule pass. |
|
Initialize the DependenceAnalysisWrapperPass pass. |
|
Initialize the DetectDeadLanesLegacy pass. |
|
Initialize the DomOnlyPrinterWrapperPass pass. |
|
Initialize the DomOnlyViewerWrapperPass pass. |
|
Initialize the DomPrinterWrapperPass pass. |
|
Initialize the DomViewerWrapperPass pass. |
|
Initialize the DominanceFrontierWrapperPass pass. |
|
Initialize the DominatorTreeWrapperPass pass. |
|
Initialize the DummyCGSCCPass pass. |
|
Initialize the DwarfEHPrepareLegacyPass pass. |
|
Initialize the EHContGuardTargetsLegacy pass. |
|
Initialize the EarlyCSELegacyPass pass. |
|
Initialize the EarlyCSEMemSSALegacyPass pass. |
|
Initialize the EarlyIfConverterLegacy pass. |
|
Initialize the EarlyIfPredicator pass. |
|
Initialize the EarlyMachineLICM pass. |
|
Initialize the EarlyTailDuplicateLegacy pass. |
|
Initialize the EdgeBundlesWrapperLegacy pass. |
|
Initialize the ExpandIRInstsLegacyPass pass. |
|
Initialize the ExpandPostRALegacy pass. |
|
Initialize the ExpandReductions pass. |
|
Initialize the ExpandVariadics pass. |
|
Initialize the ExternalAAWrapperPass pass. |
|
Initialize the FEntryInserterLegacy pass. |
|
Initialize the FinalizeISel pass. |
|
Initialize the FixIrreducible pass. |
|
Initialize the FixupStatepointCallerSavedLegacy pass. |
|
Initialize the FlattenCFGLegacyPass pass. |
|
Initialize the FuncletLayoutLegacy pass. |
|
Initialize the GCEmptyBasicBlocksLegacy pass. |
|
Initialize the GCMachineCodeAnalysis pass. |
|
Initialize the GCModuleInfo pass. |
|
Initialize the GISelCSEAnalysisWrapperPass pass. |
|
Initialize the GISelValueTrackingAnalysisLegacy pass. |
|
Initialize the GVNLegacyPass pass. |
|
Initialize the GlobalDCELegacyPass pass. |
|
Initialize all passes linked into the GlobalISel library. |
|
Initialize the GlobalMergeFuncPassWrapper pass. |
|
Initialize the GlobalMerge pass. |
|
Initialize the GlobalsAAWrapperPass pass. |
|
Initialize the HardwareLoopsLegacy pass. |
|
Initialize all passes linked into the IPO library. |
|
Initialize the IRTranslatorLegacy pass. |
|
Initialize the IVUsersWrapperPass pass. |
|
Initialize the IfConverter pass. |
|
Initialize the ImmutableModuleSummaryIndexWrapperPass pass. |
|
Initialize the ImplicitNullChecksLegacy pass. |
|
Initialize the IndirectBrExpandLegacyPass pass. |
|
Initialize the InferAddressSpaces pass. |
|
Initialize the InitUndefLegacy pass. |
|
Initialize the InlineAsmPrepare pass. |
|
Initialize the InsertCodePrefetch pass. |
|
Initialize all passes linked into the InstCombine library. |
|
Initialize the InstSimplifyLegacyPass pass. |
|
Initialize the InstructionCombiningPass pass. |
|
Initialize the InstructionSelectLegacy pass. |
|
Initialize the InterleavedAccess pass. |
|
Initialize the InterleavedLoadCombine pass. |
|
Initialize the JMCInstrumenter pass. |
|
Initialize the LCSSAVerificationPass pass. |
|
Initialize the LCSSAWrapperPass pass. |
|
Initialize the LazyBFIPass pass. |
|
Helper for client passes to initialize dependent passes for LBPI. |
|
Initialize the LazyBlockFrequencyInfoPass pass. |
|
Initialize the LazyBranchProbabilityInfoPass pass. |
|
Initialize the LazyMachineBlockFrequencyInfoPass pass. |
|
Initialize the LazyValueInfoWrapperPass pass. |
|
Initialize the LegacyLICMPass pass. |
|
Initialize the LegalizerLegacy pass. |
|
Initialize the LibcallLoweringInfoWrapper pass. |
|
Initialize the LiveDebugValuesLegacy pass. |
|
Initialize the LiveDebugVariablesWrapperLegacy pass. |
|
Initialize the LiveIntervalsWrapperPass pass. |
|
Initialize the LiveRangeShrink pass. |
|
Initialize the LiveRegMatrixWrapperLegacy pass. |
|
Initialize the LiveStacksWrapperLegacy pass. |
|
Initialize the LiveVariablesWrapperPass pass. |
|
Initialize the LoadStoreOptLegacy pass. |
|
Initialize the LoadStoreVectorizerLegacyPass pass. |
|
Initialize the LocalStackSlotPass pass. |
|
Initialize the LocalizerLegacy pass. |
|
Initialize the LogicalSROALegacyPass pass. |
|
Initialize the LoopDataPrefetchLegacyPass pass. |
|
Initialize the LoopInfoWrapperPass pass. |
|
Initialize the LoopPass pass. |
|
Initialize the LoopSimplify pass. |
|
Initialize the LoopStrengthReduce pass. |
|
Initialize the LoopTermFold pass. |
|
Initialize the LoopUnroll pass. |
|
Initialize the LowerAtomicLegacyPass pass. |
|
Initialize the LowerEmuTLS pass. |
|
Initialize the LowerGlobalDtorsLegacyPass pass. |
|
Initialize the LowerIntrinsics pass. |
|
Initialize the LowerInvokeLegacyPass pass. |
|
Initialize the LowerSwitchLegacyPass pass. |
|
Initialize the MIR2VecPrinterLegacyPass pass. |
|
Initialize the MIR2VecVocabLegacyAnalysis pass. |
|
Initialize the MIR2VecVocabPrinterLegacyPass pass. |
|
Initialize the MIRAddFSDiscriminators pass. |
|
Initialize the MIRCanonicalizer pass. |
|
Initialize the MIRNamer pass. |
|
Initialize the MIRPrintingPass pass. |
|
Initialize the MIRProfileLoaderPass pass. |
|
Initialize the MachineBlockFrequencyInfoWrapperPass pass. |
|
Initialize the MachineBlockHashInfo pass. |
|
Initialize the MachineBlockPlacementLegacy pass. |
|
Initialize the MachineBlockPlacementStatsLegacy pass. |
|
Initialize the MachineBranchProbabilityInfoWrapperPass pass. |
|
Initialize the MachineCFGPrinterLegacy pass. |
|
Initialize the MachineCSELegacy pass. |
|
Initialize the MachineCombinerLegacy pass. |
|
Initialize the MachineCopyPropagationLegacy pass. |
|
Initialize the MachineCycleInfoPrinterLegacy pass. |
|
Initialize the MachineCycleInfoWrapperPass pass. |
|
Initialize the MachineDominanceFrontierWrapperPass pass. |
|
Initialize the MachineDominatorTreeWrapperPass pass. |
|
Initialize the MachineFunctionPrinterPass pass. |
|
Initialize the MachineFunctionSplitter pass. |
|
Initialize the MachineKCFILegacy pass. |
|
Initialize the MachineLICM pass. |
|
Initialize the MachineLateInstrsCleanupLegacy pass. |
|
Initialize the MachineLoopInfoWrapperPass pass. |
|
Initialize the MachineModuleInfoWrapperPass pass. |
|
Initialize the MachineOptimizationRemarkEmitterPass pass. |
|
Initialize the MachineOutliner pass. |
|
Initialize the MachinePipeliner pass. |
|
Initialize the MachinePostDominatorTreeWrapperPass pass. |
|
Initialize the MachineRegionInfoPass pass. |
|
Initialize the MachineRegisterClassInfoWrapperPass pass. |
|
Initialize the MachineSanitizerBinaryMetadataLegacy pass. |
|
Initialize the MachineSchedulerLegacy pass. |
|
Initialize the MachineSinkingLegacy pass. |
|
Initialize the MachineTraceMetricsWrapperPass pass. |
|
Initialize the MachineUniformityAnalysisPass pass. |
|
Initialize the MachineUniformityInfoPrinterPass pass. |
|
Initialize the MachineVerifierLegacyPass pass. |
|
Initialize the MemoryDependenceWrapperPass pass. |
|
Initialize the MemorySSAWrapperPass pass. |
|
Initialize the ModuleSummaryIndexWrapperPass pass. |
|
Initialize the ModuloScheduleTest pass. |
|
Initialize the NaryReassociateLegacyPass pass. |
|
Initialize the ObjCARCContractLegacyPass pass. |
|
Initialize the OptimizationRemarkEmitterWrapperPass pass. |
|
Initialize the OptimizePHIsLegacy pass. |
|
Initialize the PEILegacy pass. |
|
Initialize the PHIElimination pass. |
|
Initialize the PartiallyInlineLibCallsLegacyPass pass. |
|
Initialize the PatchableFunctionLegacy pass. |
|
Initialize the PeepholeOptimizerLegacy pass. |
|
Initialize the PhiValuesWrapperPass pass. |
|
Initialize the PhysicalRegisterUsageInfoWrapperLegacy pass. |
|
Initialize the PlaceBackedgeSafepointsLegacyPass pass. |
|
Initialize the PostDomOnlyPrinterWrapperPass pass. |
|
Initialize the PostDomOnlyViewerWrapperPass pass. |
|
Initialize the PostDomPrinterWrapperPass pass. |
|
Initialize the PostDomViewerWrapperPass pass. |
|
Initialize the PostDominatorTreeWrapperPass pass. |
|
Initialize the PostInlineEntryExitInstrumenter pass. |
|
Initialize the PostMachineSchedulerLegacy pass. |
|
Initialize the PostRAHazardRecognizerLegacy pass. |
|
Initialize the PostRAMachineSinkingLegacy pass. |
|
Initialize the PostRASchedulerLegacy pass. |
|
Initialize the PreISelIntrinsicLoweringLegacyPass pass. |
|
Initialize the PrintFunctionPassWrapper pass. |
|
Initialize the PrintModulePassWrapper pass. |
|
Initialize the ProcessImplicitDefsLegacy pass. |
|
Initialize the ProfileSummaryInfoWrapperPass pass. |
|
Initialize the PromoteLegacyPass pass. |
|
Initialize the PseudoProbeInserter pass. |
|
Initialize the RABasic pass. |
|
Initialize the RAGreedyLegacy pass. |
|
Initialize the ReachingDefInfoWrapperPass pass. |
|
Initialize the ReassociateLegacyPass pass. |
|
Initialize the RegAllocEvictionAdvisorAnalysisLegacy pass. |
|
Initialize the RegAllocFast pass. |
|
Initialize the RegAllocPriorityAdvisorAnalysisLegacy pass. |
|
Initialize the RegAllocScoring pass. |
|
Initialize the RegBankSelectLegacy pass. |
|
Initialize the RegToMemWrapperPass pass. |
|
Initialize the RegUsageInfoCollectorLegacy pass. |
|
Initialize the RegUsageInfoPropagationLegacy pass. |
|
Initialize the RegionInfoPass pass. |
|
Initialize the RegionOnlyPrinter pass. |
|
Initialize the RegionOnlyViewer pass. |
|
Initialize the RegionPrinter pass. |
|
Initialize the RegionViewer pass. |
|
Initialize the RegisterCoalescerLegacy pass. |
|
Initialize the RemoveLoadsIntoFakeUsesLegacy pass. |
|
Initialize the RemoveRedundantDebugValuesLegacy pass. |
|
Initialize the RenameIndependentSubregsLegacy pass. |
|
Initialize the ReplaceWithVeclibLegacy pass. |
|
Initialize the ResetMachineFunction pass. |
|
Initialize the RuntimeLibraryInfoWrapper pass. |
|
Initialize the SCEVAAWrapperPass pass. |
|
Initialize the SROALegacyPass pass. |
|
Initialize the SafeStackLegacyPass pass. |
|
Initialize the SafepointIRVerifier pass. |
|
Initialize the ScalarEvolutionWrapperPass pass. |
|
Initialize all passes linked into the ScalarOpts library. |
|
Initialize the ScalarizeMaskedMemIntrinLegacyPass pass. |
|
Initialize the ScalarizerLegacyPass pass. |
|
Initialize the ScavengerTest pass. |
|
Initialize the ScopedNoAliasAAWrapperPass pass. |
|
Initialize the SelectOptimize pass. |
|
Initialize the SeparateConstOffsetFromGEPLegacyPass pass. |
|
Initialize the ShadowStackGCLowering pass. |
|
Initialize the ShrinkWrapLegacy pass. |
|
Initialize the SinkingLegacyPass pass. |
|
Initialize the SjLjEHPrepare pass. |
|
Initialize the SlotIndexesWrapperPass pass. |
|
Initialize the SpeculativeExecutionLegacyPass pass. |
|
Initialize the SpillPlacementWrapperLegacy pass. |
|
Initialize the StackColoringLegacy pass. |
|
Initialize the StackFrameLayoutAnalysisLegacy pass. |
|
Initialize the StackMapLiveness pass. |
|
Initialize the StackProtector pass. |
|
Initialize the StackSafetyGlobalInfoWrapperPass pass. |
|
Initialize the StackSafetyInfoWrapperPass pass. |
|
Initialize the StackSlotColoringLegacy pass. |
|
Initialize the StaticDataAnnotatorLegacy pass. |
|
Initialize the StaticDataProfileInfoWrapperPass pass. |
|
Initialize the StaticDataSplitterLegacy pass. |
|
Initialize the StraightLineStrengthReduceLegacyPass pass. |
|
Initialize the StripConvergenceIntrinsicsLegacyPass pass. |
|
Initialize the StripDebugMachineModule pass. |
|
Initialize the StructurizeCFGLegacyPass pass. |
|
Initialize the TailCallElim pass. |
|
Initialize the TailDuplicateLegacy pass. |
|
Initialize all passes linked into the CodeGen library. |
|
Initialize the TargetLibraryInfoWrapperPass pass. |
|
Initialize the TargetPassConfig pass. |
|
Initialize the TargetTransformInfoWrapperPass pass. |
|
Initialize all passes linked into the TransformUtils library. |
|
Initialize the TwoAddressInstructionLegacyPass pass. |
|
Initialize the TypeBasedAAWrapperPass pass. |
|
Initialize the TypePromotionLegacy pass. |
|
Initialize the UniformityInfoWrapperPass pass. |
|
Initialize the UnifyLoopExitsLegacyPass pass. |
|
Initialize the UnpackMachineBundlesLegacy pass. |
|
Initialize the UnreachableBlockElimLegacyPass pass. |
|
Initialize the UnreachableMachineBlockElimLegacy pass. |
|
Initialize all passes linked into the Vectorize library. |
|
Initialize the VerifierLegacyPass pass. |
|
Initialize the VirtRegMapWrapperLegacy pass. |
|
Initialize the VirtRegRewriterLegacy pass. |
|
Initialize the WasmEHPrepare pass. |
|
Initialize the WinEHPrepare pass. |
|
Initialize the WindowsSecureHotPatching pass. |
|
Initialize the WriteBitcodePass pass. |
|
Initialize the XRayInstrumentationLegacy pass. |
Created with MrDocs