Home
last modified time | relevance | path

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

12345

/openbsd-src/gnu/llvm/clang/docs/
H A DLTOVisibility.rst2 LTO Visibility
5 *LTO visibility* is a property of an entity that specifies whether it can be
6 referenced from outside the current LTO unit. A *linkage unit* is a set of
8 unit's *LTO unit* is the subset of the linkage unit that is linked together
9 using link-time optimization; in the case where LTO is not being used, the
10 linkage unit's LTO unit is empty. Each linkage unit has only a single LTO unit.
12 The LTO visibility of a class is used by the compiler to determine which
20 violation to define a class with hidden LTO visibility in multiple linkage
21 units. A class with public LTO visibility may be defined in multiple linkage
23 control flow integrity features can only be applied to classes with hidden LTO
[all …]
H A DClangLinkerWrapper.rst48 Optimization level for LTO
51 Pass remarks for LTO
53 Pass remarks for LTO
54 --pass-remarks=<value> Pass remarks for LTO
H A DThinLTO.rst11 *ThinLTO* compilation is a new type of LTO that is both scalable and
12 incremental. *LTO* (Link Time Optimization) achieves better
14 optimization. However, monolithic LTO implements this by merging all
18 In ThinLTO mode, as with regular LTO, clang emits LLVM bitcode after the
33 see the LLVM blog post `ThinLTO: Scalable and Incremental LTO
36 ThinLTO already performs well compared to LTO, in many cases matching
60 Similar to monolithic LTO, this requires using
91 non-LTO.
246 `ThinLTO: Scalable and Incremental LTO
H A DControlFlowIntegrity.rst24 As currently implemented, all schemes rely on link-time optimization (LTO);
25 so it is required to specify ``-flto``, and the linker used must support LTO,
34 LTO visibility for that class. LTO visibility is a property of a class that
36 for :doc:`LTO visibility <LTOVisibility>`.
45 <cfi-cross-dso>` exists that does not require classes to have hidden LTO
111 of :ref:`ignored <cfi-ignorelist>` types or types with public :doc:`LTO
158 of :ref:`ignored <cfi-ignorelist>` types or types with public :doc:`LTO
174 of :ref:`ignored <cfi-ignorelist>` types or types with public :doc:`LTO
263 possible with LTO in the intra-DSO case, but in the cross-DSO case the only
343 of :ref:`ignored <cfi-ignorelist>` types or types with public :doc:`LTO
[all …]
/openbsd-src/gnu/llvm/llvm/tools/lto/
H A DCMakeLists.txt10 LTO
29 set(LTO_LIBRARY_NAME LTO)
37 COMPONENT LTO)
44 set_property(TARGET LTO APPEND_STRING PROPERTY
/openbsd-src/gnu/usr.bin/clang/libLLVMLTO/
H A DMakefile6 CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/LTO
8 SRCS+= LTO.cpp \
16 .PATH: ${.CURDIR}/../../../llvm/llvm/lib/LTO
/openbsd-src/gnu/llvm/clang/cmake/caches/
H A DDistributionExample.cmake10 # Optimize the stage1 compiler, but don't LTO it because that wastes time.
16 # Setting up the stage2 LTO option needs to be done on the stage1 build so that
17 # the proper LTO library dependencies can be connected.
21 # Since LLVM_ENABLE_LTO is ON we need a LTO capable linker
/openbsd-src/gnu/llvm/llvm/include/llvm/LTO/
H A DLTO.h99 class LTO; variable
111 friend LTO;
134 friend LTO; variable
247 class LTO {
256 LTO(Config Conf, ThinBackend Backend = nullptr,
258 ~LTO();
/openbsd-src/gnu/llvm/lld/wasm/
H A DLTO.h31 class LTO; variable
50 std::unique_ptr<llvm::lto::LTO> ltoObj;
H A DCMakeLists.txt9 LTO.cpp
26 LTO
/openbsd-src/gnu/llvm/llvm/lib/LTO/
H A DCMakeLists.txt2 LTO.cpp
11 ${LLVM_MAIN_INCLUDE_DIR}/llvm/LTO
H A DLTO.cpp513 LTO::RegularLTOState::RegularLTOState(unsigned ParallelCodeGenParallelismLevel, in RegularLTOState()
519 LTO::ThinLTOState::ThinLTOState(ThinBackend Backend) in ThinLTOState()
526 LTO::LTO(Config Conf, ThinBackend Backend, in LTO() function in LTO
533 LTO::~LTO() = default;
537 void LTO::addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms, in addModuleToGlobalRes()
632 Error LTO::add(std::unique_ptr<InputFile> Input, in add()
654 Error LTO::addModule(InputFile &Input, unsigned ModI, in addModule()
729 Expected<LTO::RegularLTOState::AddedModule>
730 LTO::addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms, in addRegularLTO()
874 Error LTO::linkRegularLTO(RegularLTOState::AddedModule Mod, in linkRegularLTO()
[all …]
/openbsd-src/gnu/llvm/lld/MachO/
H A DLTO.h21 class LTO; variable
37 std::unique_ptr<llvm::lto::LTO> ltoObj;
H A DCMakeLists.txt22 LTO.cpp
45 LTO
/openbsd-src/gnu/llvm/lld/ELF/
H A DLTO.h31 class LTO; variable
48 std::unique_ptr<llvm::lto::LTO> ltoObj;
H A DCMakeLists.txt46 LTO.cpp
68 LTO
H A DOptions.td552 // LTO-related options.
554 HelpText<"AA pipeline to run during LTO. Used in conjunction with -lto-newpm-passes">;
562 HelpText<"Passes to run during LTO">;
564 HelpText<"Optimization level for LTO">;
566 HelpText<"Number of LTO codegen partitions">;
578 "Asserts that the LTO link has whole program visibility",
579 "Asserts that the LTO link does not have whole program visibility">;
594 def save_temps: F<"save-temps">, HelpText<"Save intermediate LTO compilation results">;
595 def save_temps_eq: JJ<"save-temps=">, HelpText<"Save select intermediate LTO compilation results">,
598 HelpText<"Enable basic block sections for LTO">;
[all …]
/openbsd-src/gnu/llvm/llvm/docs/
H A DGoldPlugin.rst9 the system linker. LTO support on Linux systems is available via the
10 `gold linker`_ which supports LTO via plugins. This is the same mechanism
11 used by the `GCC LTO`_ project.
16 and above also supports LTO via plugins. However, usage of the LLVM
21 section inside of ELF object files. However, LTO with bitcode files
25 .. _`GCC LTO`: http://gcc.gnu.org/wiki/LinkTimeOptimization
142 Quickstart for using LTO with autotooled projects
146 everything is in place for an easy to use LTO build of autotooled projects:
/openbsd-src/gnu/llvm/lld/COFF/
H A DCMakeLists.txt16 LTO.cpp
35 LTO
H A DLTO.h32 class LTO; variable
50 std::unique_ptr<llvm::lto::LTO> ltoObj;
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/tools/lto/
H A DBUILD.gn9 output_name = "LTO"
14 "//llvm/lib/LTO",
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/lib/LTO/
H A DBUILD.gn1 static_library("LTO") {
26 "LTO.cpp",
/openbsd-src/gnu/llvm/clang/tools/clang-linker-wrapper/
H A DLinkerWrapperOpts.td24 HelpText<"Optimization level for LTO">;
44 Flags<[WrapperOnlyOption]>, HelpText<"Pass remarks for LTO">;
46 Flags<[WrapperOnlyOption]>, HelpText<"Pass remarks for LTO">;
48 Flags<[WrapperOnlyOption]>, HelpText<"Pass remarks for LTO">;
75 HelpText<"LTO has visibility of all input files">;
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/lld/COFF/
H A DBUILD.gn19 "//llvm/lib/LTO",
41 "LTO.cpp",
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/lld/ELF/
H A DBUILD.gn17 "//llvm/lib/LTO",
51 "LTO.cpp",

12345