Searched refs:LTO (Results 1 - 13 of 13) sorted by relevance

/freebsd-current/contrib/llvm-project/lld/MachO/
H A DLTO.h1 //===- LTO.h ----------------------------------------------------*- C++ -*-===//
21 class LTO;
37 std::unique_ptr<llvm::lto::LTO> ltoObj;
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);
117 // Provide a resolution to the LTO API for each symbol.
147 // load the ObjFile emitted by LTO compilation.
198 // specified, configure LTO to use it as the cache directory.
231 fatal("cannot create LTO objec
[all...]
/freebsd-current/contrib/llvm-project/lld/COFF/
H A DLTO.h1 //===- LTO.h ----------------------------------------------------*- C++ -*-===//
12 // If LTO is in use, your input files are not in regular COFF files
32 class LTO;
50 std::unique_ptr<llvm::lto::LTO> ltoObj;
H A DLTO.cpp1 //===- LTO.cpp ------------------------------------------------------------===//
9 #include "LTO.h"
25 #include "llvm/LTO/Config.h"
26 #include "llvm/LTO/LTO.h"
58 // Always emit a section per function/datum with LTO. LLVM LTO should get most
129 ltoObj = std::make_unique<lto::LTO>(createConfig(), backend,
146 // Provide a resolution to the LTO API for each symbol.
162 // We tell LTO t
[all...]
H A DDriver.cpp30 #include "llvm/LTO/LTO.h"
1430 // Needed for LTO.
2431 // If any inputs are bitcode files, the LTO code generator may create
2434 // bitcode file in an archive member, we need to arrange to use LTO to
2437 for (auto *s : lto::LTO::getRuntimeLibcallSymbols())
2501 // Do LTO by compiling bitcode input files to a set of native COFF files then
/freebsd-current/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;
48 std::unique_ptr<llvm::lto::LTO> ltoObj;
H A DLTO.cpp1 //===- LTO.cpp ------------------------------------------------------------===//
9 #include "LTO.h"
25 #include "llvm/LTO/Config.h"
26 #include "llvm/LTO/LTO.h"
60 // Always emit a section per function/datum with LTO.
189 constexpr llvm::lto::LTO::LTOKind ltoModes[3] =
190 {llvm::lto::LTO::LTOKind::LTOK_UnifiedThin,
191 llvm::lto::LTO::LTOKind::LTOK_UnifiedRegular,
192 llvm::lto::LTO
[all...]
H A DDriver.cpp30 #include "LTO.h"
53 #include "llvm/LTO/LTO.h"
362 // This function is called on startup. We need this for LTO since
363 // LTO calls LLVM functions to compile bitcode files to native code.
1292 error("invalid optimization level for LTO: " + Twine(config->ltoo));
1298 error("invalid codegen optimization level for LTO: " + Twine(ltoCgo));
1538 // Parse LTO options.
1575 error("unknown LTO mode: " + s);
1581 // non-LTO part
[all...]
/freebsd-current/contrib/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h1 //===-LTO.h - LLVM Link Time Optimizer ------------------------------------===//
9 // This file declares functions and classes used to support LTO. It is intended
10 // to be used both by LTO classes as well as by clients (gold-plugin) that
11 // don't utilize the LTO code generator interfaces.
22 #include "llvm/LTO/Config.h"
103 class LTO;
108 /// information that an LTO client should need in order to do symbol resolution.
114 // FIXME: Remove LTO class friendship once we have bitcode symbol tables.
115 friend LTO;
136 /// LTO clien
254 class LTO { class in namespace:llvm::lto
[all...]
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp1 //===-- llvm-lto2: test harness for the resolution-based LTO interface ----===//
11 // resolution-based LTO interface, and outputs one or more object files.
14 // LTO interface.
21 #include "llvm/LTO/LTO.h"
116 " visible outside of the LTO unit\n"
182 cl::desc("Set LTO mode"),
187 cl::desc("Enable Freestanding (disable builtins / TLI) during LTO"),
223 cl::ParseCommandLineOptions(argc, argv, "Resolution-based LTO test harness");
355 LTO
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp1 //===-LTO.cpp - LLVM Link Time Optimizer ----------------------------------===//
9 // This file implements functions and classes used to support LTO.
13 #include "llvm/LTO/LTO.h"
33 #include "llvm/LTO/LTOBackend.h"
34 #include "llvm/LTO/SummaryBasedOptimizations.h"
73 /// Enable global value internalization in LTO.
76 cl::desc("Enable global value internalization in LTO"));
109 // Include the parts of the LTO configuration that affect code generation.
490 // Additionally, at least for the new LTO AP
591 LTO::LTO(Config Conf, ThinBackend Backend, function in class:LTO
[all...]
/freebsd-current/usr.bin/clang/lld/
H A DMakefile64 SRCS+= ELF/LTO.cpp
/freebsd-current/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

Completed in 404 milliseconds