Changeset View
Changeset View
Standalone View
Standalone View
lib/Transforms/IPO/PassManagerBuilder.cpp
Show First 20 Lines • Show All 143 Lines • ▼ Show 20 Lines | |||||
static cl::opt<bool> EnableGVNSink( | static cl::opt<bool> EnableGVNSink( | ||||
"enable-gvn-sink", cl::init(false), cl::Hidden, | "enable-gvn-sink", cl::init(false), cl::Hidden, | ||||
cl::desc("Enable the GVN sinking pass (default = off)")); | cl::desc("Enable the GVN sinking pass (default = off)")); | ||||
static cl::opt<bool> | static cl::opt<bool> | ||||
EnableCHR("enable-chr", cl::init(true), cl::Hidden, | EnableCHR("enable-chr", cl::init(true), cl::Hidden, | ||||
cl::desc("Enable control height reduction optimization (CHR)")); | cl::desc("Enable control height reduction optimization (CHR)")); | ||||
cl::opt<bool> FlattenedProfileUsed( | extern cl::opt<bool> FlattenedProfileUsed; | ||||
"flattened-profile-used", cl::init(false), cl::Hidden, | |||||
cl::desc("Indicate the sample profile being used is flattened, i.e., " | |||||
"no inline hierachy exists in the profile. ")); | |||||
PassManagerBuilder::PassManagerBuilder() { | PassManagerBuilder::PassManagerBuilder() { | ||||
OptLevel = 2; | OptLevel = 2; | ||||
SizeLevel = 0; | SizeLevel = 0; | ||||
LibraryInfo = nullptr; | LibraryInfo = nullptr; | ||||
Inliner = nullptr; | Inliner = nullptr; | ||||
DisableUnrollLoops = false; | DisableUnrollLoops = false; | ||||
SLPVectorize = RunSLPVectorization; | SLPVectorize = RunSLPVectorization; | ||||
▲ Show 20 Lines • Show All 925 Lines • Show Last 20 Lines |