Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/LTO/LTO.h
Show First 20 Lines • Show All 283 Lines • ▼ Show 20 Lines | |||||
private: | private: | ||||
Config Conf; | Config Conf; | ||||
struct RegularLTOState { | struct RegularLTOState { | ||||
RegularLTOState(unsigned ParallelCodeGenParallelismLevel, | RegularLTOState(unsigned ParallelCodeGenParallelismLevel, | ||||
const Config &Conf); | const Config &Conf); | ||||
struct CommonResolution { | struct CommonResolution { | ||||
uint64_t Size = 0; | uint64_t Size = 0; | ||||
MaybeAlign Align; | Align Align; | ||||
/// Record if at least one instance of the common was marked as prevailing | /// Record if at least one instance of the common was marked as prevailing | ||||
bool Prevailing = false; | bool Prevailing = false; | ||||
}; | }; | ||||
std::map<std::string, CommonResolution> Commons; | std::map<std::string, CommonResolution> Commons; | ||||
unsigned ParallelCodeGenParallelismLevel; | unsigned ParallelCodeGenParallelismLevel; | ||||
LTOLLVMContext Ctx; | LTOLLVMContext Ctx; | ||||
std::unique_ptr<Module> CombinedModule; | std::unique_ptr<Module> CombinedModule; | ||||
▲ Show 20 Lines • Show All 157 Lines • Show Last 20 Lines |