reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Pass.h
  194     getAnalysisIfAvailable() const; // Defined in PassAnalysisSupport.h

References

lib/Analysis/AliasAnalysis.cpp
  797   if (auto *WrapperPass = getAnalysisIfAvailable<ScopedNoAliasAAWrapperPass>())
  799   if (auto *WrapperPass = getAnalysisIfAvailable<TypeBasedAAWrapperPass>())
  802           getAnalysisIfAvailable<objcarc::ObjCARCAAWrapperPass>())
  804   if (auto *WrapperPass = getAnalysisIfAvailable<GlobalsAAWrapperPass>())
  806   if (auto *WrapperPass = getAnalysisIfAvailable<SCEVAAWrapperPass>())
  808   if (auto *WrapperPass = getAnalysisIfAvailable<CFLAndersAAWrapperPass>())
  810   if (auto *WrapperPass = getAnalysisIfAvailable<CFLSteensAAWrapperPass>())
  815   if (auto *WrapperPass = getAnalysisIfAvailable<ExternalAAWrapperPass>())
  851           P.getAnalysisIfAvailable<ScopedNoAliasAAWrapperPass>())
  853   if (auto *WrapperPass = P.getAnalysisIfAvailable<TypeBasedAAWrapperPass>())
  856           P.getAnalysisIfAvailable<objcarc::ObjCARCAAWrapperPass>())
  858   if (auto *WrapperPass = P.getAnalysisIfAvailable<GlobalsAAWrapperPass>())
  860   if (auto *WrapperPass = P.getAnalysisIfAvailable<CFLAndersAAWrapperPass>())
  862   if (auto *WrapperPass = P.getAnalysisIfAvailable<CFLSteensAAWrapperPass>())
lib/Analysis/BasicAliasAnalysis.cpp
 2075   auto *LIWP = getAnalysisIfAvailable<LoopInfoWrapperPass>();
 2076   auto *PVWP = getAnalysisIfAvailable<PhiValuesWrapperPass>();
lib/Analysis/CostModel.cpp
   90  auto *TTIWP = getAnalysisIfAvailable<TargetTransformInfoWrapperPass>();
lib/Analysis/InstructionSimplify.cpp
 5494   auto *DTWP = P.getAnalysisIfAvailable<DominatorTreeWrapperPass>();
 5496   auto *TLIWP = P.getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
 5498   auto *ACWP = P.getAnalysisIfAvailable<AssumptionCacheTracker>();
lib/Analysis/LazyValueInfo.cpp
 1628       getAnalysisIfAvailable<DominatorTreeWrapperPass>();
lib/Analysis/LegacyDivergenceAnalysis.cpp
  318   auto *TTIWP = getAnalysisIfAvailable<TargetTransformInfoWrapperPass>();
lib/Analysis/LoopAccessAnalysis.cpp
 2422   auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  254   auto *MMIWP = getAnalysisIfAvailable<MachineModuleInfoWrapperPass>();
  288   GCModuleInfo *MI = getAnalysisIfAvailable<GCModuleInfo>();
 1033     MDT = getAnalysisIfAvailable<MachineDominatorTree>();
 1041     MLI = getAnalysisIfAvailable<MachineLoopInfo>();
 1515   GCModuleInfo *MI = getAnalysisIfAvailable<GCModuleInfo>();
 3078   GCModuleInfo *MI = getAnalysisIfAvailable<GCModuleInfo>();
lib/CodeGen/AtomicExpandPass.cpp
  198   auto *TPC = getAnalysisIfAvailable<TargetPassConfig>();
lib/CodeGen/BranchFolding.cpp
  132   auto *MMIWP = getAnalysisIfAvailable<MachineModuleInfoWrapperPass>();
lib/CodeGen/CodeGenPrepare.cpp
  421   if (auto *TPC = getAnalysisIfAvailable<TargetPassConfig>()) {
lib/CodeGen/EarlyIfConversion.cpp
  914   Loops = getAnalysisIfAvailable<MachineLoopInfo>();
 1045   Loops = getAnalysisIfAvailable<MachineLoopInfo>();
lib/CodeGen/ExpandMemCmp.cpp
  790     auto *TPC = getAnalysisIfAvailable<TargetPassConfig>();
lib/CodeGen/GCMetadata.cpp
  140   GCModuleInfo *GMI = getAnalysisIfAvailable<GCModuleInfo>();
lib/CodeGen/GCRootLowering.cpp
  106   GCModuleInfo *MI = getAnalysisIfAvailable<GCModuleInfo>();
lib/CodeGen/GlobalISel/RegBankSelect.cpp
  884       P.getAnalysisIfAvailable<MachineBlockFrequencyInfo>();
  892       P.getAnalysisIfAvailable<MachineBlockFrequencyInfo>();
  913       P.getAnalysisIfAvailable<MachineBlockFrequencyInfo>();
  920       P.getAnalysisIfAvailable<MachineBranchProbabilityInfo>();
lib/CodeGen/HardwareLoops.cpp
  185   auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
lib/CodeGen/IfConversion.cpp
  458     auto *MMIWP = getAnalysisIfAvailable<MachineModuleInfoWrapperPass>();
  600     auto *MMIWP = getAnalysisIfAvailable<MachineModuleInfoWrapperPass>();
lib/CodeGen/IndirectBrExpandPass.cpp
   77   auto *TPC = getAnalysisIfAvailable<TargetPassConfig>();
lib/CodeGen/InterleavedAccessPass.cpp
  445   auto *TPC = getAnalysisIfAvailable<TargetPassConfig>();
lib/CodeGen/InterleavedLoadCombinePass.cpp
 1318     auto *TPC = getAnalysisIfAvailable<TargetPassConfig>();
lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp
   57   auto *MBFI = getAnalysisIfAvailable<MachineBlockFrequencyInfo>();
   64   auto *MLI = getAnalysisIfAvailable<MachineLoopInfo>();
   65   auto *MDT = getAnalysisIfAvailable<MachineDominatorTree>();
lib/CodeGen/LiveDebugValues.cpp
  837   if (auto *TPC = getAnalysisIfAvailable<TargetPassConfig>()) {
lib/CodeGen/LowerEmuTLS.cpp
   65   auto *TPC = getAnalysisIfAvailable<TargetPassConfig>();
lib/CodeGen/MachineBasicBlock.cpp
  888   LiveIntervals *LIS = P.getAnalysisIfAvailable<LiveIntervals>();
  889   SlotIndexes *Indexes = P.getAnalysisIfAvailable<SlotIndexes>();
  898   LiveVariables *LV = P.getAnalysisIfAvailable<LiveVariables>();
 1072           P.getAnalysisIfAvailable<MachineDominatorTree>())
 1075   if (MachineLoopInfo *MLI = P.getAnalysisIfAvailable<MachineLoopInfo>())
lib/CodeGen/MachineBlockPlacement.cpp
 3042     auto *MMIWP = getAnalysisIfAvailable<MachineModuleInfoWrapperPass>();
lib/CodeGen/MachineFunctionPrinterPass.cpp
   49     MF.print(OS, getAnalysisIfAvailable<SlotIndexes>());
lib/CodeGen/MachineVerifier.cpp
  390     LiveInts = PASS->getAnalysisIfAvailable<LiveIntervals>();
  393       LiveVars = PASS->getAnalysisIfAvailable<LiveVariables>();
  394     LiveStks = PASS->getAnalysisIfAvailable<LiveStacks>();
  395     Indexes = PASS->getAnalysisIfAvailable<SlotIndexes>();
lib/CodeGen/PHIElimination.cpp
  149   LV = getAnalysisIfAvailable<LiveVariables>();
  150   LIS = getAnalysisIfAvailable<LiveIntervals>();
  159     MachineLoopInfo *MLI = getAnalysisIfAvailable<MachineLoopInfo>();
  190     if (auto *MDT = getAnalysisIfAvailable<MachineDominatorTree>())
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  441   auto *DTWP = getAnalysisIfAvailable<DominatorTreeWrapperPass>();
  443   auto *LIWP = getAnalysisIfAvailable<LoopInfoWrapperPass>();
  451    getAnalysisIfAvailable<LegacyDivergenceAnalysis>());
lib/CodeGen/StackProtector.cpp
   81       getAnalysisIfAvailable<DominatorTreeWrapperPass>();
lib/CodeGen/TwoAddressInstructionPass.cpp
 1673   LV = getAnalysisIfAvailable<LiveVariables>();
 1674   LIS = getAnalysisIfAvailable<LiveIntervals>();
 1675   if (auto *AAPass = getAnalysisIfAvailable<AAResultsWrapperPass>())
lib/CodeGen/UnreachableBlockElim.cpp
  106   auto *MMIWP = getAnalysisIfAvailable<MachineModuleInfoWrapperPass>();
  108   MachineDominatorTree *MDT = getAnalysisIfAvailable<MachineDominatorTree>();
  109   MachineLoopInfo *MLI = getAnalysisIfAvailable<MachineLoopInfo>();
lib/CodeGen/XRayInstrumentation.cpp
  164     auto *MDT = getAnalysisIfAvailable<MachineDominatorTree>();
  172     auto *MLI = getAnalysisIfAvailable<MachineLoopInfo>();
lib/Target/AArch64/AArch64ConditionalCompares.cpp
  939   Loops = getAnalysisIfAvailable<MachineLoopInfo>();
lib/Target/AArch64/AArch64StackTagging.cpp
  589   if (auto *P = getAnalysisIfAvailable<DominatorTreeWrapperPass>())
  600   if (auto *P = getAnalysisIfAvailable<PostDominatorTreeWrapperPass>())
lib/Target/AMDGPU/AMDGPUAliasAnalysis.h
  108       if (auto *WrapperPass = P.getAnalysisIfAvailable<AMDGPUAAWrapperPass>())
lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
  366   auto *TPC = getAnalysisIfAvailable<TargetPassConfig>();
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
   86       getAnalysisIfAvailable<DominatorTreeWrapperPass>();
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
 1027   auto *TPC = getAnalysisIfAvailable<TargetPassConfig>();
lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp
  114   auto *TPC = getAnalysisIfAvailable<TargetPassConfig>();
lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.cpp
  368   auto *TPC = getAnalysisIfAvailable<TargetPassConfig>();
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
  585   auto DTWP = getAnalysisIfAvailable<DominatorTreeWrapperPass>();
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  149   if (auto *TPC = getAnalysisIfAvailable<TargetPassConfig>())
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  709         if (auto *WrapperPass = P.getAnalysisIfAvailable<AMDGPUAAWrapperPass>())
lib/Target/AMDGPU/SILowerControlFlow.cpp
  500   LIS = getAnalysisIfAvailable<LiveIntervals>();
lib/Target/AMDGPU/SILowerSGPRSpills.cpp
  235   VRM = getAnalysisIfAvailable<VirtRegMap>();
lib/Target/PowerPC/PPCBoolRetToInt.cpp
  191     auto *TPC = getAnalysisIfAvailable<TargetPassConfig>();
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
  202   auto *DTWP = getAnalysisIfAvailable<DominatorTreeWrapperPass>();
lib/Transforms/IPO/HotColdSplitting.cpp
  685     if (auto *ACT = getAnalysisIfAvailable<AssumptionCacheTracker>())
lib/Transforms/IPO/Internalize.cpp
  267         getAnalysisIfAvailable<CallGraphWrapperPass>();
lib/Transforms/IPO/LoopExtractor.cpp
  145     if (auto *ACT = getAnalysisIfAvailable<AssumptionCacheTracker>())
lib/Transforms/InstCombine/InstructionCombining.cpp
 3609   auto *LIWP = getAnalysisIfAvailable<LoopInfoWrapperPass>();
lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
  431   auto *DTWP = getAnalysisIfAvailable<DominatorTreeWrapperPass>();
lib/Transforms/Scalar/ADCE.cpp
  709     auto *DTWP = getAnalysisIfAvailable<DominatorTreeWrapperPass>();
lib/Transforms/Scalar/DCE.cpp
   49     auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
  159     auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
lib/Transforms/Scalar/GVN.cpp
 2663     auto *LIWP = getAnalysisIfAvailable<LoopInfoWrapperPass>();
lib/Transforms/Scalar/GuardWidening.cpp
  890     auto *PDTWP = getAnalysisIfAvailable<PostDominatorTreeWrapperPass>();
lib/Transforms/Scalar/IndVarSimplify.cpp
 3170     auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
 3172     auto *TTIP = getAnalysisIfAvailable<TargetTransformInfoWrapperPass>();
lib/Transforms/Scalar/LICM.cpp
  211     auto *SE = getAnalysisIfAvailable<ScalarEvolutionWrapperPass>();
lib/Transforms/Scalar/LoopSink.cpp
  360     auto *SE = getAnalysisIfAvailable<ScalarEvolutionWrapperPass>();
lib/Transforms/Scalar/LoopUnswitch.cpp
 1009   if (auto *SEWP = getAnalysisIfAvailable<ScalarEvolutionWrapperPass>())
 1243   if (auto *SEWP = getAnalysisIfAvailable<ScalarEvolutionWrapperPass>())
lib/Transforms/Scalar/LowerConstantIntrinsics.cpp
  157     auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
lib/Transforms/Scalar/MergeICmps.cpp
  904     auto *DTWP = getAnalysisIfAvailable<DominatorTreeWrapperPass>();
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
 2942   auto *SEWP = getAnalysisIfAvailable<ScalarEvolutionWrapperPass>();
lib/Transforms/Scalar/TailRecursionElimination.cpp
  831     auto *DTWP = getAnalysisIfAvailable<DominatorTreeWrapperPass>();
  833     auto *PDTWP = getAnalysisIfAvailable<PostDominatorTreeWrapperPass>();
lib/Transforms/Utils/BreakCriticalEdges.cpp
   50       auto *DTWP = getAnalysisIfAvailable<DominatorTreeWrapperPass>();
   53       auto *PDTWP = getAnalysisIfAvailable<PostDominatorTreeWrapperPass>();
   56       auto *LIWP = getAnalysisIfAvailable<LoopInfoWrapperPass>();
lib/Transforms/Utils/LCSSA.cpp
  473   auto *SEWP = getAnalysisIfAvailable<ScalarEvolutionWrapperPass>();
lib/Transforms/Utils/LibCallsShrinkWrap.cpp
  537   auto *DTWP = getAnalysisIfAvailable<DominatorTreeWrapperPass>();
lib/Transforms/Utils/LoopSimplify.cpp
  801   auto *SEWP = getAnalysisIfAvailable<ScalarEvolutionWrapperPass>();
  808     auto *MSSAAnalysis = getAnalysisIfAvailable<MemorySSAWrapperPass>();
lib/Transforms/Utils/LowerSwitch.cpp
  148   auto *ACT = getAnalysisIfAvailable<AssumptionCacheTracker>();
lib/Transforms/Vectorize/LoopVectorize.cpp
 1605     auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
lib/Transforms/Vectorize/SLPVectorizer.cpp
 5210     auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
tools/polly/lib/Support/ScopHelper.cpp
  213   auto *DTWP = P->getAnalysisIfAvailable<DominatorTreeWrapperPass>();
  215   auto *LIWP = P->getAnalysisIfAvailable<LoopInfoWrapperPass>();
  217   RegionInfoPass *RIP = P->getAnalysisIfAvailable<RegionInfoPass>();
unittests/Analysis/AliasAnalysisTest.cpp
  238     if (auto *WrapperPass = P.getAnalysisIfAvailable<TestCustomAAWrapperPass>())