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/AliasAnalysis.cpp
  787       new AAResults(getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F)));
  826   AU.addRequired<TargetLibraryInfoWrapperPass>();
  843   AAResults AAR(P.getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F));
  900   AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Analysis/BasicAliasAnalysis.cpp
 2073   auto &TLIWP = getAnalysis<TargetLibraryInfoWrapperPass>();
 2073   auto &TLIWP = getAnalysis<TargetLibraryInfoWrapperPass>();
 2091   AU.addRequired<TargetLibraryInfoWrapperPass>();
 2098       P.getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F),
lib/Analysis/BranchProbabilityInfo.cpp
 1023   AU.addRequired<TargetLibraryInfoWrapperPass>();
 1030       getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Analysis/CFLAndersAliasAnalysis.cpp
  923     return this->getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
  930   AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Analysis/CFLSteensAliasAnalysis.cpp
  355     return this->getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
  362   AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Analysis/GlobalsModRef.cpp
 1010     return this->getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
 1025   AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Analysis/InstructionSimplify.cpp
 5496   auto *TLIWP = P.getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
 5496   auto *TLIWP = P.getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
lib/Analysis/LazyBranchProbabilityInfo.cpp
   50   AU.addRequired<TargetLibraryInfoWrapperPass>();
   59       getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
   67   AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Analysis/LazyValueInfo.cpp
 1630   Info.TLI = &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
 1642   AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Analysis/Lint.cpp
  149       AU.addRequired<TargetLibraryInfoWrapperPass>();
  208   TLI = &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Analysis/LoopAccessAnalysis.cpp
 2422   auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
 2422   auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
lib/Analysis/MemoryDependenceAnalysis.cpp
 1790   AU.addRequiredTransitive<TargetLibraryInfoWrapperPass>();
 1819   auto &TLI = getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Analysis/ScalarEvolution.cpp
12036       F, getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F),
12061   AU.addRequiredTransitive<TargetLibraryInfoWrapperPass>();
lib/CodeGen/CodeGenPrepare.cpp
  320       AU.addRequired<TargetLibraryInfoWrapperPass>();
  427   TLInfo = &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/CodeGen/ExpandMemCmp.cpp
  798         &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
  807     AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/CodeGen/HardwareLoops.cpp
  185   auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
  185   auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
lib/CodeGen/SafeStack.cpp
  849     AU.addRequired<TargetLibraryInfoWrapperPass>();
  874     auto &TLI = getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  339   AU.addRequired<TargetLibraryInfoWrapperPass>();
  438   LibInfo = &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(Fn);
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
   65     AU.addRequired<TargetLibraryInfoWrapperPass>();
  588     return this->getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Target/ARM/ARMParallelDSP.cpp
  248       AU.addRequired<TargetLibraryInfoWrapperPass>();
  264       TLI = &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
  136       AU.addRequired<TargetLibraryInfoWrapperPass>();
  137       AU.addPreserved<TargetLibraryInfoWrapperPass>();
 2429   TLI = &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(
lib/Target/Target.cpp
   65   unwrap(PM)->add(new TargetLibraryInfoWrapperPass(*unwrap(TLI)));
lib/Target/WebAssembly/WebAssemblyMemIntrinsicResults.cpp
   64     AU.addRequired<TargetLibraryInfoWrapperPass>();
  188       getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(MF.getFunction());
lib/Target/WebAssembly/WebAssemblyPeephole.cpp
   39     AU.addRequired<TargetLibraryInfoWrapperPass>();
  144       getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(MF.getFunction());
lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
  364   AU.addRequired<TargetLibraryInfoWrapperPass>();
  372   auto &TLI = getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Transforms/IPO/ArgumentPromotion.cpp
 1081     AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Transforms/IPO/Attributor.cpp
 4988     AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Transforms/IPO/GlobalOpt.cpp
 3009       return this->getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
 3024     AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Transforms/IPO/InferFunctionAttrs.cpp
   60     AU.addRequired<TargetLibraryInfoWrapperPass>();
   68       return this->getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Transforms/IPO/Inliner.cpp
  134   AU.addRequired<TargetLibraryInfoWrapperPass>();
  763     return getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Transforms/IPO/PassManagerBuilder.cpp
  256     FPM.add(new TargetLibraryInfoWrapperPass(*LibraryInfo));
  486     MPM.add(new TargetLibraryInfoWrapperPass(*LibraryInfo));
  984     PM.add(new TargetLibraryInfoWrapperPass(*LibraryInfo));
 1015     PM.add(new TargetLibraryInfoWrapperPass(*LibraryInfo));
lib/Transforms/IPO/SCCP.cpp
   53       return this->getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
   73     AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  519     AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Transforms/IPO/WholeProgramDevirt.cpp
  662     AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Transforms/InstCombine/InstructionCombining.cpp
 3586   AU.addRequired<TargetLibraryInfoWrapperPass>();
 3604   auto &TLI = getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Transforms/Instrumentation/AddressSanitizer.cpp
  717     AU.addRequired<TargetLibraryInfoWrapperPass>();
  724         &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Transforms/Instrumentation/BoundsChecking.cpp
  227     auto &TLI = getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
  233     AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  153       return getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
  158     AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Transforms/Instrumentation/InstrProfiling.cpp
  161       return this->getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
  168     AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Transforms/Instrumentation/MemorySanitizer.cpp
  622     AU.addRequired<TargetLibraryInfoWrapperPass>();
  627         F, getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F));
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  180   AU.addRequired<TargetLibraryInfoWrapperPass>();
  190   auto &TLI = getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Transforms/Scalar/CallSiteSplitting.cpp
  554     AU.addRequired<TargetLibraryInfoWrapperPass>();
  565     auto &TLI = getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Transforms/Scalar/ConstantProp.cpp
   51       AU.addRequired<TargetLibraryInfoWrapperPass>();
   85       &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Transforms/Scalar/DCE.cpp
   49     auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
   49     auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
  159     auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
  159     auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
lib/Transforms/Scalar/DeadStoreElimination.cpp
 1365         &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
 1375     AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Transforms/Scalar/EarlyCSE.cpp
 1363     auto &TLI = getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
 1378     AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Transforms/Scalar/GVN.cpp
 2668         getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F),
 2680     AU.addRequired<TargetLibraryInfoWrapperPass>();
 2688     AU.addPreserved<TargetLibraryInfoWrapperPass>();
lib/Transforms/Scalar/IndVarSimplify.cpp
 3170     auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
 3170     auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
lib/Transforms/Scalar/InstSimplifyPass.cpp
   91     AU.addRequired<TargetLibraryInfoWrapperPass>();
  103         &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Transforms/Scalar/JumpThreading.cpp
  147       AU.addRequired<TargetLibraryInfoWrapperPass>();
  299   auto TLI = &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Transforms/Scalar/LICM.cpp
  223                           &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(
  236     AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  276         &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(
  296     AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Transforms/Scalar/LoopInstSimplify.cpp
  195         getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(
  211     AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Transforms/Scalar/LoopRerollPass.cpp
  174       AU.addRequired<TargetLibraryInfoWrapperPass>();
 1647   TLI = &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 5697   AU.addRequired<TargetLibraryInfoWrapperPass>();
 5748   auto &LibInfo = getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(
lib/Transforms/Scalar/LowerConstantIntrinsics.cpp
  157     auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
  157     auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
lib/Transforms/Scalar/MemCpyOptimizer.cpp
  276     AU.addRequired<TargetLibraryInfoWrapperPass>();
 1439   auto *TLI = &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Transforms/Scalar/MergeICmps.cpp
  900     const auto &TLI = getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
  911     AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Transforms/Scalar/NaryReassociate.cpp
  135     AU.addPreserved<TargetLibraryInfoWrapperPass>();
  139     AU.addRequired<TargetLibraryInfoWrapperPass>();
  173   auto *TLI = &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Transforms/Scalar/NewGVN.cpp
 4187     AU.addRequired<TargetLibraryInfoWrapperPass>();
 4202                 &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F),
lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
  154     AU.addRequired<TargetLibraryInfoWrapperPass>();
  164         &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Transforms/Scalar/PlaceSafepoints.cpp
  134     TLI = &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
  145     AU.addRequired<TargetLibraryInfoWrapperPass>();
  170     AU.addRequired<TargetLibraryInfoWrapperPass>();
  481       getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  188           getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
  209     AU.addRequired<TargetLibraryInfoWrapperPass>();
lib/Transforms/Scalar/SCCP.cpp
 1889     AU.addRequired<TargetLibraryInfoWrapperPass>();
 1901         &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  359     AU.addRequired<TargetLibraryInfoWrapperPass>();
 1124   TLI = &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Transforms/Utils/LibCallsShrinkWrap.cpp
  519   AU.addRequired<TargetLibraryInfoWrapperPass>();
  536   auto &TLI = getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F);
lib/Transforms/Utils/MetaRenamer.cpp
   80       AU.addRequired<TargetLibraryInfoWrapperPass>();
  130             getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F).getLibFunc(
lib/Transforms/Vectorize/LoopVectorize.cpp
 1605     auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
 1605     auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
lib/Transforms/Vectorize/SLPVectorizer.cpp
 5210     auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
 5210     auto *TLIP = getAnalysisIfAvailable<TargetLibraryInfoWrapperPass>();
tools/clang/lib/CodeGen/BackendUtil.cpp
  592   MPM.add(new TargetLibraryInfoWrapperPass(*TLII));
  688   FPM.add(new TargetLibraryInfoWrapperPass(*TLII));
  786   CodeGenPasses.add(new TargetLibraryInfoWrapperPass(*TLII));
tools/clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp
  115   Passes.add(new TargetLibraryInfoWrapperPass(ModuleTriple));
tools/llc/llc.cpp
  499   PM.add(new TargetLibraryInfoWrapperPass(TLII));
tools/llvm-exegesis/lib/Assembler.cpp
  221   PM.add(new TargetLibraryInfoWrapperPass(TLII));
tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
   99   PM.add(new TargetLibraryInfoWrapperPass(TLII));
tools/opt/opt.cpp
  700   Passes.add(new TargetLibraryInfoWrapperPass(TLII));
unittests/Analysis/AliasAnalysisTest.cpp
  114     AU.addRequired<TargetLibraryInfoWrapperPass>();