HomeSort by relevance Sort by last modified time
    Searched defs:Passes (Results 1 - 8 of 8) sorted by null

  /external/llvm/tools/llvm-extract/
llvm-extract.cpp 256 PassManager Passes;
257 Passes.add(new DataLayout(M.get())); // Use correct DataLayout
261 Passes.add(createGVExtractionPass(Gvs, DeleteFn));
263 Passes.add(createGlobalDCEPass()); // Delete unreachable globals
264 Passes.add(createStripDeadDebugInfoPass()); // Remove dead debug info
265 Passes.add(createStripDeadPrototypesPass()); // Remove dead func decls
275 Passes.add(createPrintModulePass(&Out.os()));
277 Passes.add(createBitcodeWriterPass(Out.os()));
279 Passes.run(*M.get());
  /external/llvm/unittests/IR/
DominatorTreeTest.cpp 195 PassManager Passes;
196 Passes.add(P);
197 Passes.run(*M);
PassManagerTest.cpp 298 PassManager Passes;
299 Passes.add(new DataLayout(&M));
300 Passes.add(mNDM2);
301 Passes.add(mNDM);
302 Passes.add(mNDNM);
303 Passes.add(mDNM);
305 Passes.run(M);
322 PassManager Passes;
323 Passes.add(new DataLayout(&M));
324 Passes.add(mNDM)
    [all...]
  /external/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: "
84 outs() << "Checking to see if these passes crash: "
321 std::vector<std::string> Passes;
322 Passes.push_back("simplifycfg");
323 Passes.push_back("verify");
324 Module *New = BD.runPassesOn(M, Passes);
411 PassManager Passes;
    [all...]
ExtractFunction.cpp 86 /// series of cleanup passes (ADCE and SimplifyCFG) to eliminate any code which
116 std::vector<std::string> Passes;
120 Passes.push_back("dce");
122 Passes.push_back("simplifycfg"); // Delete dead control flow
124 Passes.push_back("verify");
125 Module *New = runPassesOn(Clone, Passes);
  /external/llvm/tools/opt/
opt.cpp 52 // The OptimizationList is automatically populated with registered Passes by the
96 cl::desc("Do not run any optimization passes"));
160 // ---------- Define Printers for module and function passes ------------
422 /// AddOptimizationPasses - This routine adds optimization passes
465 // -std-compile-opts adds the same module passes as -O3.
565 // Initialize passes
630 // Create a PassManager to hold and optimize the collection of passes we are
633 PassManager Passes;
641 Passes.add(TLI);
652 Passes.add(TD)
    [all...]
  /external/valgrind/main/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",
  /external/llvm/tools/llvm-stress/
llvm-stress.cpp 711 PassManager Passes;
712 Passes.add(createVerifierPass());
713 Passes.add(createPrintModulePass(&Out->os()));
714 Passes.run(*M.get());

Completed in 232 milliseconds