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

References

include/llvm/Pass.h
  213   AnalysisType &getAnalysisID(AnalysisID PI) const;
include/llvm/PassAnalysisSupport.h
   66     return addRequiredID(PassClass::ID);
   72     return addRequiredTransitiveID(PassClass::ID);
   89     Preserved.push_back(&PassClass::ID);
  201 AnalysisType *Pass::getAnalysisIfAvailable() const {
  204   const void *PI = &AnalysisType::ID;
  220 AnalysisType &Pass::getAnalysis() const {
  222   return getAnalysisID<AnalysisType>(&AnalysisType::ID);
  222   return getAnalysisID<AnalysisType>(&AnalysisType::ID);
include/llvm/PassSupport.h
   76 template <typename PassName> Pass *callDefaultCtor() { return new PassName(); }
lib/Analysis/BasicAliasAnalysis.cpp
 2075   auto *LIWP = getAnalysisIfAvailable<LoopInfoWrapperPass>();
 2075   auto *LIWP = getAnalysisIfAvailable<LoopInfoWrapperPass>();
lib/Analysis/BlockFrequencyInfo.cpp
  312   AU.addRequired<LoopInfoWrapperPass>();
  321   LoopInfo &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Analysis/BranchProbabilityInfo.cpp
 1022   AU.addRequired<LoopInfoWrapperPass>();
 1028   const LoopInfo &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Analysis/Delinearization.cpp
   60   AU.addRequired<LoopInfoWrapperPass>();
   67   LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Analysis/DependenceAnalysis.cpp
  151   auto &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
  164   AU.addRequiredTransitive<LoopInfoWrapperPass>();
lib/Analysis/IVUsers.cpp
  359   AU.addRequired<LoopInfoWrapperPass>();
  368   auto *LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Analysis/LazyBlockFrequencyInfo.cpp
   48   AU.addRequired<LoopInfoWrapperPass>();
   56   LoopInfo &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
   64   AU.addRequired<LoopInfoWrapperPass>();
lib/Analysis/LazyBranchProbabilityInfo.cpp
   49   AU.addRequired<LoopInfoWrapperPass>();
   57   LoopInfo &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
   66   AU.addRequired<LoopInfoWrapperPass>();
lib/Analysis/LegacyDivergenceAnalysis.cpp
  300     AU.addRequired<LoopInfoWrapperPass>();
  310   auto &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
  337     auto &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Analysis/LoopAccessAnalysis.cpp
 2426   LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
 2435     AU.addRequired<LoopInfoWrapperPass>();
lib/Analysis/LoopPass.cpp
  138   Info.addRequired<LoopInfoWrapperPass>();
  162   auto &LIWP = getAnalysis<LoopInfoWrapperPass>();
  162   auto &LIWP = getAnalysis<LoopInfoWrapperPass>();
lib/Analysis/MustExecute.cpp
  310       AU.addRequired<LoopInfoWrapperPass>();
  437   auto &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Analysis/ScalarEvolution.cpp
12039       getAnalysis<LoopInfoWrapperPass>().getLoopInfo()));
12059   AU.addRequiredTransitive<LoopInfoWrapperPass>();
lib/CodeGen/CodeGenPrepare.cpp
  322       AU.addRequired<LoopInfoWrapperPass>();
  429   LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/CodeGen/HardwareLoops.cpp
   93       AU.addRequired<LoopInfoWrapperPass>();
   94       AU.addPreserved<LoopInfoWrapperPass>();
  180   LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/CodeGen/MachineFunctionPass.cpp
  118   AU.addPreserved<LoopInfoWrapperPass>();
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  443   auto *LIWP = getAnalysisIfAvailable<LoopInfoWrapperPass>();
  443   auto *LIWP = getAnalysisIfAvailable<LoopInfoWrapperPass>();
lib/Target/AArch64/AArch64FalkorHWPFFix.cpp
   94     AU.addRequired<LoopInfoWrapperPass>();
   95     AU.addPreserved<LoopInfoWrapperPass>();
  129   LoopInfo &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp
   51     AU.addRequired<LoopInfoWrapperPass>();
  171   LI  = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
  115     AU.addRequired<LoopInfoWrapperPass>();
  323   LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Target/ARM/MVETailPredication.cpp
   63     AU.addRequired<LoopInfoWrapperPass>();
   66     AU.addPreserved<LoopInfoWrapperPass>();
lib/Target/Hexagon/HexagonCommonGEP.cpp
  112       AU.addRequired<LoopInfoWrapperPass>();
  113       AU.addPreserved<LoopInfoWrapperPass>();
 1284   LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
  129       AU.addRequired<LoopInfoWrapperPass>();
 2428   LF = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
  277       AU.addRequired<LoopInfoWrapperPass>();
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
   99       AU.addRequired<LoopInfoWrapperPass>();
  100       AU.addPreserved<LoopInfoWrapperPass>();
  200   LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/IPO/LoopExtractor.cpp
   53       AU.addRequired<LoopInfoWrapperPass>();
   98   LoopInfo &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/InstCombine/InstructionCombining.cpp
 3609   auto *LIWP = getAnalysisIfAvailable<LoopInfoWrapperPass>();
 3609   auto *LIWP = getAnalysisIfAvailable<LoopInfoWrapperPass>();
lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
   63     AU.addPreserved<LoopInfoWrapperPass>();
lib/Transforms/Scalar/GVN.cpp
 2663     auto *LIWP = getAnalysisIfAvailable<LoopInfoWrapperPass>();
 2663     auto *LIWP = getAnalysisIfAvailable<LoopInfoWrapperPass>();
 2681     AU.addRequired<LoopInfoWrapperPass>();
 2689     AU.addPreserved<LoopInfoWrapperPass>();
lib/Transforms/Scalar/GuardWidening.cpp
  857     auto &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
  870     AU.addRequired<LoopInfoWrapperPass>();
  889     auto &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Scalar/IndVarSimplify.cpp
 3167     auto *LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
 1776   auto &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Scalar/LICM.cpp
  221                           &getAnalysis<LoopInfoWrapperPass>().getLoopInfo(),
  235     AU.addPreserved<LoopInfoWrapperPass>();
lib/Transforms/Scalar/LoopDataPrefetch.cpp
  113     AU.addRequired<LoopInfoWrapperPass>();
  114     AU.addPreserved<LoopInfoWrapperPass>();
  182   LoopInfo *LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Scalar/LoopDeletion.cpp
  256   LoopInfo &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Scalar/LoopDistribute.cpp
 1019     auto *LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
 1032     AU.addRequired<LoopInfoWrapperPass>();
 1033     AU.addPreserved<LoopInfoWrapperPass>();
lib/Transforms/Scalar/LoopFuse.cpp
 1572     AU.addRequired<LoopInfoWrapperPass>();
 1579     AU.addPreserved<LoopInfoWrapperPass>();
 1587     auto &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  273     LoopInfo *LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Scalar/LoopInstSimplify.cpp
  190     LoopInfo &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Scalar/LoopInterchange.cpp
  457     LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Scalar/LoopLoadElimination.cpp
  641     auto &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
  657     AU.addRequired<LoopInfoWrapperPass>();
  658     AU.addPreserved<LoopInfoWrapperPass>();
lib/Transforms/Scalar/LoopRerollPass.cpp
 1645   LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Scalar/LoopRotation.cpp
   94     auto *LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Scalar/LoopSimplifyCFG.cpp
  723     LoopInfo &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Scalar/LoopSink.cpp
  363         getAnalysis<LoopInfoWrapperPass>().getLoopInfo(),
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 5689   AU.addRequired<LoopInfoWrapperPass>();
 5690   AU.addPreserved<LoopInfoWrapperPass>();
 5743   auto &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
  447     LoopInfo *LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Scalar/LoopUnrollPass.cpp
 1226     LoopInfo *LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Scalar/LoopUnswitch.cpp
  524   LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Scalar/LoopVersioningLICM.cpp
  134     AU.addRequired<LoopInfoWrapperPass>();
  590   LoopInfo *LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Scalar/PlaceSafepoints.cpp
  133     LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
  144     AU.addRequired<LoopInfoWrapperPass>();
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  357     AU.addRequired<LoopInfoWrapperPass>();
 1123   LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
 2932   auto &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Scalar/Sink.cpp
  278       auto &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
  289       AU.addRequired<LoopInfoWrapperPass>();
  291       AU.addPreserved<LoopInfoWrapperPass>();
lib/Transforms/Scalar/StructurizeCFG.cpp
  280     AU.addRequired<LoopInfoWrapperPass>();
 1037   LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Scalar/WarnMissedTransforms.cpp
  122     auto &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
  130     AU.addRequired<LoopInfoWrapperPass>();
lib/Transforms/Utils/BreakCriticalEdges.cpp
   56       auto *LIWP = getAnalysisIfAvailable<LoopInfoWrapperPass>();
   56       auto *LIWP = getAnalysisIfAvailable<LoopInfoWrapperPass>();
   66       AU.addPreserved<LoopInfoWrapperPass>();
lib/Transforms/Utils/LCSSA.cpp
  440     AU.addRequired<LoopInfoWrapperPass>();
  471   LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Utils/LoopSimplify.cpp
  760       AU.addRequired<LoopInfoWrapperPass>();
  761       AU.addPreserved<LoopInfoWrapperPass>();
  799   LoopInfo *LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
lib/Transforms/Utils/LoopUtils.cpp
  144   AU.addRequired<LoopInfoWrapperPass>();
  145   AU.addPreserved<LoopInfoWrapperPass>();
lib/Transforms/Utils/LoopVersioning.cpp
  263     auto *LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
  297     AU.addRequired<LoopInfoWrapperPass>();
  298     AU.addPreserved<LoopInfoWrapperPass>();
lib/Transforms/Vectorize/LoopVectorize.cpp
 1601     auto *LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
 1625     AU.addRequired<LoopInfoWrapperPass>();
 1638       AU.addPreserved<LoopInfoWrapperPass>();
lib/Transforms/Vectorize/SLPVectorizer.cpp
 5213     auto *LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
 5228     AU.addRequired<LoopInfoWrapperPass>();
 5232     AU.addPreserved<LoopInfoWrapperPass>();
tools/polly/lib/Analysis/PolyhedralInfo.cpp
   48   AU.addRequired<LoopInfoWrapperPass>();
   60   auto &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
tools/polly/lib/Analysis/ScopDetection.cpp
 1852   auto &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
 1863   AU.addRequired<LoopInfoWrapperPass>();
tools/polly/lib/Analysis/ScopInfo.cpp
 2618   AU.addRequired<LoopInfoWrapperPass>();
 2672   auto &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
 2794   AU.addRequired<LoopInfoWrapperPass>();
 2808   auto &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
tools/polly/lib/Analysis/ScopPass.cpp
   46   AU.addPreserved<LoopInfoWrapperPass>();
tools/polly/lib/CodeGen/CodeGeneration.cpp
  330     LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
  348     AU.addRequired<LoopInfoWrapperPass>();
tools/polly/lib/Support/ScopHelper.cpp
  215   auto *LIWP = P->getAnalysisIfAvailable<LoopInfoWrapperPass>();
  215   auto *LIWP = P->getAnalysisIfAvailable<LoopInfoWrapperPass>();
tools/polly/lib/Transform/CodePreparation.cpp
   85   AU.addRequired<LoopInfoWrapperPass>();
   88   AU.addPreserved<LoopInfoWrapperPass>();
   98   LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
tools/polly/lib/Transform/DeLICM.cpp
 1360     auto &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
 1381     AU.addRequired<LoopInfoWrapperPass>();
tools/polly/lib/Transform/ForwardOpTree.cpp
  905     AU.addRequired<LoopInfoWrapperPass>();
  913     LoopInfo &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
tools/polly/lib/Transform/Simplify.cpp
  622     AU.addRequired<LoopInfoWrapperPass>();
  648     LoopInfo *LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
unittests/Analysis/CFGTest.cpp
   91         AU.addRequired<LoopInfoWrapperPass>();
   99         LoopInfo *LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
unittests/Analysis/UnrollAnalyzerTest.cpp
   27     LoopInfo *LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
   50     AU.addRequired<LoopInfoWrapperPass>();