Lines Matching refs:Conf

70     SmallString<40> &Key, const Config &Conf, const ModuleSummaryIndex &Index,  in computeLTOCacheKey()  argument
114 AddString(Conf.CPU); in computeLTOCacheKey()
119 AddUnsigned(Conf.Options.RelaxELFRelocations); in computeLTOCacheKey()
120 AddUnsigned(Conf.Options.FunctionSections); in computeLTOCacheKey()
121 AddUnsigned(Conf.Options.DataSections); in computeLTOCacheKey()
122 AddUnsigned((unsigned)Conf.Options.DebuggerTuning); in computeLTOCacheKey()
123 for (auto &A : Conf.MAttrs) in computeLTOCacheKey()
125 if (Conf.RelocModel) in computeLTOCacheKey()
126 AddUnsigned(*Conf.RelocModel); in computeLTOCacheKey()
129 if (Conf.CodeModel) in computeLTOCacheKey()
130 AddUnsigned(*Conf.CodeModel); in computeLTOCacheKey()
133 AddUnsigned(Conf.CGOptLevel); in computeLTOCacheKey()
134 AddUnsigned(Conf.CGFileType); in computeLTOCacheKey()
135 AddUnsigned(Conf.OptLevel); in computeLTOCacheKey()
136 AddUnsigned(Conf.UseNewPM); in computeLTOCacheKey()
137 AddUnsigned(Conf.Freestanding); in computeLTOCacheKey()
138 AddString(Conf.OptPipeline); in computeLTOCacheKey()
139 AddString(Conf.AAPipeline); in computeLTOCacheKey()
140 AddString(Conf.OverrideTriple); in computeLTOCacheKey()
141 AddString(Conf.DefaultTriple); in computeLTOCacheKey()
142 AddString(Conf.DwoDir); in computeLTOCacheKey()
280 if (!Conf.SampleProfile.empty()) { in computeLTOCacheKey()
281 auto FileOrErr = MemoryBuffer::getFile(Conf.SampleProfile); in computeLTOCacheKey()
285 if (!Conf.ProfileRemapping.empty()) { in computeLTOCacheKey()
286 FileOrErr = MemoryBuffer::getFile(Conf.ProfileRemapping); in computeLTOCacheKey()
423 Config &Conf) in RegularLTOState() argument
425 Ctx(Conf), CombinedModule(llvm::make_unique<Module>("ld-temp.o", Ctx)), in RegularLTOState()
435 LTO::LTO(Config Conf, ThinBackend Backend, in LTO() argument
437 : Conf(std::move(Conf)), in LTO()
438 RegularLTO(ParallelCodeGenParallelismLevel, this->Conf), in LTO()
527 if (Conf.ResolutionFile) in add()
528 writeToResolutionFile(*Conf.ResolutionFile, Input.get(), Res); in add()
840 isPrevailing, Conf.OptLevel > 0); in run()
844 if (!Conf.StatsFile.empty()) { in run()
848 llvm::make_unique<ToolOutputFile>(Conf.StatsFile, EC, sys::fs::F_None); in run()
899 if (Conf.PreOptModuleHook && in runRegularLTO()
900 !Conf.PreOptModuleHook(0, *RegularLTO.CombinedModule)) in runRegularLTO()
903 if (!Conf.CodeGenOnly) { in runRegularLTO()
923 if (Conf.PostInternalizeModuleHook && in runRegularLTO()
924 !Conf.PostInternalizeModuleHook(0, *RegularLTO.CombinedModule)) in runRegularLTO()
927 return backend(Conf, AddStream, RegularLTO.ParallelCodeGenParallelismLevel, in runRegularLTO()
934 Config &Conf; member in lto::ThinBackendProc
939 ThinBackendProc(Config &Conf, ModuleSummaryIndex &CombinedIndex, in ThinBackendProc() argument
941 : Conf(Conf), CombinedIndex(CombinedIndex), in ThinBackendProc()
967 Config &Conf, ModuleSummaryIndex &CombinedIndex, in InProcessThinBackend() argument
971 : ThinBackendProc(Conf, CombinedIndex, ModuleToDefinedGVSummaries), in InProcessThinBackend()
991 LTOLLVMContext BackendContext(Conf); in runThinLTOBackendThread()
996 return thinBackend(Conf, Task, AddStream, **MOrErr, CombinedIndex, in runThinLTOBackendThread()
1011 computeLTOCacheKey(Key, Conf, CombinedIndex, ModuleID, ImportList, in runThinLTOBackendThread()
1065 return [=](Config &Conf, ModuleSummaryIndex &CombinedIndex, in createInProcessThinBackend()
1069 Conf, CombinedIndex, ParallelismLevel, ModuleToDefinedGVSummaries, in createInProcessThinBackend()
1103 Config &Conf, ModuleSummaryIndex &CombinedIndex, in WriteIndexesThinBackend() argument
1107 : ThinBackendProc(Conf, CombinedIndex, ModuleToDefinedGVSummaries), in WriteIndexesThinBackend()
1155 return [=](Config &Conf, ModuleSummaryIndex &CombinedIndex, in createWriteIndexesThinBackend()
1159 Conf, CombinedIndex, ModuleToDefinedGVSummaries, OldPrefix, NewPrefix, in createWriteIndexesThinBackend()
1168 if (Conf.CombinedIndexHook && !Conf.CombinedIndexHook(ThinLTO.CombinedIndex)) in runThinLTO()
1200 if (Conf.OptLevel > 0) in runThinLTO()
1249 ThinLTO.Backend(Conf, ThinLTO.CombinedIndex, ModuleToDefinedGVSummaries, in runThinLTO()