/external/swiftshader/third_party/LLVM/tools/llvm-ld/ |
D | Optimize.cpp | 83 PassManager Passes; in Optimize() local 87 Passes.add(createVerifierPass()); in Optimize() 90 addPass(Passes, new TargetData(M)); in Optimize() 93 PassManagerBuilder().populateLTOPassManager(Passes, !DisableInternalize, in Optimize() 100 addPass(Passes, createStripSymbolsPass(StripDebug && !Strip)); in Optimize() 107 addPass(Passes, Opt->getNormalCtor()()); in Optimize() 116 addPass(Passes, createInstructionCombiningPass()); in Optimize() 117 addPass(Passes, createCFGSimplificationPass()); in Optimize() 118 addPass(Passes, createAggressiveDCEPass()); in Optimize() 119 addPass(Passes, createGlobalDCEPass()); in Optimize() [all …]
|
/external/swiftshader/third_party/LLVM/unittests/VMCore/ |
D | PassManagerTest.cpp | 294 PassManager Passes; in TEST() local 295 Passes.add(new TargetData(&M)); in TEST() 296 Passes.add(mNDM2); in TEST() 297 Passes.add(mNDM); in TEST() 298 Passes.add(mNDNM); in TEST() 299 Passes.add(mDNM); in TEST() 301 Passes.run(M); in TEST() 318 PassManager Passes; in TEST() local 319 Passes.add(new TargetData(&M)); in TEST() 320 Passes.add(mNDM); in TEST() [all …]
|
/external/llvm/tools/opt/ |
D | opt.cpp | 479 legacy::PassManager Passes; in main() local 487 Passes.add(new TargetLibraryInfoWrapperPass(TLII)); in main() 496 Passes.add(createTargetTransformInfoWrapperPass(TM ? TM->getTargetIRAnalysis() in main() 520 Passes.add(createBreakpointPrinter(Out->os())); in main() 528 AddStandardLinkPasses(Passes); in main() 533 AddOptimizationPasses(Passes, *FPasses, TM.get(), 1, 0); in main() 538 AddOptimizationPasses(Passes, *FPasses, TM.get(), 2, 0); in main() 543 AddOptimizationPasses(Passes, *FPasses, TM.get(), 2, 1); in main() 548 AddOptimizationPasses(Passes, *FPasses, TM.get(), 2, 2); in main() 553 AddOptimizationPasses(Passes, *FPasses, TM.get(), 3, 0); in main() [all …]
|
/external/swiftshader/third_party/LLVM/tools/opt/ |
D | opt.cpp | 542 PassManager Passes; in main() local 550 Passes.add(TLI); in main() 561 Passes.add(TD); in main() 584 Passes.add(new BreakpointPrinter(Out->os())); in main() 591 addPass(Passes, createStripSymbolsPass(true)); in main() 599 AddStandardCompilePasses(Passes); in main() 605 AddStandardLinkPasses(Passes); in main() 610 AddOptimizationPasses(Passes, *FPasses, 1); in main() 615 AddOptimizationPasses(Passes, *FPasses, 2); in main() 620 AddOptimizationPasses(Passes, *FPasses, 3); in main() [all …]
|
/external/llvm/unittests/IR/ |
D | LegacyPassManagerTest.cpp | 299 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() 323 legacy::PassManager Passes; in TEST() local 324 Passes.add(mNDM); in TEST() 325 Passes.add(mNDNM); in TEST() 326 Passes.add(mNDM2);// invalidates mNDM needed by mDNM in TEST() [all …]
|
D | VerifierTest.cpp | 217 legacy::PassManager Passes; in TEST() local 218 Passes.add(createVerifierPass(false)); in TEST() 219 Passes.run(M); in TEST()
|
D | DominatorTreeTest.cpp | 250 legacy::PassManager Passes; in TEST() local 251 Passes.add(P); in TEST() 252 Passes.run(*M); in TEST()
|
/external/llvm/unittests/Analysis/ |
D | UnrollAnalyzer.cpp | 91 legacy::PassManager Passes; in TEST() local 92 Passes.add(P); in TEST() 93 Passes.run(*M); in TEST() 154 legacy::PassManager Passes; in TEST() local 155 Passes.add(P); in TEST() 156 Passes.run(*M); in TEST() 199 legacy::PassManager Passes; in TEST() local 200 Passes.add(P); in TEST() 201 Passes.run(*M); in TEST() 246 legacy::PassManager Passes; in TEST() local [all …]
|
/external/swiftshader/third_party/LLVM/tools/llvm-extract/ |
D | llvm-extract.cpp | 208 PassManager Passes; in main() local 209 Passes.add(new TargetData(M.get())); // Use correct TargetData in main() 213 Passes.add(createGVExtractionPass(Gvs, DeleteFn)); in main() 215 Passes.add(createGlobalDCEPass()); // Delete unreachable globals in main() 216 Passes.add(createStripDeadDebugInfoPass()); // Remove dead debug info in main() 217 Passes.add(createStripDeadPrototypesPass()); // Remove dead func decls in main() 228 Passes.add(createPrintModulePass(&Out.os())); in main() 230 Passes.add(createBitcodeWriterPass(Out.os())); in main() 232 Passes.run(*M.get()); in main()
|
/external/llvm/tools/llvm-extract/ |
D | llvm-extract.cpp | 259 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/swiftshader/third_party/LLVM/tools/bugpoint/ |
D | OptimizerDriver.cpp | 108 const std::vector<std::string> &Passes, in runPasses() argument 178 for (std::vector<std::string>::const_iterator I = Passes.begin(), in runPasses() 179 E = Passes.end(); I != E; ++I ) in runPasses() 241 const std::vector<std::string> &Passes, in runPassesOn() argument 245 if (runPasses(M, Passes, BitcodeResult, false/*delete*/, true/*quiet*/, in runPassesOn()
|
D | BugDriver.cpp | 59 std::string llvm::getPassesString(const std::vector<std::string> &Passes) { in getPassesString() argument 61 for (unsigned i = 0, e = Passes.size(); i != e; ++i) { in getPassesString() 64 Result += Passes[i]; in getPassesString()
|
D | ExtractFunction.cpp | 84 std::vector<std::string> Passes; in deleteInstructionFromProgram() local 88 Passes.push_back("dce"); in deleteInstructionFromProgram() 90 Passes.push_back("simplifycfg"); // Delete dead control flow in deleteInstructionFromProgram() 92 Passes.push_back("verify"); in deleteInstructionFromProgram() 93 Module *New = runPassesOn(Clone, Passes); in deleteInstructionFromProgram()
|
D | CrashDebugger.cpp | 323 std::vector<std::string> Passes; in TestBlocks() local 324 Passes.push_back("simplifycfg"); in TestBlocks() 325 Passes.push_back("verify"); in TestBlocks() 326 Module *New = BD.runPassesOn(M, Passes); in TestBlocks() 412 PassManager Passes; in TestInsts() local 413 Passes.add(createVerifierPass()); in TestInsts() 414 Passes.run(*M); in TestInsts()
|
D | BugDriver.h | 245 Module *runPassesOn(Module *M, const std::vector<std::string> &Passes, 307 std::string getPassesString(const std::vector<std::string> &Passes);
|
/external/llvm/tools/bugpoint/ |
D | OptimizerDriver.cpp | 130 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()
|
D | CrashDebugger.cpp | 398 std::vector<std::string> Passes; in TestBlocks() local 399 Passes.push_back("simplifycfg"); in TestBlocks() 400 Passes.push_back("verify"); in TestBlocks() 401 std::unique_ptr<Module> New = BD.runPassesOn(M, Passes); in TestBlocks() 488 legacy::PassManager Passes; in TestInsts() local 489 Passes.add(createVerifierPass()); in TestInsts() 490 Passes.run(*M); in TestInsts() 565 legacy::PassManager Passes; in TestNamedMDs() local 566 Passes.add(createVerifierPass()); in TestNamedMDs() 567 Passes.run(*M); in TestNamedMDs() [all …]
|
D | BugDriver.cpp | 60 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()
|
D | ExtractFunction.cpp | 113 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()
|
D | BugDriver.h | 241 const std::vector<std::string> &Passes, 303 std::string getPassesString(const std::vector<std::string> &Passes);
|
/external/llvm/include/llvm/IR/ |
D | PassManager.h | 235 : Passes(std::move(Arg.Passes)), in PassManager() 238 Passes = std::move(RHS.Passes); 250 for (unsigned Idx = 0, Size = Passes.size(); Idx != Size; ++Idx) { in run() 252 dbgs() << "Running pass: " << Passes[Idx]->name() << " on " in run() 255 PreservedAnalyses PassPA = Passes[Idx]->run(IR, AM); in run() 282 Passes.emplace_back(new PassModelT(std::move(Pass))); in addPass() 291 std::vector<std::unique_ptr<PassConceptT>> Passes; variable
|
/external/llvm/lib/Passes/ |
D | LLVMBuild.txt | 1 ;===- ./lib/Passes/LLVMBuild.txt -------------------------------*- Conf -*--===; 20 name = Passes
|
D | CMakeLists.txt | 5 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Passes
|
/external/swiftshader/third_party/LLVM/utils/ |
D | NewNightlyTest.pl | 589 my ($Passes, $Fails, $XFails) = ""; 593 $Passes .= "$TestSuiteResultLines[$x]\n"; 603 return ($SSProgs, $MSProgs, $ExtProgs, $All, $Passes, $Fails, $XFails);
|
/external/llvm/lib/ |
D | CMakeLists.txt | 22 add_subdirectory(Passes)
|