Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/LTO/Config.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | enum VisScheme { | ||||
FromPrevailing, | FromPrevailing, | ||||
ELF, | ELF, | ||||
}; | }; | ||||
// Note: when adding fields here, consider whether they need to be added to | // Note: when adding fields here, consider whether they need to be added to | ||||
// computeCacheKey in LTO.cpp. | // computeCacheKey in LTO.cpp. | ||||
std::string CPU; | std::string CPU; | ||||
TargetOptions Options; | TargetOptions Options; | ||||
std::vector<std::string> MAttrs; | std::vector<std::string> MAttrs; | ||||
std::vector<std::string> PassPlugins; | |||||
/// For adding passes that run right before codegen. | /// For adding passes that run right before codegen. | ||||
std::function<void(legacy::PassManager &)> PreCodeGenPassesHook; | std::function<void(legacy::PassManager &)> PreCodeGenPassesHook; | ||||
Optional<Reloc::Model> RelocModel = Reloc::PIC_; | Optional<Reloc::Model> RelocModel = Reloc::PIC_; | ||||
Optional<CodeModel::Model> CodeModel = None; | Optional<CodeModel::Model> CodeModel = None; | ||||
CodeGenOpt::Level CGOptLevel = CodeGenOpt::Default; | CodeGenOpt::Level CGOptLevel = CodeGenOpt::Default; | ||||
CodeGenFileType CGFileType = CGFT_ObjectFile; | CodeGenFileType CGFileType = CGFT_ObjectFile; | ||||
unsigned OptLevel = 2; | unsigned OptLevel = 2; | ||||
bool DisableVerify = false; | bool DisableVerify = false; | ||||
▲ Show 20 Lines • Show All 250 Lines • Show Last 20 Lines |