// Set up a pass manager
PassManager Passes;
// Add in the passes we want to execute
- Passes.add(new TargetData("stkrc",TheModule));
+ Passes.add(new TargetData(TheModule));
// Verify we start with valid
Passes.add(createVerifierPass());
PassManager Passes;
// Add an appropriate TargetData instance for this module...
- Passes.add(new TargetData("analyze", CurMod));
+ Passes.add(new TargetData(CurMod));
// Make sure the input LLVM is well formed.
if (!NoVerify)
// Spiff up the output a little bit.
PassManager Passes;
// Make sure that the appropriate target data is always used...
- Passes.add(new TargetData("bugpoint", Result));
+ Passes.add(new TargetData(Result));
/// FIXME: If this used runPasses() like the methods below, we could get rid
/// of the -disable-* options!
PassManager PM;
// Make sure that the appropriate target data is always used...
- PM.add(new TargetData("bugpoint", Program));
+ PM.add(new TargetData(Program));
for (unsigned i = 0, e = Passes.size(); i != e; ++i) {
if (Passes[i]->getNormalCtor())
PassManager Passes;
// Add an appropriate TargetData instance for this module...
- Passes.add(new TargetData("gccas", M.get()));
+ Passes.add(new TargetData(M.get()));
// Add all of the transformation passes to the pass manager to do the cleanup
// and optimization of the GCC output.
if (Verify) Passes.add(createVerifierPass());
// Add an appropriate TargetData instance for this module...
- addPass(Passes, new TargetData("gccld", M));
+ addPass(Passes, new TargetData(M));
// Often if the programmer does not specify proper prototypes for the
// functions they are calling, they end up calling a vararg version of the
// In addition to deleting all other functions, we also want to spiff it
// up a little bit. Do this now.
PassManager Passes;
- Passes.add(new TargetData("extract", M.get())); // Use correct TargetData
+ Passes.add(new TargetData(M.get())); // Use correct TargetData
// Either isolate the function or delete it from the Module
Passes.add(createFunctionExtractionPass(F, DeleteFn));
Passes.add(createGlobalDCEPass()); // Delete unreachable globals
Passes.add(createVerifierPass());
// Add an appropriate TargetData instance for this module...
- addPass(Passes, new TargetData("gccld", M));
+ addPass(Passes, new TargetData(M));
// Often if the programmer does not specify proper prototypes for the
// functions they are calling, they end up calling a vararg version of the
PassManager Passes;
// Add an appropriate TargetData instance for this module...
- Passes.add(new TargetData("opt", M.get()));
+ Passes.add(new TargetData(M.get()));
// Create a new optimization pass for each one specified on the command line
for (unsigned i = 0; i < OptimizationList.size(); ++i) {