Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h103 class LTO; variable
115 friend LTO;
138 friend LTO; variable
254 class LTO {
275 LTO(Config Conf, ThinBackend Backend = nullptr,
278 ~LTO();
/freebsd-14.2/contrib/llvm-project/lld/MachO/
H A DLTO.h21 class LTO; variable
37 std::unique_ptr<llvm::lto::LTO> ltoObj;
H A DOptions.td89 HelpText<"Set optimization level for LTO (default: 2)">,
93 HelpText<"Set codegen optimization level for LTO (default: 2)">,
512 HelpText<"Preserve all global symbols during LTO and when dead-stripping executables">,
633 HelpText<"Save intermediate LTO compilation results">,
975 … HelpText<"Retain any temporary mach-o file in <path> that would otherwise be deleted during LTO">,
979 HelpText<"Use <path> as a directory for the incremental LTO cache">,
983 HelpText<"Prune the incremental LTO cache after <seconds> (-1 disables pruning)">,
987 HelpText<"Remove LTO cache entries after <seconds>">,
991 HelpText<"Limit the incremental LTO cache growth to <percent> of free disk, space">,
1005 HelpText<"Processor family target for LTO code generation">,
[all …]
H A DLTO.cpp104 ltoObj = std::make_unique<lto::LTO>(createConfig(), backend); in BitcodeCompiler()
/freebsd-14.2/contrib/llvm-project/lld/ELF/
H A DLTO.h31 class LTO; variable
48 std::unique_ptr<llvm::lto::LTO> ltoObj;
H A DOptions.td585 // LTO-related options.
587 def lto: JJ<"lto=">, HelpText<"Set LTO backend">,
596 HelpText<"Passes to run during LTO">;
598 HelpText<"Optimization level for LTO">;
600 HelpText<"Codegen optimization level for LTO">;
602 HelpText<"Number of LTO codegen partitions">;
639 HelpText<"Enable basic block sections for LTO">;
662 … "Use the .llvm.lto section, which contains LLVM bitcode, in fat LTO object files to perform LTO.",
703 HelpText<"Filename to write LTO statistics to">;
720 // Ignore LTO plugin-related options.
[all …]
H A DLTO.cpp189 constexpr llvm::lto::LTO::LTOKind ltoModes[3] = in BitcodeCompiler()
190 {llvm::lto::LTO::LTOKind::LTOK_UnifiedThin, in BitcodeCompiler()
191 llvm::lto::LTO::LTOKind::LTOK_UnifiedRegular, in BitcodeCompiler()
192 llvm::lto::LTO::LTOKind::LTOK_Default}; in BitcodeCompiler()
193 ltoObj = std::make_unique<lto::LTO>( in BitcodeCompiler()
/freebsd-14.2/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">;
268 "output native object for merged LTO unit to this path">;
H A DLTO.cpp129 ltoObj = std::make_unique<lto::LTO>(createConfig(), backend, in BitcodeCompiler()
/freebsd-14.2/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp584 LTO::ThinLTOState::ThinLTOState(ThinBackend Backend) in ThinLTOState()
591 LTO::LTO(Config Conf, ThinBackend Backend, in LTO() function in LTO
600 LTO::~LTO() = default;
693 Error LTO::add(std::unique_ptr<InputFile> Input, in add()
715 Error LTO::addModule(InputFile &Input, unsigned ModI, in addModule()
803 Expected<LTO::RegularLTOState::AddedModule>
1075 unsigned LTO::getMaxTasks() const { in getMaxTasks()
1084 Error LTO::checkPartiallySplit() { in checkPartiallySplit()
1126 Error LTO::run(AddStreamFn AddStream, FileCache Cache) { in run()
1215 Error LTO::runRegularLTO(AddStreamFn AddStream) { in runRegularLTO()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp355 LTO::LTOKind LTOMode = LTO::LTOK_Default; in run()
358 LTOMode = LTO::LTOK_UnifiedRegular; in run()
360 LTOMode = LTO::LTOK_UnifiedThin; in run()
362 LTOMode = LTO::LTOK_Default; in run()
368 LTO Lto(std::move(Conf), std::move(Backend), 1, LTOMode); in run()
/freebsd-14.2/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 se…
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/CheckIPOSu…
87 …- If you rely on LTO being enabled and use CMake version older than 3.9, you will need to re-enabl…
/freebsd-14.2/contrib/llvm-project/lld/docs/
H A DReleaseNotes.rst95 the output of LTO compilation as LLVM bitcode or assembly.
109 * More correctly handle LTO of files that define ``__imp_`` prefixed dllimport
115 * Linking undefined references to weak symbols with LTO now works.
129 * Added support for many LTO and ThinLTO options (most LTO options 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-14.2/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.td2826 HelpText<"Set LTO mode">, Values<"thin,full">;
2828 Alias<flto_EQ>, AliasArgs<["full"]>, HelpText<"Enable LTO in 'full' mode">;
2830 Alias<flto_EQ>, AliasArgs<["full"]>, HelpText<"Enable LTO in 'full' mode">;
2834 Alias<flto_EQ>, AliasArgs<["full"]>, HelpText<"Enable LTO in 'full' mode">;
2837 PosFlag<SetTrue, [], [ClangOption], "Use the unified LTO pipeline">,
2838 NegFlag<SetFalse, [], [ClangOption], "Use distinct LTO pipelines">,
2842 HelpText<"Disable LTO mode (default)">;
2845 HelpText<"Set LTO mode for offload compilation">, Values<"thin,full">;
2851 HelpText<"Disable LTO mode (default) for offload compilation">;
2868 BothFlags<[], [ClangOption, CC1Option], " fat LTO object support">>;
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DCodeGenOptions.def161 CODEGENOPT(LTOUnit, 1, 0) ///< Emit IR to support LTO unit features (CFI, whole
164 CODEGENOPT(EnableSplitLTOUnit, 1, 0) ///< Enable LTO unit splitting to support
168 CODEGENOPT(UnifiedLTO, 1, 0) ///< Use the unified LTO pipeline.
346 /// Whether to use public LTO visibility for entities in std and stdext
H A DDiagnosticDriverKinds.td300 def err_drv_lto_without_lld : Error<"LTO requires -fuse-ld=lld">;
/freebsd-14.2/usr.bin/clang/lld/
H A DMakefile64 SRCS+= ELF/LTO.cpp
/freebsd-14.2/lib/clang/libllvm/
H A DMakefile860 SRCS_MIN+= LTO/LTO.cpp
861 SRCS_MIN+= LTO/LTOBackend.cpp
862 SRCS_EXL+= LTO/LTOCodeGenerator.cpp
863 SRCS_EXL+= LTO/LTOModule.cpp
864 SRCS_EXL+= LTO/SummaryBasedOptimizations.cpp
865 SRCS_EXL+= LTO/ThinLTOCodeGenerator.cpp
866 SRCS_MIN+= LTO/UpdateCompilerUsed.cpp
/freebsd-14.2/contrib/llvm-project/llvm/include/
H A Dmodule.modulemap289 umbrella "llvm/LTO"
/freebsd-14.2/contrib/llvm-project/
H A DFREEBSD-Xlist592 llvm/lib/LTO/CMakeLists.txt

12