X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2Fopt%2FNewPMDriver.h;h=349a7b1267f8e6007f0ada7d9554daf435832cb2;hb=b2e58d7b036f9c935bdf552dde995d066fa1839b;hp=3661d3e6778a4fb168463ad21e47db605d099487;hpb=1d9ab2556024514c403135bb8fe5da34fc4f0c63;p=oota-llvm.git diff --git a/tools/opt/NewPMDriver.h b/tools/opt/NewPMDriver.h index 3661d3e6778..349a7b1267f 100644 --- a/tools/opt/NewPMDriver.h +++ b/tools/opt/NewPMDriver.h @@ -18,14 +18,15 @@ /// //===----------------------------------------------------------------------===// -#ifndef LLVM_TOOLS_OPT_NEW_PM_DRIVER_H -#define LLVM_TOOLS_OPT_NEW_PM_DRIVER_H +#ifndef LLVM_TOOLS_OPT_NEWPMDRIVER_H +#define LLVM_TOOLS_OPT_NEWPMDRIVER_H #include "llvm/ADT/StringRef.h" namespace llvm { class LLVMContext; class Module; +class TargetMachine; class tool_output_file; namespace opt_tool { @@ -48,8 +49,11 @@ enum VerifierKind { /// file. It's interface is consequentially somewhat ad-hoc, but will go away /// when the transition finishes. bool runPassPipeline(StringRef Arg0, LLVMContext &Context, Module &M, - tool_output_file *Out, StringRef PassPipeline, - opt_tool::OutputKind OK, opt_tool::VerifierKind VK); + TargetMachine *TM, tool_output_file *Out, + StringRef PassPipeline, opt_tool::OutputKind OK, + opt_tool::VerifierKind VK, + bool ShouldPreserveAssemblyUseListOrder, + bool ShouldPreserveBitcodeUseListOrder); } #endif