Lines Matching defs:Conf
93 SmallString<40> &Key, const Config &Conf, const ModuleSummaryIndex &Index,
130 AddString(Conf.CPU);
135 AddUnsigned(Conf.Options.MCOptions.X86RelaxRelocations);
136 AddUnsigned(Conf.Options.FunctionSections);
137 AddUnsigned(Conf.Options.DataSections);
138 AddUnsigned((unsigned)Conf.Options.DebuggerTuning);
139 for (auto &A : Conf.MAttrs)
141 if (Conf.RelocModel)
142 AddUnsigned(*Conf.RelocModel);
145 if (Conf.CodeModel)
146 AddUnsigned(*Conf.CodeModel);
149 for (const auto &S : Conf.MllvmArgs)
151 AddUnsigned(static_cast<int>(Conf.CGOptLevel));
152 AddUnsigned(static_cast<int>(Conf.CGFileType));
153 AddUnsigned(Conf.OptLevel);
154 AddUnsigned(Conf.Freestanding);
155 AddString(Conf.OptPipeline);
156 AddString(Conf.AAPipeline);
157 AddString(Conf.OverrideTriple);
158 AddString(Conf.DefaultTriple);
159 AddString(Conf.DwoDir);
345 if (!Conf.SampleProfile.empty()) {
346 auto FileOrErr = MemoryBuffer::getFile(Conf.SampleProfile);
350 if (!Conf.ProfileRemapping.empty()) {
351 FileOrErr = MemoryBuffer::getFile(Conf.ProfileRemapping);
591 const Config &Conf)
593 Ctx(Conf), CombinedModule(std::make_unique<Module>("ld-temp.o", Ctx)),
605 LTO::LTO(Config Conf, ThinBackend Backend,
607 : Conf(std::move(Conf)),
608 RegularLTO(ParallelCodeGenParallelismLevel, this->Conf),
711 if (Conf.ResolutionFile)
712 writeToResolutionFile(*Conf.ResolutionFile, Input.get(), Res);
717 Conf.VisibilityScheme = Config::ELF;
1072 if (!Conf.ThinLTOModulesToCompile.empty()) {
1077 for (const std::string &Name : Conf.ThinLTOModulesToCompile) {
1170 isPrevailing, Conf.OptLevel > 0);
1173 auto StatsFileOrErr = setupStatsFile(Conf.StatsFile);
1232 RegularLTO.CombinedModule->getContext(), Conf.RemarksFilename,
1233 Conf.RemarksPasses, Conf.RemarksFormat, Conf.RemarksWithHotness,
1234 Conf.RemarksHotnessThreshold);
1286 Conf.HasWholeProgramVisibility &&
1289 (!Conf.ValidateAllVtablesHaveTypeInfos || Conf.AllVtablesHaveTypeInfos);
1302 DynamicExportSymbols, Conf.ValidateAllVtablesHaveTypeInfos,
1307 if (Conf.PreOptModuleHook &&
1308 !Conf.PreOptModuleHook(0, *RegularLTO.CombinedModule))
1311 if (!Conf.CodeGenOnly) {
1346 if (Conf.PostInternalizeModuleHook &&
1347 !Conf.PostInternalizeModuleHook(0, *RegularLTO.CombinedModule))
1351 if (!RegularLTO.EmptyCombinedModule || Conf.AlwaysEmitRegularLTOObj) {
1353 backend(Conf, AddStream, RegularLTO.ParallelCodeGenParallelismLevel,
1372 const Config &Conf;
1380 const Config &Conf, ModuleSummaryIndex &CombinedIndex,
1383 : Conf(Conf), CombinedIndex(CombinedIndex),
1442 const Config &Conf, ModuleSummaryIndex &CombinedIndex,
1447 : ThinBackendProc(Conf, CombinedIndex, ModuleToDefinedGVSummaries,
1468 LTOLLVMContext BackendContext(Conf);
1473 return thinBackend(Conf, Task, AddStream, **MOrErr, CombinedIndex,
1493 computeLTOCacheKey(Key, Conf, CombinedIndex, ModuleID, ImportList,
1524 if (LLVM_ENABLE_THREADS && Conf.TimeTraceEnabled)
1525 timeTraceProfilerInitialize(Conf.TimeTraceGranularity,
1537 if (LLVM_ENABLE_THREADS && Conf.TimeTraceEnabled)
1567 [=](const Config &Conf, ModuleSummaryIndex &CombinedIndex,
1571 Conf, CombinedIndex, Parallelism, ModuleToDefinedGVSummaries,
1618 const Config &Conf, ModuleSummaryIndex &CombinedIndex,
1623 : ThinBackendProc(Conf, CombinedIndex, ModuleToDefinedGVSummaries,
1668 [=](const Config &Conf, ModuleSummaryIndex &CombinedIndex,
1672 Conf, CombinedIndex, ModuleToDefinedGVSummaries, OldPrefix,
1695 if (Conf.CombinedIndexHook &&
1696 !Conf.CombinedIndexHook(ThinLTO.CombinedIndex, GUIDPreservedSymbols))
1731 Conf.HasWholeProgramVisibility &&
1734 (!Conf.ValidateAllVtablesHaveTypeInfos || Conf.AllVtablesHaveTypeInfos);
1743 Conf.ValidateAllVtablesHaveTypeInfos) {
1801 if (Conf.OptLevel > 0)
1833 thinLTOResolvePrevailingInIndex(Conf, ThinLTO.CombinedIndex, isPrevailing,
1846 ThinLTO.Backend(Conf, ThinLTO.CombinedIndex, ModuleToDefinedGVSummaries,