Home
last modified time | relevance | path

Searched refs:Conf (Results 1 – 12 of 12) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/LTO/
H A DLTOBackend.cpp204 createTargetMachine(const Config &Conf, const Target *TheTarget, Module &M) { in createTargetMachine() argument
208 for (const std::string &A : Conf.MAttrs) in createTargetMachine()
212 if (Conf.RelocModel) in createTargetMachine()
213 RelocModel = *Conf.RelocModel; in createTargetMachine()
219 if (Conf.CodeModel) in createTargetMachine()
220 CodeModel = *Conf.CodeModel; in createTargetMachine()
225 TheTriple, Conf.CPU, Features.getString(), Conf.Options, RelocModel, in createTargetMachine()
226 CodeModel, Conf.CGOptLevel)); in createTargetMachine()
231 static void runNewPMPasses(const Config &Conf, Module &Mod, TargetMachine *TM, in runNewPMPasses() argument
236 if (!Conf.SampleProfile.empty()) in runNewPMPasses()
[all …]
H A DLTO.cpp82 SmallString<40> &Key, const Config &Conf, const ModuleSummaryIndex &Index, in computeLTOCacheKey() argument
116 AddString(Conf.CPU); in computeLTOCacheKey()
121 AddUnsigned(Conf.Options.RelaxELFRelocations); in computeLTOCacheKey()
122 AddUnsigned(Conf.Options.FunctionSections); in computeLTOCacheKey()
123 AddUnsigned(Conf.Options.DataSections); in computeLTOCacheKey()
124 AddUnsigned((unsigned)Conf.Options.DebuggerTuning); in computeLTOCacheKey()
125 for (auto &A : Conf.MAttrs) in computeLTOCacheKey()
127 if (Conf.RelocModel) in computeLTOCacheKey()
128 AddUnsigned(*Conf.RelocModel); in computeLTOCacheKey()
131 if (Conf.CodeModel) in computeLTOCacheKey()
[all …]
H A DThinLTOCodeGenerator.cpp378 llvm::lto::Config Conf; in ModuleCacheEntry() local
379 Conf.OptLevel = OptLevel; in ModuleCacheEntry()
380 Conf.Options = TMBuilder.Options; in ModuleCacheEntry()
381 Conf.CPU = TMBuilder.MCpu; in ModuleCacheEntry()
382 Conf.MAttrs.push_back(TMBuilder.MAttr); in ModuleCacheEntry()
383 Conf.RelocModel = TMBuilder.RelocModel; in ModuleCacheEntry()
384 Conf.CGOptLevel = TMBuilder.CGOptLevel; in ModuleCacheEntry()
385 Conf.Freestanding = Freestanding; in ModuleCacheEntry()
387 computeLTOCacheKey(Key, Conf, Index, ModuleID, ImportList, ExportList, in ModuleCacheEntry()
547 lto::Config Conf; in resolvePrevailingInIndex() local
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp262 Config Conf; in run() local
264 Conf.CPU = codegen::getMCPU(); in run()
265 Conf.Options = codegen::InitTargetOptionsFromCodeGenFlags(Triple()); in run()
266 Conf.MAttrs = codegen::getMAttrs(); in run()
268 Conf.RelocModel = *RM; in run()
269 Conf.CodeModel = codegen::getExplicitCodeModel(); in run()
271 Conf.DebugPassManager = DebugPassManager; in run()
286 check(Conf.addSaveTemps(OutputFilename + ".", false, SaveTempsArgs), in run()
291 Conf.RemarksFilename = RemarksFilename; in run()
292 Conf.RemarksPasses = RemarksPasses; in run()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/gold/
H A Dgold-plugin.cpp866 Config Conf; in createLTO() local
869 Conf.CPU = options::mcpu; in createLTO()
870 Conf.Options = codegen::InitTargetOptionsFromCodeGenFlags(Triple()); in createLTO()
874 Conf.Options.RelaxELFRelocations = false; in createLTO()
878 Conf.Options.FunctionSections = SplitSections; in createLTO()
880 Conf.Options.DataSections = SplitSections; in createLTO()
882 Conf.MAttrs = codegen::getMAttrs(); in createLTO()
883 Conf.RelocModel = RelocationModel; in createLTO()
884 Conf.CodeModel = codegen::getExplicitCodeModel(); in createLTO()
888 Conf.CGOptLevel = *CGOptLevelOrNone; in createLTO()
[all …]
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DBackendUtil.cpp1138 lto::Config Conf; in runThinLTOBackend() local
1140 if (Error E = Conf.addSaveTemps(CGOpts.SaveTempsFilePrefix + ".", in runThinLTOBackend()
1148 Conf.CPU = TOpts.CPU; in runThinLTOBackend()
1149 Conf.CodeModel = getCodeModel(CGOpts); in runThinLTOBackend()
1150 Conf.MAttrs = TOpts.Features; in runThinLTOBackend()
1151 Conf.RelocModel = CGOpts.RelocationModel; in runThinLTOBackend()
1155 Conf.CGOptLevel = *OptLevelOrNone; in runThinLTOBackend()
1156 Conf.OptLevel = CGOpts.OptimizationLevel; in runThinLTOBackend()
1157 initTargetOptions(Diags, Conf.Options, CGOpts, TOpts, LOpts, HeaderOpts); in runThinLTOBackend()
1158 Conf.SampleProfile = std::move(SampleProfile); in runThinLTOBackend()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp125 void printCOFFLoadConfig(const T *Conf, LoadConfigTables &Tables);
888 void COFFDumper::printCOFFLoadConfig(const T *Conf, LoadConfigTables &Tables) { in printCOFFLoadConfig() argument
889 if (!Conf) in printCOFFLoadConfig()
894 time_t TDS = Conf->TimeDateStamp; in printCOFFLoadConfig()
896 W.printHex("Size", Conf->Size); in printCOFFLoadConfig()
900 if (Conf->Size < offsetof(T, SEHandlerTable)) in printCOFFLoadConfig()
903 W.printHex("MajorVersion", Conf->MajorVersion); in printCOFFLoadConfig()
904 W.printHex("MinorVersion", Conf->MinorVersion); in printCOFFLoadConfig()
905 W.printHex("GlobalFlagsClear", Conf->GlobalFlagsClear); in printCOFFLoadConfig()
906 W.printHex("GlobalFlagsSet", Conf->GlobalFlagsSet); in printCOFFLoadConfig()
[all …]
/openbsd-src/gnu/llvm/clang/tools/clang-linker-wrapper/
H A DClangLinkerWrapper.cpp504 lto::Config Conf; local
510 Conf.CPU = Arch.str();
511 Conf.Options = codegen::InitTargetOptionsFromCodeGenFlags(Triple);
514 Conf.MAttrs = Features;
518 Conf.CGOptLevel = *CGOptLevelOrNone;
519 Conf.OptLevel = OptLevel[1] - '0';
520 Conf.DefaultTriple = Triple.getTriple();
523 Conf.DiagHandler = diagnosticHandler;
525 Conf.PTO.LoopVectorization = Conf.OptLevel > 1;
526 Conf.PTO.SLPVectorization = Conf.OptLevel > 1;
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/LTO/
H A DLTO.h67 SmallString<40> &Key, const lto::Config &Conf,
256 LTO(Config Conf, ThinBackend Backend = nullptr,
285 Config Conf;
289 const Config &Conf);
H A DLTOBackend.h37 bool opt(const Config &Conf, TargetMachine *TM, unsigned Task, Module &Mod,
/openbsd-src/gnu/usr.bin/perl/cpan/IPC-Cmd/t/
H A D02_Interactive.t24 my @Conf = (
58 for my $aref ( @Conf ) {
/openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/
H A Dllvm-exegesis.cpp370 for (const BenchmarkCode &Conf : Configurations) { in runBenchmarkConfigurations() local
377 Conf, NumRepetitions, LoopBodySize, *Repetitor)); in runBenchmarkConfigurations()