comparison tools/opt/NewPMDriver.h @ 120:1172e4bd9c6f

update 4.0.0
author mir3636
date Fri, 25 Nov 2016 19:14:25 +0900
parents afa8332a0e37
children 803732b1fca8
comparison
equal deleted inserted replaced
101:34baf5011add 120:1172e4bd9c6f
19 //===----------------------------------------------------------------------===// 19 //===----------------------------------------------------------------------===//
20 20
21 #ifndef LLVM_TOOLS_OPT_NEWPMDRIVER_H 21 #ifndef LLVM_TOOLS_OPT_NEWPMDRIVER_H
22 #define LLVM_TOOLS_OPT_NEWPMDRIVER_H 22 #define LLVM_TOOLS_OPT_NEWPMDRIVER_H
23 23
24 #include "llvm/ADT/StringRef.h"
25
26 namespace llvm { 24 namespace llvm {
25 class StringRef;
27 class LLVMContext; 26 class LLVMContext;
28 class Module; 27 class Module;
29 class TargetMachine; 28 class TargetMachine;
30 class tool_output_file; 29 class tool_output_file;
31 30
46 /// 45 ///
47 /// This function only exists factored away from opt.cpp in order to prevent 46 /// This function only exists factored away from opt.cpp in order to prevent
48 /// inclusion of the new pass manager headers and the old headers into the same 47 /// inclusion of the new pass manager headers and the old headers into the same
49 /// file. It's interface is consequentially somewhat ad-hoc, but will go away 48 /// file. It's interface is consequentially somewhat ad-hoc, but will go away
50 /// when the transition finishes. 49 /// when the transition finishes.
51 bool runPassPipeline(StringRef Arg0, LLVMContext &Context, Module &M, 50 bool runPassPipeline(StringRef Arg0, Module &M,
52 TargetMachine *TM, tool_output_file *Out, 51 TargetMachine *TM, tool_output_file *Out,
53 StringRef PassPipeline, opt_tool::OutputKind OK, 52 StringRef PassPipeline, opt_tool::OutputKind OK,
54 opt_tool::VerifierKind VK, 53 opt_tool::VerifierKind VK,
55 bool ShouldPreserveAssemblyUseListOrder, 54 bool ShouldPreserveAssemblyUseListOrder,
56 bool ShouldPreserveBitcodeUseListOrder); 55 bool ShouldPreserveBitcodeUseListOrder,
56 bool EmitSummaryIndex, bool EmitModuleHash);
57 } 57 }
58 58
59 #endif 59 #endif