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

Overrides

include/llvm/IR/LegacyPassManager.h
   44   virtual void add(Pass *P) = 0;

Overridden By

tools/opt/opt.cpp
  316   void add(Pass *P) override {

Declarations

include/llvm/IR/LegacyPassManager.h
   54   void add(Pass *P) override;

References

lib/Analysis/Lint.cpp
  754   PM.add(V);
lib/LTO/LTOBackend.cpp
  273   passes.add(createTargetTransformInfoWrapperPass(TM->getTargetIRAnalysis()));
lib/LTO/LTOCodeGenerator.cpp
  558   passes.add(
  595   preCodeGenPasses.add(createObjCARCContractPass());
lib/LTO/ThinLTOCodeGenerator.cpp
  250   PM.add(createTargetTransformInfoWrapperPass(TM.getTargetIRAnalysis()));
  292     PM.add(createObjCARCContractPass());
tools/bugpoint/CrashDebugger.cpp
  790   Passes.add(createVerifierPass(/*FatalErrors=*/false));
  865   Passes.add(createVerifierPass(/*FatalErrors=*/false));
  930   Passes.add(createVerifierPass(/*FatalErrors=*/false));
tools/clang/lib/CodeGen/BackendUtil.cpp
  376   MPM->add(createRewriteSymbolsPass(DL));
  592   MPM.add(new TargetLibraryInfoWrapperPass(*TLII));
  697     MPM.add(createGCOVProfilerPass(*Options));
  699       MPM.add(createStripSymbolsPass(true));
  704     MPM.add(createInstrProfilingLegacyPass(*Options, false));
  786   CodeGenPasses.add(new TargetLibraryInfoWrapperPass(*TLII));
  796     CodeGenPasses.add(createObjCARCContractPass());
  824   PerModulePasses.add(
  834   CodeGenPasses.add(
  852       PerModulePasses.add(createWriteThinLTOBitcodePass(
  869       PerModulePasses.add(createBitcodeWriterPass(
  875     PerModulePasses.add(
 1304     CodeGenPasses.add(
tools/clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp
  115   Passes.add(new TargetLibraryInfoWrapperPass(ModuleTriple));
  116   Passes.add(createTargetTransformInfoWrapperPass(TM->getTargetIRAnalysis()));
  119   Passes.add(LTM.createPassConfig(Passes));
  121   Passes.add(createVerifierPass());
  128   Passes.add(createPrintModulePass(OS, "", false));
tools/llc/llc.cpp
  499   PM.add(new TargetLibraryInfoWrapperPass(TLII));
  562       PM.add(&TPC);
  563       PM.add(MMIWP);
  570       PM.add(createPrintMIRPass(*OS));
  571       PM.add(createFreeMachineFunctionPass());
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp
  185   EarlyPasses->add(new RenderScriptRuntimeModulePass(process));
tools/llvm-exegesis/lib/Assembler.cpp
  221   PM.add(new TargetLibraryInfoWrapperPass(TLII));
  224   PM.add(TPC);
  225   PM.add(MMIWP.release());
tools/llvm-extract/llvm-extract.cpp
  336     Extract.add(createGVExtractionPass(Gvs, DeleteFn));
  349     PM.add(createBlockExtractorPass(GroupOfBBs, true));
  358     Passes.add(createGlobalDCEPass());           // Delete unreachable globals
  359   Passes.add(createStripDeadDebugInfoPass());    // Remove dead debug info
  360   Passes.add(createStripDeadPrototypesPass());   // Remove dead func decls
  370     Passes.add(
  373     Passes.add(createBitcodeWriterPass(Out.os(), PreserveBitcodeUseListOrder));
tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
   99   PM.add(new TargetLibraryInfoWrapperPass(TLII));
tools/llvm-stress/llvm-stress.cpp
  762   Passes.add(createVerifierPass());
  763   Passes.add(createPrintModulePass(Out->os()));
tools/opt/opt.cpp
  322       super::add(P);
  334         super::add(createDebugifyFunctionPass());
  335         super::add(P);
  336         super::add(createCheckDebugifyFunctionPass(true, Name, &DIStatsMap));
  339         super::add(createDebugifyModulePass());
  340         super::add(P);
  341         super::add(createCheckDebugifyModulePass(true, Name, &DIStatsMap));
  344         super::add(P);
unittests/Analysis/AliasAnalysisTest.cpp
  233   PM.add(new TestCustomAAWrapperPass([&] { IsCustomAAQueried = true; }));
  237   PM.add(createExternalAAWrapperPass([](Pass &P, Function &, AAResults &AAR) {
  246   PM.add(new AATestPass());
unittests/Analysis/CFGTest.cpp
  123     PM.add(P);
unittests/Analysis/UnrollAnalyzerTest.cpp
   90   Passes.add(P);
  153   Passes.add(P);
  198   Passes.add(P);
  245   Passes.add(P);
  291   Passes.add(P);
unittests/IR/LegacyPassManagerTest.cpp
  296       Passes.add(mNDM2);
  297       Passes.add(mNDM);
  298       Passes.add(mNDNM);
  299       Passes.add(mDNM);
  320       Passes.add(mNDM);
  321       Passes.add(mNDNM);
  322       Passes.add(mNDM2);// invalidates mNDM needed by mDNM
  323       Passes.add(mDNM);
  342       Passes.add(P);
  353       Passes.add(P);
  391         Passes.add(O);
  444       Passes0.add(mOpt0);
  445       Passes1.add(mOpt1);
  446       Passes2.add(mOpt2);
unittests/IR/TimePassesTest.cpp
   75   PM1.add(new llvm::Pass1());
   76   PM1.add(new llvm::Pass2());
  100   PM2.add(new llvm::Pass2());
unittests/MI/LiveIntervalTest.cpp
  154   PM.add(new TestPass(T));