Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h105 class LTO; variable
117 friend LTO;
140 friend LTO; variable
256 class LTO {
277 LTO(Config Conf, ThinBackend Backend = nullptr,
280 ~LTO();
/freebsd/contrib/llvm-project/lld/MachO/
H A DLTO.h21 class LTO; variable
37 std::unique_ptr<llvm::lto::LTO> ltoObj;
H A DOptions.td92 HelpText<"Set optimization level for LTO (default: 2)">,
96 HelpText<"Set codegen optimization level for LTO (default: 2)">,
530 HelpText<"Preserve all global symbols during LTO and when dead-stripping executables">,
651 HelpText<"Save intermediate LTO compilation results">,
989 … HelpText<"Retain any temporary mach-o file in <path> that would otherwise be deleted during LTO">,
993 HelpText<"Use <path> as a directory for the incremental LTO cache">,
997 HelpText<"Prune the incremental LTO cache after <seconds> (-1 disables pruning)">,
1001 HelpText<"Remove LTO cache entries after <seconds>">,
1005 HelpText<"Limit the incremental LTO cache growth to <percent> of free disk, space">,
1019 HelpText<"Processor family target for LTO code generation">,
[all …]
H A DLTO.cpp1 //===- LTO.cpp ------------------------------------------------------------===//
9 #include "LTO.h"
22 #include "llvm/LTO/Config.h"
23 #include "llvm/LTO/LTO.h"
104 ltoObj = std::make_unique<lto::LTO>(createConfig(), backend); in BitcodeCompiler()
117 // Provide a resolution to the LTO API for each symbol.
147 // load the ObjFile emitted by LTO compilation. in add()
198 // specified, configure LTO to use it as the cache directory. in thinLTOCreateEmptyIndexFiles()
231 fatal("cannot create LTO objec in compile()
[all...]
/freebsd/contrib/llvm-project/lld/ELF/
H A DLTO.h1 //===- LTO.h ----------------------------------------------------*- C++ -*-===//
12 // If LTO is in use, your input files are not in regular ELF files
31 class LTO; variable
48 std::unique_ptr<llvm::lto::LTO> ltoObj;
H A DOptions.td607 // LTO-related options.
609 def lto: JJ<"lto=">, HelpText<"Set LTO backend">,
612 HelpText<"AA pipeline to run during LTO. Used in conjunction with -lto-newpm-passes">;
620 HelpText<"Passes to run during LTO">;
622 HelpText<"Optimization level for LTO">;
624 HelpText<"Codegen optimization level for LTO">;
626 HelpText<"Number of LTO codegen partitions">;
640 "Validate that all vtables have type infos for LTO link",
641 "Do not validate that all vtables have type infos for LTO link">;
643 "Asserts that the LTO link has whole program visibility",
[all …]
H A DLTO.cpp191 constexpr llvm::lto::LTO::LTOKind ltoModes[3] = in BitcodeCompiler()
192 {llvm::lto::LTO::LTOKind::LTOK_UnifiedThin, in BitcodeCompiler()
193 llvm::lto::LTO::LTOKind::LTOK_UnifiedRegular, in BitcodeCompiler()
194 llvm::lto::LTO::LTOKind::LTOK_Default}; in BitcodeCompiler()
195 ltoObj = std::make_unique<lto::LTO>( 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">;
269 "output native object for merged LTO unit to this path">;
H A DLTO.cpp130 ltoObj = std::make_unique<lto::LTO>(createConfig(), backend, in BitcodeCompiler()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp590 LTO::RegularLTOState::RegularLTOState(unsigned ParallelCodeGenParallelismLevel, in RegularLTOState()
598 LTO::ThinLTOState::ThinLTOState(ThinBackend Backend) in ThinLTOState()
605 LTO::LTO(Config Conf, ThinBackend Backend, in LTO() function in LTO
614 LTO::~LTO() = default;
618 void LTO::addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms, in addModuleToGlobalRes()
707 Error LTO::add(std::unique_ptr<InputFile> Input, in add()
729 Error LTO::addModule(InputFile &Input, unsigned ModI, in addModule()
817 Expected<LTO::RegularLTOState::AddedModule>
818 LTO::addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms, in addRegularLTO()
972 Error LTO::linkRegularLTO(RegularLTOState::AddedModule Mod, in linkRegularLTO()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp377 LTO::LTOKind LTOMode = LTO::LTOK_Default; in run()
380 LTOMode = LTO::LTOK_UnifiedRegular; in run()
382 LTOMode = LTO::LTOK_UnifiedThin; in run()
384 LTOMode = LTO::LTOK_Default; in run()
390 LTO Lto(std::move(Conf), std::move(Backend), 1, LTOMode); in run()
/freebsd/contrib/libcbor/
H A DCMakeLists.txt152 # CMake >= 3.9.0 enables LTO for GCC and Clang with INTERPROCEDURAL_OPTIMIZATION
154 # Checking for LTO support before setting INTERPROCEDURAL_OPTIMIZATION is mandatory with CMP0069 set to NEW.
158 # Require LTO support to build libcbor with newer CMake versions
163 message(STATUS "LTO is enabled")
165 message(STATUS "LTO is not enabled")
H A DCHANGELOG.md86 - Enable LTO/IPO based on [CheckIPOSupported](https://cmake.org/cmake/help/latest/module/CheckIPOSupported.html#module:CheckIPOSupported) [[#143]](https://github.com/PJK/libcbor/pull/143) (by [xanderlent](https://github.com/xanderlent))
87 - If you rely on LTO being enabled and use CMake version older than 3.9, you will need to re-enable it manually or upgrade your CMake
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DTypes.def86 // LLVM IR/LTO types. We define separate types for IR and LTO because LTO
H A DOptions.td2959 HelpText<"Set LTO mode">, Values<"thin,full">;
2961 Alias<flto_EQ>, AliasArgs<["full"]>, HelpText<"Enable LTO in 'full' mode">;
2963 Alias<flto_EQ>, AliasArgs<["full"]>, HelpText<"Enable LTO in 'full' mode">;
2967 Alias<flto_EQ>, AliasArgs<["full"]>, HelpText<"Enable LTO in 'full' mode">;
2970 PosFlag<SetTrue, [], [ClangOption], "Use the unified LTO pipeline">,
2971 NegFlag<SetFalse, [], [ClangOption], "Use distinct LTO pipelines">,
2975 HelpText<"Disable LTO mode (default)">;
2978 HelpText<"Set LTO mode for offload compilation">, Values<"thin,full">;
2981 …Alias<foffload_lto_EQ>, AliasArgs<["full"]>, HelpText<"Enable LTO in 'full' mode for offload compi…
2984 HelpText<"Disable LTO mode (default) for offload compilation">;
[all …]
/freebsd/contrib/llvm-project/lld/docs/
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 DReleaseNotes.rst56 (typical for embedded). It also makes full LTO feasible in such cases, since
H A DNewLLD.rst243 LTO is implemented by handling LLVM bitcode files as object files.
/freebsd/usr.bin/clang/lld/
H A DMakefile63 SRCS+= ELF/LTO.cpp
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DCodeGenOptions.def166 CODEGENOPT(LTOUnit, 1, 0) ///< Emit IR to support LTO unit features (CFI, whole
169 CODEGENOPT(EnableSplitLTOUnit, 1, 0) ///< Enable LTO unit splitting to support
173 CODEGENOPT(UnifiedLTO, 1, 0) ///< Use the unified LTO pipeline.
356 /// Whether to use public LTO visibility for entities in std and stdext
H A DDiagnosticDriverKinds.td311 def err_drv_lto_without_lld : Error<"LTO requires -fuse-ld=lld">;
/freebsd/lib/clang/libllvm/
H A DMakefile866 SRCS_MIN+= LTO/LTO.cpp
867 SRCS_MIN+= LTO/LTOBackend.cpp
868 SRCS_EXL+= LTO/LTOCodeGenerator.cpp
869 SRCS_EXL+= LTO/LTOModule.cpp
870 SRCS_EXL+= LTO/SummaryBasedOptimizations.cpp
871 SRCS_EXL+= LTO/ThinLTOCodeGenerator.cpp
872 SRCS_MIN+= LTO/UpdateCompilerUsed.cpp
/freebsd/contrib/llvm-project/llvm/include/
H A Dmodule.modulemap286 umbrella "llvm/LTO"
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Processors.td1182 // Support cyclone as an alias for apple-a7 so we can still LTO old bitcode.

12