/external/swiftshader/third_party/LLVM/tools/llvm-ld/ |
Optimize.cpp | 41 cl::desc("Do not run any optimization passes"));
47 cl::desc("Verify intermediate results of all passes"));
82 // Instantiate the pass manager to organize the passes.
83 PassManager Passes;
87 Passes.add(createVerifierPass());
90 addPass(Passes, new TargetData(M));
93 PassManagerBuilder().populateLTOPassManager(Passes, !DisableInternalize,
100 addPass(Passes, createStripSymbolsPass(StripDebug && !Strip));
107 addPass(Passes, Opt->getNormalCtor()());
113 // The user's passes may leave cruft around. Clean up after them them but [all...] |
/external/swiftshader/third_party/LLVM/tools/llvm-extract/ |
llvm-extract.cpp | 208 PassManager Passes;
209 Passes.add(new TargetData(M.get())); // Use correct TargetData
213 Passes.add(createGVExtractionPass(Gvs, DeleteFn));
215 Passes.add(createGlobalDCEPass()); // Delete unreachable globals
216 Passes.add(createStripDeadDebugInfoPass()); // Remove dead debug info
217 Passes.add(createStripDeadPrototypesPass()); // Remove dead func decls
228 Passes.add(createPrintModulePass(&Out.os()));
230 Passes.add(createBitcodeWriterPass(Out.os()));
232 Passes.run(*M.get());
|
/external/llvm/tools/llvm-extract/ |
llvm-extract.cpp | 259 legacy::PassManager Passes; 262 Passes.add(createGlobalDCEPass()); // Delete unreachable globals 263 Passes.add(createStripDeadDebugInfoPass()); // Remove dead debug info 264 Passes.add(createStripDeadPrototypesPass()); // Remove dead func decls 274 Passes.add( 277 Passes.add(createBitcodeWriterPass(Out.os(), PreserveBitcodeUseListOrder)); 279 Passes.run(*M.get());
|
/external/llvm/unittests/IR/ |
VerifierTest.cpp | 217 legacy::PassManager Passes; 218 Passes.add(createVerifierPass(false)); 219 Passes.run(M);
|
DominatorTreeTest.cpp | 250 legacy::PassManager Passes; 251 Passes.add(P); 252 Passes.run(*M);
|
LegacyPassManagerTest.cpp | 299 legacy::PassManager Passes; 300 Passes.add(mNDM2); 301 Passes.add(mNDM); 302 Passes.add(mNDNM); 303 Passes.add(mDNM); 305 Passes.run(M); 323 legacy::PassManager Passes; 324 Passes.add(mNDM); 325 Passes.add(mNDNM); 326 Passes.add(mNDM2);// invalidates mNDM needed by mDN [all...] |
/external/llvm/unittests/Analysis/ |
UnrollAnalyzer.cpp | 91 legacy::PassManager Passes; 92 Passes.add(P); 93 Passes.run(*M); 154 legacy::PassManager Passes; 155 Passes.add(P); 156 Passes.run(*M); 199 legacy::PassManager Passes; 200 Passes.add(P); 201 Passes.run(*M); 246 legacy::PassManager Passes; [all...] |
/external/llvm/tools/bugpoint/ |
ExtractFunction.cpp | 113 std::vector<std::string> Passes; 117 Passes.push_back("dce"); 119 Passes.push_back("simplifycfg"); // Delete dead control flow 121 Passes.push_back("verify"); 122 std::unique_ptr<Module> New = runPassesOn(Clone, Passes);
|
CrashDebugger.cpp | 65 // doTest - Return true iff running the "removed" passes succeeds, and 66 // running the "Kept" passes fail when run on the output of the "removed" 67 // passes. If we return true, we update the current module of bugpoint. 82 outs() << "Checking to see if these passes crash: " 98 outs() << "Checking to see if these passes crash: " 398 std::vector<std::string> Passes; 399 Passes.push_back("simplifycfg"); 400 Passes.push_back("verify"); 401 std::unique_ptr<Module> New = BD.runPassesOn(M, Passes); 488 legacy::PassManager Passes; [all...] |
/external/swiftshader/third_party/LLVM/tools/bugpoint/ |
CrashDebugger.cpp | 51 // doTest - Return true iff running the "removed" passes succeeds, and
52 // running the "Kept" passes fail when run on the output of the "removed"
53 // passes. If we return true, we update the current module of bugpoint.
68 outs() << "Checking to see if these passes crash: "
86 outs() << "Checking to see if these passes crash: "
323 std::vector<std::string> Passes;
324 Passes.push_back("simplifycfg");
325 Passes.push_back("verify");
326 Module *New = BD.runPassesOn(M, Passes);
412 PassManager Passes;
[all...] |
ExtractFunction.cpp | 54 /// series of cleanup passes (ADCE and SimplifyCFG) to eliminate any code which
84 std::vector<std::string> Passes;
88 Passes.push_back("dce");
90 Passes.push_back("simplifycfg"); // Delete dead control flow
92 Passes.push_back("verify");
93 Module *New = runPassesOn(Clone, Passes);
|
/external/swiftshader/third_party/LLVM/tools/opt/ |
opt.cpp | 47 // The OptimizationList is automatically populated with registered Passes by the
91 cl::desc("Do not run any optimization passes"));
144 // ---------- Define Printers for module and function passes ------------
403 /// AddOptimizationPasses - This routine adds optimization passes
440 // -std-compile-opts adds the same module passes as -O3.
477 // Initialize passes
539 // Create a PassManager to hold and optimize the collection of passes we are
542 PassManager Passes;
550 Passes.add(TLI);
561 Passes.add(TD); [all...] |
/external/valgrind/perf/ |
ffbench.c | 18 This benchmark executes a specified number of passes (default 35 follows: Float = double, Asize = 256, Passes = 20, CAPOUT not 153 #define Passes 20 /* Number of FFT/Inverse passes */ 240 int i, j, k, l, m, npasses = Passes, faedge; 322 fprintf(stdout, "%d passes. No errors in results.\n", npasses); 324 fprintf(stdout, "%d passes. %d errors in results.\n",
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
d3dx9effect.h | 62 UINT Passes; 274 STDMETHOD(Begin)(THIS_ UINT *passes, DWORD flags) PURE;
|
d3d10effect.h | 89 UINT Passes; [all...] |
/external/llvm/include/llvm/IR/ |
PassManager.h | 14 /// a pass. A pass manager is generally a tool to collect a sequence of passes 17 /// containing IR construct for a Module, a manager for passes over modules 18 /// forms the base case which runs its managed passes in sequence over the 21 /// The core IR library provides managers for running passes over 87 /// \brief Construct a special preserved set that preserves all passes. 106 /// preserved passes which are not also preserved in the argument. 122 /// preserved passes which are not also preserved in the argument. 157 /// \brief Test whether all passes are preserved. 177 /// passes. 179 /// This provides some boiler plate for types that are passes [all...] |
/external/swiftshader/third_party/LLVM/unittests/VMCore/ |
PassManagerTest.cpp | 294 PassManager Passes; 295 Passes.add(new TargetData(&M)); 296 Passes.add(mNDM2); 297 Passes.add(mNDM); 298 Passes.add(mNDNM); 299 Passes.add(mDNM); 301 Passes.run(M); 318 PassManager Passes; 319 Passes.add(new TargetData(&M)); 320 Passes.add(mNDM) [all...] |
/external/llvm/tools/llvm-stress/ |
llvm-stress.cpp | 712 legacy::PassManager Passes; 713 Passes.add(createVerifierPass()); 714 Passes.add(createPrintModulePass(Out->os())); 715 Passes.run(*M.get());
|