Searched refs:lto (Results 1 - 25 of 35) sorted by relevance

12

/freebsd-11-stable/usr.bin/clang/llvm-lto/
H A DMakefile1 # $FreeBSD: stable/11/usr.bin/clang/llvm-lto/Makefile 360660 2020-05-05 17:10:49Z dim $
3 PROG_CXX= llvm-lto
6 SRCDIR= llvm/tools/llvm-lto
7 SRCS= llvm-lto.cpp
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm-c/
H A DLinkTimeOptimizer.h53 extern void llvm_destroy_optimizer(llvm_lto_t lto);
56 (llvm_lto_t lto, const char* input_filename);
58 (llvm_lto_t lto, const char* output_filename);
/freebsd-11-stable/contrib/llvm-project/lld/COFF/
H A DLTO.h31 namespace lto { namespace in namespace:llvm
51 std::unique_ptr<llvm::lto::LTO> ltoObj;
H A DLTO.cpp58 return lto::getThinLTOOutputFile(path,
63 static lto::Config createConfig() {
64 lto::Config c;
98 lto::ThinBackend backend;
101 backend = lto::createWriteIndexesThinBackend(
105 backend = lto::createInProcessThinBackend(config->thinLTOJobs);
108 ltoObj = std::make_unique<lto::LTO>(createConfig(), backend,
117 lto::InputFile &obj = *f.obj;
120 std::vector<lto::SymbolResolution> resols(symBodies.size());
126 for (const lto
[all...]
H A DSymbolTable.h131 std::unique_ptr<BitcodeCompiler> lto; member in class:lld::coff::SymbolTable
H A DInputFiles.h30 namespace lto { namespace in namespace:llvm
350 std::unique_ptr<llvm::lto::InputFile> obj;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/LTO/
H A DCaching.h21 namespace lto { namespace in namespace:llvm
36 } // namespace lto
H A DLTOBackend.h34 namespace lto { namespace in namespace:llvm
H A DConfig.h9 // This file defines the lto::Config data structure, which allows clients to
34 namespace lto { namespace in namespace:llvm
37 /// structure and passing it to the lto::LTO constructor.
H A DLTO.h70 SmallString<40> &Key, const lto::Config &Conf,
79 namespace lto { namespace in namespace:llvm
255 /// - Set hooks and code generation options (see lto::Config struct defined in
256 /// Config.h), and use the lto::Config object to create an lto::LTO object.
257 /// - Create lto::InputFile objects using lto::InputFile::create(), then use
261 /// file) and computed a resolution for each symbol, take each lto::InputFile
454 } // namespace lto
/freebsd-11-stable/contrib/llvm-project/lld/ELF/
H A DLTO.h31 namespace lto { namespace in namespace:llvm
52 std::unique_ptr<llvm::lto::LTO> ltoObj;
H A DLTO.cpp62 return lto::getThinLTOOutputFile(modulePath,
67 static lto::Config createConfig() {
68 lto::Config c;
137 lto::ThinBackend backend;
140 backend = lto::createWriteIndexesThinBackend(
144 backend = lto::createInProcessThinBackend(config->thinLTOJobs);
147 ltoObj = std::make_unique<lto::LTO>(createConfig(), backend,
162 lto::InputFile &obj = *f.obj;
169 ArrayRef<lto::InputFile::Symbol> objSyms = obj.symbols();
170 std::vector<lto
[all...]
H A DDriver.h46 std::unique_ptr<BitcodeCompiler> lto; member in class:lld::elf::LinkerDriver
H A DInputFiles.h29 namespace lto { namespace in namespace:llvm
337 std::unique_ptr<llvm::lto::InputFile> obj;
/freebsd-11-stable/contrib/ntp/sntp/
H A Dutilities.c144 int hh, mm, lto; local
156 lto = difftime(local_time, gmt_time);
157 lto /= 60;
158 hh = lto / 60;
159 mm = abs(lto % 60);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/LTO/legacy/
H A DThinLTOCodeGenerator.h18 #include "llvm-c/lto.h"
255 const lto::InputFile &File);
262 const lto::InputFile &File);
269 const lto::InputFile &File);
277 const lto::InputFile &File);
283 const lto::InputFile &File);
312 std::vector<std::unique_ptr<lto::InputFile>> Modules;
H A DLTOModule.h16 #include "llvm-c/lto.h"
161 static lto::InputFile *createInputFile(const void *buffer, size_t buffer_size,
164 static size_t getDependentLibraryCount(lto::InputFile *input);
166 static const char *getDependentLibrary(lto::InputFile *input, size_t index, size_t *size);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/LTO/
H A DThinLTOCodeGenerator.cpp143 static StringMap<lto::InputFile *>
144 generateModuleMap(std::vector<std::unique_ptr<lto::InputFile>> &Modules) {
145 StringMap<lto::InputFile *> ModuleMap;
182 static std::unique_ptr<Module> loadModuleFromInput(lto::InputFile *Input,
207 StringMap<lto::InputFile*> &ModuleMap,
260 addUsedSymbolToPreservedGUID(const lto::InputFile &File,
333 llvm::lto::Config Conf;
401 StringMap<lto::InputFile *> &ModuleMap, TargetMachine &TM,
512 auto InputOrError = lto::InputFile::create(Buffer);
634 const lto
[all...]
H A DCaching.cpp28 using namespace llvm::lto;
30 Expected<NativeObjectCache> lto::localCache(StringRef CacheDirectoryPath,
H A DLTOModule.cpp652 lto::InputFile *LTOModule::createInputFile(const void *buffer,
658 Expected<std::unique_ptr<lto::InputFile>> ObjOrErr =
659 lto::InputFile::create(BufferRef);
669 size_t LTOModule::getDependentLibraryCount(lto::InputFile *input) {
673 const char *LTOModule::getDependentLibrary(lto::InputFile *input, size_t index,
H A DLTOBackend.cpp49 using namespace lto;
319 "lto-embed-bitcode", cl::init(false),
448 Error lto::backend(const Config &C, AddStreamFn AddStream,
459 auto DiagFileOrErr = lto::setupOptimizationRemarks(
502 Error lto::thinBackend(const Config &Conf, unsigned Task, AddStreamFn AddStream,
514 auto DiagFileOrErr = lto::setupOptimizationRemarks(
H A DLTO.cpp55 using namespace lto;
58 #define DEBUG_TYPE "lto"
66 "enable-lto-internalization", cl::init(true), cl::Hidden,
896 "inconsistent LTO Unit splitting (recompile with -fsplit-lto-unit)",
912 "inconsistent LTO Unit splitting (recompile with -fsplit-lto-unit)",
1050 class lto::ThinBackendProc {
1182 ThinBackend lto::createInProcessThinBackend(unsigned ParallelismLevel) {
1195 std::string lto::getThinLTOOutputFile(const std::string &Path,
1217 lto::IndexWriteCallback OnWrite;
1224 raw_fd_ostream *LinkedObjectsFile, lto
[all...]
/freebsd-11-stable/usr.bin/clang/
H A DMakefile36 SUBDIR+= llvm-lto
/freebsd-11-stable/targets/pseudo/clang/
H A DMakefile.depend35 usr.bin/clang/llvm-lto \
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp13 // This program is intended to eventually replace llvm-lto which uses the legacy
30 using namespace lto;
116 SamplePGOFile("lto-sample-profile-file",
120 CSPGOFile("lto-cspgo-profile-file",
124 RunCSIRInstr("lto-cspgo-gen",
334 [&](size_t Task) -> std::unique_ptr<lto::NativeObjectStream> {
340 return std::make_unique<lto::NativeObjectStream>(std::move(S));

Completed in 209 milliseconds

12