Changeset View
Changeset View
Standalone View
Standalone View
llvm/tools/opt/NewPMDriver.h
Show All 19 Lines | |||||
#ifndef LLVM_TOOLS_OPT_NEWPMDRIVER_H | #ifndef LLVM_TOOLS_OPT_NEWPMDRIVER_H | ||||
#define LLVM_TOOLS_OPT_NEWPMDRIVER_H | #define LLVM_TOOLS_OPT_NEWPMDRIVER_H | ||||
#include "llvm/Support/CommandLine.h" | #include "llvm/Support/CommandLine.h" | ||||
namespace llvm { | namespace llvm { | ||||
class StringRef; | class StringRef; | ||||
class Module; | class Module; | ||||
class PassPlugin; | |||||
class TargetMachine; | class TargetMachine; | ||||
class ToolOutputFile; | class ToolOutputFile; | ||||
class TargetLibraryInfoImpl; | class TargetLibraryInfoImpl; | ||||
extern cl::opt<bool> DebugifyEach; | extern cl::opt<bool> DebugifyEach; | ||||
extern cl::opt<std::string> DebugifyExport; | extern cl::opt<std::string> DebugifyExport; | ||||
extern cl::opt<bool> VerifyEachDebugInfoPreserve; | extern cl::opt<bool> VerifyEachDebugInfoPreserve; | ||||
Show All 30 Lines | |||||
/// when the transition finishes. | /// when the transition finishes. | ||||
/// | /// | ||||
/// ThinLTOLinkOut is only used when OK is OK_OutputThinLTOBitcode, and can be | /// ThinLTOLinkOut is only used when OK is OK_OutputThinLTOBitcode, and can be | ||||
/// nullptr. | /// nullptr. | ||||
bool runPassPipeline(StringRef Arg0, Module &M, TargetMachine *TM, | bool runPassPipeline(StringRef Arg0, Module &M, TargetMachine *TM, | ||||
TargetLibraryInfoImpl *TLII, ToolOutputFile *Out, | TargetLibraryInfoImpl *TLII, ToolOutputFile *Out, | ||||
ToolOutputFile *ThinLinkOut, ToolOutputFile *OptRemarkFile, | ToolOutputFile *ThinLinkOut, ToolOutputFile *OptRemarkFile, | ||||
StringRef PassPipeline, ArrayRef<StringRef> PassInfos, | StringRef PassPipeline, ArrayRef<StringRef> PassInfos, | ||||
ArrayRef<PassPlugin> PassPlugins, opt_tool::OutputKind OK, | opt_tool::OutputKind OK, opt_tool::VerifierKind VK, | ||||
opt_tool::VerifierKind VK, | |||||
bool ShouldPreserveAssemblyUseListOrder, | bool ShouldPreserveAssemblyUseListOrder, | ||||
bool ShouldPreserveBitcodeUseListOrder, | bool ShouldPreserveBitcodeUseListOrder, | ||||
bool EmitSummaryIndex, bool EmitModuleHash, | bool EmitSummaryIndex, bool EmitModuleHash, | ||||
bool EnableDebugify, bool VerifyDIPreserve); | bool EnableDebugify, bool VerifyDIPreserve); | ||||
} // namespace llvm | } // namespace llvm | ||||
#endif | #endif |