Home
last modified time | relevance | path

Searched refs:ltoCgo (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/lld/MachO/
H A DConfig.h171 llvm::CodeGenOptLevel ltoCgo; member
H A DLTO.cpp64 c.CGOptLevel = config->ltoCgo; in createConfig()
H A DDriver.cpp1533 unsigned ltoCgo = in link() local
1535 if (auto level = CodeGenOpt::getLevel(ltoCgo)) in link()
1536 config->ltoCgo = *level; in link()
1538 error("--lto-CGO: invalid codegen optimization level: " + Twine(ltoCgo)); in link()
/freebsd/contrib/llvm-project/lld/COFF/
H A DConfig.h182 std::optional<unsigned> ltoCgo; member
H A DLTO.cpp81 ctx.config.ltoCgo.value_or(args::getCGOptLevel(ctx.config.ltoo))); in createConfig()
H A DDriver.cpp1880 config->ltoCgo.emplace(); in linkerMain()
1881 if (s.getAsInteger(10, *config->ltoCgo) || *config->ltoCgo > 3) in linkerMain()
/freebsd/contrib/llvm-project/lld/ELF/
H A DConfig.h365 llvm::CodeGenOptLevel ltoCgo; member
H A DLTO.cpp108 c.CGOptLevel = config->ltoCgo; in createConfig()
H A DDriver.cpp1335 unsigned ltoCgo = in readConfigs() local
1337 if (auto level = CodeGenOpt::getLevel(ltoCgo)) in readConfigs()
1338 config->ltoCgo = *level; in readConfigs()
1340 error("invalid codegen optimization level for LTO: " + Twine(ltoCgo)); in readConfigs()