Home
last modified time | relevance | path

Searched refs:Passes (Results 1 – 25 of 36) sorted by relevance

12

/external/llvm/tools/opt/
Dopt.cpp440 legacy::PassManager Passes; in main() local
448 Passes.add(new TargetLibraryInfoWrapperPass(TLII)); in main()
457 Passes.add(createTargetTransformInfoWrapperPass(TM ? TM->getTargetIRAnalysis() in main()
481 Passes.add(createBreakpointPrinter(Out->os())); in main()
489 AddStandardLinkPasses(Passes); in main()
494 AddOptimizationPasses(Passes, *FPasses, 1, 0); in main()
499 AddOptimizationPasses(Passes, *FPasses, 2, 0); in main()
504 AddOptimizationPasses(Passes, *FPasses, 2, 1); in main()
509 AddOptimizationPasses(Passes, *FPasses, 2, 2); in main()
514 AddOptimizationPasses(Passes, *FPasses, 3, 0); in main()
[all …]
DCMakeLists.txt18 Passes
DLLVMBuild.txt32 Passes
/external/llvm/unittests/IR/
DLegacyPassManagerTest.cpp299 legacy::PassManager Passes; in TEST() local
300 Passes.add(mNDM2); in TEST()
301 Passes.add(mNDM); in TEST()
302 Passes.add(mNDNM); in TEST()
303 Passes.add(mDNM); in TEST()
305 Passes.run(M); in TEST()
322 legacy::PassManager Passes; in TEST() local
323 Passes.add(mNDM); in TEST()
324 Passes.add(mNDNM); in TEST()
325 Passes.add(mNDM2);// invalidates mNDM needed by mDNM in TEST()
[all …]
DDominatorTreeTest.cpp249 legacy::PassManager Passes; in TEST() local
250 Passes.add(P); in TEST()
251 Passes.run(*M); in TEST()
/external/llvm/tools/llvm-extract/
Dllvm-extract.cpp259 legacy::PassManager Passes; in main() local
262 Passes.add(createGlobalDCEPass()); // Delete unreachable globals in main()
263 Passes.add(createStripDeadDebugInfoPass()); // Remove dead debug info in main()
264 Passes.add(createStripDeadPrototypesPass()); // Remove dead func decls in main()
274 Passes.add( in main()
277 Passes.add(createBitcodeWriterPass(Out.os(), PreserveBitcodeUseListOrder)); in main()
279 Passes.run(*M.get()); in main()
/external/llvm/tools/bugpoint/
DCrashDebugger.cpp397 std::vector<std::string> Passes; in TestBlocks() local
398 Passes.push_back("simplifycfg"); in TestBlocks()
399 Passes.push_back("verify"); in TestBlocks()
400 std::unique_ptr<Module> New = BD.runPassesOn(M, Passes); in TestBlocks()
487 legacy::PassManager Passes; in TestInsts() local
488 Passes.add(createVerifierPass()); in TestInsts()
489 Passes.run(*M); in TestInsts()
562 legacy::PassManager Passes; in TestNamedMDs() local
563 Passes.add(createVerifierPass()); in TestNamedMDs()
564 Passes.run(*M); in TestNamedMDs()
[all …]
DOptimizerDriver.cpp130 const std::vector<std::string> &Passes, in runPasses() argument
214 for (std::vector<std::string>::const_iterator I = Passes.begin(), in runPasses()
215 E = Passes.end(); I != E; ++I ) in runPasses()
269 BugDriver::runPassesOn(Module *M, const std::vector<std::string> &Passes, in runPassesOn() argument
273 if (runPasses(M, Passes, BitcodeResult, false/*delete*/, true/*quiet*/, in runPassesOn()
DBugDriver.cpp60 std::string llvm::getPassesString(const std::vector<std::string> &Passes) { in getPassesString() argument
62 for (unsigned i = 0, e = Passes.size(); i != e; ++i) { in getPassesString()
65 Result += Passes[i]; in getPassesString()
DExtractFunction.cpp113 std::vector<std::string> Passes; in deleteInstructionFromProgram() local
117 Passes.push_back("dce"); in deleteInstructionFromProgram()
119 Passes.push_back("simplifycfg"); // Delete dead control flow in deleteInstructionFromProgram()
121 Passes.push_back("verify"); in deleteInstructionFromProgram()
122 std::unique_ptr<Module> New = runPassesOn(Clone, Passes); in deleteInstructionFromProgram()
DBugDriver.h250 const std::vector<std::string> &Passes,
314 std::string getPassesString(const std::vector<std::string> &Passes);
/external/llvm/include/llvm/IR/
DPassManager.h189 : Passes(std::move(Arg.Passes)), in PassManager()
192 Passes = std::move(RHS.Passes);
204 for (unsigned Idx = 0, Size = Passes.size(); Idx != Size; ++Idx) {
206 dbgs() << "Running pass: " << Passes[Idx]->name() << " on "
209 PreservedAnalyses PassPA = Passes[Idx]->run(IR, AM);
238 Passes.emplace_back(new PassModelT(std::move(Pass))); in addPass()
249 std::vector<std::unique_ptr<PassConceptT>> Passes; variable
/external/llvm/lib/Passes/
DLLVMBuild.txt1 ;===- ./lib/Passes/LLVMBuild.txt -------------------------------*- Conf -*--===;
20 name = Passes
DCMakeLists.txt5 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Passes
/external/llvm/lib/
DMakefile15 IRReader LineEditor ProfileData Passes LibDriver
DCMakeLists.txt21 add_subdirectory(Passes)
DLLVMBuild.txt35 Passes
/external/valgrind/perf/
Dffbench.c153 #define Passes 20 /* Number of FFT/Inverse passes */ macro
240 int i, j, k, l, m, npasses = Passes, faedge; in main()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp713 legacy::PassManager Passes; in main() local
714 Passes.add(createVerifierPass()); in main()
715 Passes.add(createPrintModulePass(Out->os())); in main()
716 Passes.run(*M.get()); in main()
/external/llvm/lib/CodeGen/
DCMakeLists.txt92 Passes.cpp
DAndroid.mk87 Passes.cpp \
/external/llvm/docs/
DPasses.rst2 If Passes.html is up to date, the following "one-liner" should print
6 -e '^ <a name=".*">.*</a>$' < Passes.html >html; \
8 open HTML, "<Passes.html" or die "open: Passes.html: $!\n";
31 LLVM's Analysis and Transform Passes
41 LLVM provides. Optimizations are implemented as Passes that traverse some
53 Analysis Passes
56 This section describes the LLVM Analysis Passes.
370 Transform Passes
373 This section describes the LLVM Transform Passes.
1097 Utility Passes
[all …]
/external/llvm/
DAndroid.mk47 lib/Passes \
/external/llvm/docs/tutorial/
DLangImpl4.rst94 LLVM Optimization Passes
111 `List of LLVM Passes <../Passes.html>`_.
203 passes <../Passes.html>`_ is available, but it isn't very complete.
DOCamlLangImpl4.rst104 LLVM Optimization Passes
121 `List of LLVM Passes <../Passes.html>`_.
220 passes <../Passes.html>`_ is available, but it isn't very complete.

12