| /freebsd/contrib/llvm-project/lld/MachO/ |
| H A D | LTO.cpp | 35 return lto::getThinLTOOutputFile(modulePath, config->thinLTOPrefixReplaceOld, in getThinLTOOutputFile() 39 static lto::Config createConfig() { in createConfig() 40 lto::Config c; in createConfig() 88 lto::ThinBackend backend; in BitcodeCompiler() 91 backend = lto::createWriteIndexesThinBackend( in BitcodeCompiler() 98 backend = lto::createInProcessThinBackend( in BitcodeCompiler() 104 ltoObj = std::make_unique<lto::LTO>(createConfig(), backend); in BitcodeCompiler() 108 lto::InputFile &obj = *f.obj; in add() 113 ArrayRef<lto::InputFile::Symbol> objSyms = obj.symbols(); in add() 114 std::vector<lto::SymbolResolution> resols; in add() [all …]
|
| H A D | LTO.h | 20 namespace llvm::lto { 37 std::unique_ptr<llvm::lto::LTO> ltoObj;
|
| /freebsd/contrib/llvm-project/lld/COFF/ |
| H A D | LTO.cpp | 41 return lto::getThinLTOOutputFile(path, ctx.config.thinLTOPrefixReplaceOld, in getThinLTOOutputFile() 45 lto::Config BitcodeCompiler::createConfig() { in createConfig() 46 lto::Config c; in createConfig() 112 lto::ThinBackend backend; in BitcodeCompiler() 114 backend = lto::createOutOfProcessThinBackend( in BitcodeCompiler() 124 backend = lto::createWriteIndexesThinBackend( in BitcodeCompiler() 131 backend = lto::createInProcessThinBackend( in BitcodeCompiler() 135 ltoObj = std::make_unique<lto::LTO>(createConfig(), backend, in BitcodeCompiler() 144 lto::InputFile &obj = *f.obj; in add() 147 std::vector<lto::SymbolResolution> resols(symBodies.size()); in add() [all …]
|
| H A D | LTO.h | 30 namespace llvm::lto { 50 std::unique_ptr<llvm::lto::LTO> ltoObj; 58 llvm::lto::Config createConfig();
|
| H A D | InputFiles.h | 32 namespace lto { 394 std::unique_ptr<llvm::lto::InputFile> &obj, bool lazy); 405 static MachineTypes getMachineType(const llvm::lto::InputFile *obj); 407 std::unique_ptr<llvm::lto::InputFile> obj;
|
| H A D | InputFiles.cpp | 192 std::unique_ptr<lto::InputFile> obj = in parse() 193 check(lto::InputFile::create(mb)); in parse() 1350 std::unique_ptr<lto::InputFile> &o, bool lazy) in BitcodeFile() 1377 std::unique_ptr<lto::InputFile> obj = check(lto::InputFile::create(mbref)); in create() 1392 for (const lto::InputFile::Symbol &objSym : obj->symbols()) { in parse() 1448 for (const lto::InputFile::Symbol &sym : obj->symbols()) in parseLazy() 1456 MachineTypes BitcodeFile::getMachineType(const llvm::lto::InputFile *obj) { in getMachineType()
|
| H A D | Options.td | 85 def lto_sample_profile: P<"lto-sample-profile", "Sample profile file path">; 285 "lto-obj-path", 287 def lto_cs_profile_generate: F<"lto-cs-profile-generate">, 289 def lto_cs_profile_file : P<"lto-cs-profile-file", 292 "lto-pgo-warn-mismatch",
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | LTO.cpp | 41 return lto::getThinLTOOutputFile(modulePath, ctx.arg.thinLTOPrefixReplaceOld, in getThinLTOOutputFile() 45 static lto::Config createConfig(Ctx &ctx) { in createConfig() 46 lto::Config c; in createConfig() 174 lto::ThinBackend backend; in BitcodeCompiler() 177 backend = lto::createWriteIndexesThinBackend( in BitcodeCompiler() 184 backend = lto::createOutOfProcessThinBackend( in BitcodeCompiler() 191 backend = lto::createInProcessThinBackend( in BitcodeCompiler() 197 constexpr llvm::lto::LTO::LTOKind ltoModes[3] = in BitcodeCompiler() 198 {llvm::lto::LTO::LTOKind::LTOK_UnifiedThin, in BitcodeCompiler() 199 llvm::lto::LTO::LTOKind::LTOK_UnifiedRegular, in BitcodeCompiler() [all …]
|
| H A D | Options.td | 639 def lto: JJ<"lto=">, HelpText<"Set LTO backend">, 641 def lto_aa_pipeline: JJ<"lto-aa-pipeline=">, 642 HelpText<"AA pipeline to run during LTO. Used in conjunction with -lto-newpm-passes">; 643 def lto_debug_pass_manager: FF<"lto-debug-pass-manager">, 645 def lto_emit_asm: FF<"lto-emit-asm">, 647 def lto_emit_llvm: FF<"lto-emit-llvm">, 649 def lto_newpm_passes: JJ<"lto-newpm-passes=">, 651 def lto_O: JJ<"lto-O">, MetaVarName<"<opt-level>">, 653 def lto_CGO: JJ<"lto-CGO">, MetaVarName<"<cgopt-level>">, 655 def lto_partitions: JJ<"lto-partitions=">, [all …]
|
| H A D | LTO.h | 30 namespace llvm::lto { 49 std::unique_ptr<llvm::lto::LTO> ltoObj;
|
| H A D | InputFiles.h | 26 namespace lto { 332 std::unique_ptr<llvm::lto::InputFile> obj;
|
| /freebsd/usr.bin/clang/llvm-lto/ |
| H A D | Makefile | 1 PROG_CXX= llvm-lto 4 SRCDIR= llvm/tools/llvm-lto 5 SRCS= llvm-lto.cpp
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/LTO/legacy/ |
| H A D | ThinLTOCodeGenerator.h | 265 const lto::InputFile &File); 272 const lto::InputFile &File); 279 const lto::InputFile &File); 288 GVSummaryPtrSet &DecSummaries, const lto::InputFile &File); 294 const lto::InputFile &File); 323 std::vector<std::unique_ptr<lto::InputFile>> Modules;
|
| H A D | LTOModule.h | 164 LLVM_ABI static lto::InputFile *createInputFile(const void *buffer, 169 LLVM_ABI static size_t getDependentLibraryCount(lto::InputFile *input); 171 LLVM_ABI static const char *getDependentLibrary(lto::InputFile *input,
|
| /freebsd/contrib/ntp/sntp/ |
| H A D | utilities.c | 144 int hh, mm, lto, isdst; in tv_to_str() local 161 lto = difftime(local_time, gmt_time); in tv_to_str() 162 lto /= 60; in tv_to_str() 163 hh = lto / 60; in tv_to_str() 164 mm = abs(lto % 60); in tv_to_str()
|
| /freebsd/contrib/llvm-project/llvm/lib/LTO/ |
| H A D | ThinLTOCodeGenerator.cpp | 145 static StringMap<lto::InputFile *> 146 generateModuleMap(std::vector<std::unique_ptr<lto::InputFile>> &Modules) { in generateModuleMap() 147 StringMap<lto::InputFile *> ModuleMap; in generateModuleMap() 185 static std::unique_ptr<Module> loadModuleFromInput(lto::InputFile *Input, in loadModuleFromInput() 210 StringMap<lto::InputFile *> &ModuleMap, in crossImportIntoModule() 290 addUsedSymbolToPreservedGUID(const lto::InputFile &File, in addUsedSymbolToPreservedGUID() 300 static void computeGUIDPreservedSymbols(const lto::InputFile &File, in computeGUIDPreservedSymbols() 315 computeGUIDPreservedSymbols(const lto::InputFile &File, in computeGUIDPreservedSymbols() 373 llvm::lto::Config Conf; in ModuleCacheEntry() 427 StringMap<lto::InputFile *> &ModuleMap, TargetMachine &TM, in ProcessThinLTOModule() [all …]
|
| H A D | LTOBackend.cpp | 50 using namespace lto; 365 bool lto::opt(const Config &Conf, TargetMachine *TM, unsigned Task, Module &Mod, in opt() 541 Error lto::finalizeOptimizationRemarks( in finalizeOptimizationRemarks() 552 Error lto::backend(const Config &C, AddStreamFn AddStream, in backend() 599 Error lto::thinBackend(const Config &Conf, unsigned Task, AddStreamFn AddStream, in thinBackend() 613 auto DiagFileOrErr = lto::setupLLVMOptimizationRemarks( in thinBackend() 730 BitcodeModule *lto::findThinLTOModule(MutableArrayRef<BitcodeModule> BMs) { in findThinLTOModule() 742 Expected<BitcodeModule> lto::findThinLTOModule(MemoryBufferRef MBRef) { in findThinLTOModule() 749 if (const BitcodeModule *Bm = lto::findThinLTOModule(*BMsOrErr)) in findThinLTOModule() 756 bool lto::initImportList(const Module &M, in initImportList()
|
| H A D | LTO.cpp | 68 using namespace lto; 1225 void lto::updateMemProfAttributes(Module &Mod, in updateMemProfAttributes() 1258 auto DiagFileOrErr = lto::setupLLVMOptimizationRemarks( in runRegularLTO() 1461 AddStreamFn AddStream, lto::IndexWriteCallback OnWrite, in CGThinBackend() 1486 AddStreamFn AddStream, FileCache Cache, lto::IndexWriteCallback OnWrite, in InProcessThinBackend() 1751 ThinBackend lto::createInProcessThinBackend(ThreadPoolStrategy Parallelism, in createInProcessThinBackend() 1752 lto::IndexWriteCallback OnWrite, in createInProcessThinBackend() 1767 StringLiteral lto::getThinLTODefaultCPU(const Triple &TheTriple) { in getThinLTODefaultCPU() 1785 std::string lto::getThinLTOOutputFile(StringRef Path, StringRef OldPrefix, in getThinLTOOutputFile() 1813 raw_fd_ostream *LinkedObjectsFile, lto::IndexWriteCallback OnWrite) in WriteIndexesThinBackend() [all …]
|
| H A D | LTOModule.cpp | 659 lto::InputFile *LTOModule::createInputFile(const void *buffer, in createInputFile() 665 Expected<std::unique_ptr<lto::InputFile>> ObjOrErr = in createInputFile() 666 lto::InputFile::create(BufferRef); in createInputFile() 676 size_t LTOModule::getDependentLibraryCount(lto::InputFile *input) { in getDependentLibraryCount() 680 const char *LTOModule::getDependentLibrary(lto::InputFile *input, size_t index, in getDependentLibrary()
|
| H A D | LTOCodeGenerator.cpp | 399 Config.CPU = lto::getThinLTODefaultCPU(Triple); in determineTarget() 564 auto DiagFileOrErr = lto::setupLLVMOptimizationRemarks( in optimize() 574 auto StatsFileOrErr = lto::setupStatsFile(LTOStatsFile); in optimize()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/LTO/ |
| H A D | LTO.h | 52 const lto::Config &C, ModuleSummaryIndex &Index, 71 const lto::Config &Conf, const ModuleSummaryIndex &Index, 83 namespace lto { 224 lto::IndexWriteCallback OnWrite, bool ShouldEmitImportsFiles, in ThinBackendProc()
|
| H A D | LTOBackend.h | 35 namespace lto {
|
| H A D | Config.h | 38 namespace lto {
|
| /freebsd/contrib/llvm-project/lld/docs/ |
| H A D | DTLTO.rst | 39 Some LLD LTO options (e.g., ``--lto-sample-profile=<file>``) are supported. 70 Some LLD LTO options (e.g., ``/lto-sample-profile:<file>``) are supported.
|
| /freebsd/usr.bin/clang/ |
| H A D | Makefile | 43 SUBDIR+= llvm-lto
|