Lines Matching refs:Conf

90     SmallString<40> &Key, const Config &Conf, const ModuleSummaryIndex &Index,  in computeLTOCacheKey()  argument
124 AddString(Conf.CPU); in computeLTOCacheKey()
129 AddUnsigned(Conf.Options.RelaxELFRelocations); in computeLTOCacheKey()
130 AddUnsigned(Conf.Options.FunctionSections); in computeLTOCacheKey()
131 AddUnsigned(Conf.Options.DataSections); in computeLTOCacheKey()
132 AddUnsigned((unsigned)Conf.Options.DebuggerTuning); in computeLTOCacheKey()
133 for (auto &A : Conf.MAttrs) in computeLTOCacheKey()
135 if (Conf.RelocModel) in computeLTOCacheKey()
136 AddUnsigned(*Conf.RelocModel); in computeLTOCacheKey()
139 if (Conf.CodeModel) in computeLTOCacheKey()
140 AddUnsigned(*Conf.CodeModel); in computeLTOCacheKey()
143 for (const auto &S : Conf.MllvmArgs) in computeLTOCacheKey()
145 AddUnsigned(static_cast<int>(Conf.CGOptLevel)); in computeLTOCacheKey()
146 AddUnsigned(static_cast<int>(Conf.CGFileType)); in computeLTOCacheKey()
147 AddUnsigned(Conf.OptLevel); in computeLTOCacheKey()
148 AddUnsigned(Conf.Freestanding); in computeLTOCacheKey()
149 AddString(Conf.OptPipeline); in computeLTOCacheKey()
150 AddString(Conf.AAPipeline); in computeLTOCacheKey()
151 AddString(Conf.OverrideTriple); in computeLTOCacheKey()
152 AddString(Conf.DefaultTriple); in computeLTOCacheKey()
153 AddString(Conf.DwoDir); in computeLTOCacheKey()
333 if (!Conf.SampleProfile.empty()) { in computeLTOCacheKey()
334 auto FileOrErr = MemoryBuffer::getFile(Conf.SampleProfile); in computeLTOCacheKey()
338 if (!Conf.ProfileRemapping.empty()) { in computeLTOCacheKey()
339 FileOrErr = MemoryBuffer::getFile(Conf.ProfileRemapping); in computeLTOCacheKey()
579 const Config &Conf) in RegularLTOState() argument
581 Ctx(Conf), CombinedModule(std::make_unique<Module>("ld-temp.o", Ctx)), in RegularLTOState()
591 LTO::LTO(Config Conf, ThinBackend Backend, in LTO() argument
593 : Conf(std::move(Conf)), in LTO()
594 RegularLTO(ParallelCodeGenParallelismLevel, this->Conf), in LTO()
697 if (Conf.ResolutionFile) in add()
698 writeToResolutionFile(*Conf.ResolutionFile, Input.get(), Res); in add()
703 Conf.VisibilityScheme = Config::ELF; in add()
1058 if (!Conf.ThinLTOModulesToCompile.empty()) { in addThinLTO()
1063 for (const std::string &Name : Conf.ThinLTOModulesToCompile) { in addThinLTO()
1156 isPrevailing, Conf.OptLevel > 0); in run()
1159 auto StatsFileOrErr = setupStatsFile(Conf.StatsFile); in run()
1218 RegularLTO.CombinedModule->getContext(), Conf.RemarksFilename, in runRegularLTO()
1219 Conf.RemarksPasses, Conf.RemarksFormat, Conf.RemarksWithHotness, in runRegularLTO()
1220 Conf.RemarksHotnessThreshold); in runRegularLTO()
1272 Conf.HasWholeProgramVisibility && in runRegularLTO()
1275 (!Conf.ValidateAllVtablesHaveTypeInfos || Conf.AllVtablesHaveTypeInfos); in runRegularLTO()
1288 DynamicExportSymbols, Conf.ValidateAllVtablesHaveTypeInfos, in runRegularLTO()
1293 if (Conf.PreOptModuleHook && in runRegularLTO()
1294 !Conf.PreOptModuleHook(0, *RegularLTO.CombinedModule)) in runRegularLTO()
1297 if (!Conf.CodeGenOnly) { in runRegularLTO()
1332 if (Conf.PostInternalizeModuleHook && in runRegularLTO()
1333 !Conf.PostInternalizeModuleHook(0, *RegularLTO.CombinedModule)) in runRegularLTO()
1337 if (!RegularLTO.EmptyCombinedModule || Conf.AlwaysEmitRegularLTOObj) { in runRegularLTO()
1339 backend(Conf, AddStream, RegularLTO.ParallelCodeGenParallelismLevel, in runRegularLTO()
1360 const Config &Conf; member in lto::ThinBackendProc
1368 const Config &Conf, ModuleSummaryIndex &CombinedIndex, in ThinBackendProc() argument
1371 : Conf(Conf), CombinedIndex(CombinedIndex), in ThinBackendProc()
1425 const Config &Conf, ModuleSummaryIndex &CombinedIndex, in InProcessThinBackend() argument
1430 : ThinBackendProc(Conf, CombinedIndex, ModuleToDefinedGVSummaries, in InProcessThinBackend()
1451 LTOLLVMContext BackendContext(Conf); in runThinLTOBackendThread()
1456 return thinBackend(Conf, Task, AddStream, **MOrErr, CombinedIndex, in runThinLTOBackendThread()
1476 computeLTOCacheKey(Key, Conf, CombinedIndex, ModuleID, ImportList, in runThinLTOBackendThread()
1507 if (LLVM_ENABLE_THREADS && Conf.TimeTraceEnabled) in start()
1508 timeTraceProfilerInitialize(Conf.TimeTraceGranularity, in start()
1520 if (LLVM_ENABLE_THREADS && Conf.TimeTraceEnabled) in start()
1550 [=](const Config &Conf, ModuleSummaryIndex &CombinedIndex, in createInProcessThinBackend()
1554 Conf, CombinedIndex, Parallelism, ModuleToDefinedGVSummaries, in createInProcessThinBackend()
1586 const Config &Conf, ModuleSummaryIndex &CombinedIndex, in WriteIndexesThinBackend() argument
1591 : ThinBackendProc(Conf, CombinedIndex, ModuleToDefinedGVSummaries, in WriteIndexesThinBackend()
1636 [=](const Config &Conf, ModuleSummaryIndex &CombinedIndex, in createWriteIndexesThinBackend()
1640 Conf, CombinedIndex, ModuleToDefinedGVSummaries, OldPrefix, in createWriteIndexesThinBackend()
1663 if (Conf.CombinedIndexHook && in runThinLTO()
1664 !Conf.CombinedIndexHook(ThinLTO.CombinedIndex, GUIDPreservedSymbols)) in runThinLTO()
1699 Conf.HasWholeProgramVisibility && in runThinLTO()
1702 (!Conf.ValidateAllVtablesHaveTypeInfos || Conf.AllVtablesHaveTypeInfos); in runThinLTO()
1711 Conf.ValidateAllVtablesHaveTypeInfos) { in runThinLTO()
1769 if (Conf.OptLevel > 0) in runThinLTO()
1801 thinLTOResolvePrevailingInIndex(Conf, ThinLTO.CombinedIndex, isPrevailing, in runThinLTO()
1814 ThinLTO.Backend(Conf, ThinLTO.CombinedIndex, ModuleToDefinedGVSummaries, in runThinLTO()