Lines Matching refs:getProgram
70 if (BD.runPasses(BD.getProgram(), Prefix, PrefixOutput))
87 if (BD.runPasses(BD.getProgram(), Suffix)) {
132 Module *M = CloneModule(BD.getProgram(), VMap);
201 BD.getProgram()->getFunction("main")) == Funcs.end())
206 Module *M = CloneModule(BD.getProgram(), VMap);
273 Module *M = CloneModule(BD.getProgram(), VMap);
383 Module *M = CloneModule(BD.getProgram(), VMap);
440 BD.getProgram()->global_begin() != BD.getProgram()->global_end()) {
443 Module *M = CloneModule(BD.getProgram());
469 for (Module::global_iterator I = BD.getProgram()->global_begin(),
470 E = BD.getProgram()->global_end(); I != E; ++I)
484 BD.EmitProgressBitcode(BD.getProgram(), "reduced-global-variables");
492 for (Module::iterator I = BD.getProgram()->begin(),
493 E = BD.getProgram()->end(); I != E; ++I)
505 BD.EmitProgressBitcode(BD.getProgram(), "reduced-function");
515 for (Module::const_iterator I = BD.getProgram()->begin(),
516 E = BD.getProgram()->end(); I != E; ++I)
522 BD.EmitProgressBitcode(BD.getProgram(), "reduced-blocks");
529 for (Module::const_iterator MI = BD.getProgram()->begin(),
530 ME = BD.getProgram()->end(); MI != ME; ++MI)
564 for (Module::const_iterator FI = BD.getProgram()->begin(),
565 E = BD.getProgram()->end(); FI != E; ++FI)
608 Module *M = CloneModule(BD.getProgram());
619 BD.EmitProgressBitcode(BD.getProgram(), "reduced-simplified");