Home
last modified time | relevance | path

Searched refs:LTO (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/contrib/llvm-project/lld/MachO/
H A DLTO.h21 class LTO; variable
37 std::unique_ptr<llvm::lto::LTO> ltoObj;
H A DOptions.td96 HelpText<"Set optimization level for LTO (default: 2)">,
100 HelpText<"Set codegen optimization level for LTO (default: 2)">,
104 HelpText<"Do not verify LLVM modules during LTO">,
190 HelpText<"Passes to run during LTO">, Group<grp_lld>;
583 HelpText<"Preserve all global symbols during LTO and when dead-stripping executables">,
704 HelpText<"Save intermediate LTO compilation results">,
1036 … HelpText<"Retain any temporary mach-o file in <path> that would otherwise be deleted during LTO">,
1040 HelpText<"Use <path> as a directory for the incremental LTO cache">,
1044 HelpText<"Prune the incremental LTO cache after <seconds> (-1 disables pruning)">,
1048 HelpText<"Remove LTO cache entries after <seconds>">,
[all …]
H A DLTO.cpp104 ltoObj = std::make_unique<lto::LTO>(createConfig(), backend); in BitcodeCompiler()
/freebsd/contrib/llvm-project/lld/ELF/
H A DLTO.h31 class LTO; variable
49 std::unique_ptr<llvm::lto::LTO> ltoObj;
H A DOptions.td637 // LTO-related options.
639 def lto: JJ<"lto=">, HelpText<"Set LTO backend">,
642 HelpText<"AA pipeline to run during LTO. Used in conjunction with -lto-newpm-passes">;
650 HelpText<"Passes to run during LTO">;
652 HelpText<"Optimization level for LTO">;
654 HelpText<"Codegen optimization level for LTO">;
656 HelpText<"Number of LTO codegen partitions">;
670 "Validate that all vtables have type infos for LTO link",
671 "Do not validate that all vtables have type infos for LTO link">;
673 "Asserts that the LTO link has whole program visibility",
[all …]
H A DLTO.cpp197 constexpr llvm::lto::LTO::LTOKind ltoModes[3] = in BitcodeCompiler()
198 {llvm::lto::LTO::LTOKind::LTOK_UnifiedThin, in BitcodeCompiler()
199 llvm::lto::LTO::LTOKind::LTOK_UnifiedRegular, in BitcodeCompiler()
200 llvm::lto::LTO::LTOKind::LTOK_Default}; in BitcodeCompiler()
201 ltoObj = std::make_unique<lto::LTO>(createConfig(ctx), backend, in BitcodeCompiler()
/freebsd/contrib/llvm-project/lld/COFF/
H A DLTO.h32 class LTO; variable
50 std::unique_ptr<llvm::lto::LTO> ltoObj;
H A DOptions.td46 "Directory to store .dwo files when LTO and debug fission are used">;
81 HelpText<"Save intermediate LTO compilation results">;
83 HelpText<"Save select intermediate LTO compilation results">,
286 "output native object for merged LTO unit to this path">;
H A DLTO.cpp135 ltoObj = std::make_unique<lto::LTO>(createConfig(), backend, in BitcodeCompiler()
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h113 class LTO; variable
124 friend LTO;
148 friend LTO; member
373 class LTO {
394 LLVM_ABI LTO(Config Conf, ThinBackend Backend = {},
397 LLVM_ABI ~LTO();
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp407 LTO::LTOKind LTOMode = LTO::LTOK_Default; in run()
410 LTOMode = LTO::LTOK_UnifiedRegular; in run()
412 LTOMode = LTO::LTOK_UnifiedThin; in run()
414 LTOMode = LTO::LTOK_Default; in run()
420 LTO Lto(std::move(Conf), std::move(Backend), 1, LTOMode); in run()
/freebsd/contrib/libcbor/
H A DCMakeLists.txt169 # CMake >= 3.9.0 enables LTO for GCC and Clang with INTERPROCEDURAL_OPTIMIZATION
171 # 3.9.0 Checking for LTO support before setting INTERPROCEDURAL_OPTIMIZATION is
177 # Require LTO support to build libcbor with newer CMake versions
189 … "LTO is supported and CMAKE_INTERPROCEDURAL_OPTIMIZATION=${CMAKE_INTERPROCEDURAL_OPTIMIZATION}"
192 message(STATUS "LTO is not supported")
H A DCHANGELOG.md125 - Enable LTO/IPO based on [CheckIPOSupported](https://cmake.org/cmake/help/latest/module/CheckIPOSu…
126 …- If you rely on LTO being enabled and use CMake version older than 3.9, you will need to re-enabl…
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp598 LTO::RegularLTOState::RegularLTOState(unsigned ParallelCodeGenParallelismLevel, in RegularLTOState()
604 LTO::ThinLTOState::ThinLTOState(ThinBackend BackendParam) in ThinLTOState()
611 LTO::LTO(Config Conf, ThinBackend Backend, in LTO() function in LTO
626 LTO::~LTO() = default;
630 void LTO::addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms, in addModuleToGlobalRes()
699 void LTO::releaseGlobalResolutionsMemory() { in releaseGlobalResolutionsMemory()
731 Error LTO::add(std::unique_ptr<InputFile> Input, in add()
754 Error LTO::addModule(InputFile &Input, unsigned ModI, in addModule()
842 Expected<LTO::RegularLTOState::AddedModule>
843 LTO::addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms, in addRegularLTO()
[all …]
/freebsd/contrib/llvm-project/lld/docs/
H A DDTLTO.rst39 Some LLD LTO options (e.g., ``--lto-sample-profile=<file>``) are supported.
70 Some LLD LTO options (e.g., ``/lto-sample-profile:<file>``) are supported.
H A Dindex.rst47 - Link-time optimization (LTO) is supported by default. Essentially,
48 all you have to do to do LTO is to pass the ``-flto`` option to clang.
H A DNewLLD.rst243 LTO is implemented by handling LLVM bitcode files as object files.
/freebsd/contrib/libcbor/doc/source/
H A Dgetting_started.rst57 - Enable LTO (if supported)
106LTO-enabled linker downstream. On LLVM toolchains without bitcode embedding (`-fembed-bitcode`), t…
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DTypes.def95 // LLVM IR/LTO types. We define separate types for IR and LTO because LTO
H A DOptions.td3100 HelpText<"Set LTO mode">, Values<"thin,full">;
3102 Alias<flto_EQ>, AliasArgs<["full"]>, HelpText<"Enable LTO in 'full' mode">;
3104 Alias<flto_EQ>, AliasArgs<["full"]>, HelpText<"Enable LTO in 'full' mode">;
3108 Alias<flto_EQ>, AliasArgs<["full"]>, HelpText<"Enable LTO in 'full' mode">;
3111 PosFlag<SetTrue, [], [ClangOption], "Use the unified LTO pipeline">,
3112 NegFlag<SetFalse, [], [ClangOption], "Use distinct LTO pipelines">,
3116 HelpText<"Disable LTO mode (default)">;
3119 HelpText<"Set LTO mode for offload compilation">, Values<"thin,full">;
3122 …Alias<foffload_lto_EQ>, AliasArgs<["full"]>, HelpText<"Enable LTO in 'full' mode for offload compi…
3125 HelpText<"Disable LTO mode (default) for offload compilation">;
[all …]
/freebsd/usr.bin/clang/lld/
H A DMakefile65 SRCS+= ELF/LTO.cpp
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DCodeGenOptions.def163 CODEGENOPT(LTOUnit, 1, 0, Benign) ///< Emit IR to support LTO unit features (CFI, whole
166 CODEGENOPT(EnableSplitLTOUnit, 1, 0, Benign) ///< Enable LTO unit splitting to support
170 CODEGENOPT(UnifiedLTO, 1, 0, Benign) ///< Use the unified LTO pipeline.
363 /// Whether to use public LTO visibility for entities in std and stdext
/freebsd/lib/clang/libllvm/
H A DMakefile963 SRCS_MIN+= LTO/LTO.cpp
964 SRCS_MIN+= LTO/LTOBackend.cpp
965 SRCS_EXL+= LTO/LTOCodeGenerator.cpp
966 SRCS_EXL+= LTO/LTOModule.cpp
967 SRCS_EXL+= LTO/ThinLTOCodeGenerator.cpp
968 SRCS_MIN+= LTO/UpdateCompilerUsed.cpp
/freebsd/contrib/llvm-project/llvm/lib/Passes/
H A DPassRegistry.def274 // LTO pipeline "unified" for both LTO modes.
/freebsd/contrib/llvm-project/llvm/include/
H A Dmodule.modulemap294 umbrella "llvm/LTO"

12