/freebsd/contrib/llvm-project/lld/MachO/ |
H A D | LTO.cpp | 37 return lto::getThinLTOOutputFile(modulePath, config->thinLTOPrefixReplaceOld, in openFile() 41 static lto::Config createConfig() { in openFile() 42 lto::Config c; in openFile() 89 lto::ThinBackend backend; in saveOrHardlinkBuffer() 92 backend = lto::createWriteIndexesThinBackend( in saveOrHardlinkBuffer() 98 backend = lto::createInProcessThinBackend( in BitcodeCompiler() 104 ltoObj = std::make_unique<lto::LTO>(createConfig(), backend); in BitcodeCompiler() 108 lto::InputFile &obj = *f.obj; in BitcodeCompiler() 113 ArrayRef<lto::InputFile::Symbol> objSyms = obj.symbols(); in BitcodeCompiler() 114 std::vector<lto in BitcodeCompiler() [all...] |
H A D | LTO.h | 20 namespace llvm::lto { 37 std::unique_ptr<llvm::lto::LTO> ltoObj;
|
H A D | InputFiles.h | 31 namespace lto { 33 } // namespace lto 315 std::unique_ptr<llvm::lto::InputFile> obj;
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | LTO.cpp | 47 return lto::getThinLTOOutputFile(modulePath, config->thinLTOPrefixReplaceOld, in getThinLTOOutputFile() 51 static lto::Config createConfig() { in createConfig() 52 lto::Config c; in createConfig() 176 lto::ThinBackend backend; in BitcodeCompiler() 179 backend = lto::createWriteIndexesThinBackend( in BitcodeCompiler() 185 backend = lto::createInProcessThinBackend( in BitcodeCompiler() 191 constexpr llvm::lto::LTO::LTOKind ltoModes[3] = in BitcodeCompiler() 192 {llvm::lto::LTO::LTOKind::LTOK_UnifiedThin, in BitcodeCompiler() 193 llvm::lto::LTO::LTOKind::LTOK_UnifiedRegular, in BitcodeCompiler() 194 llvm::lto::LTO::LTOKind::LTOK_Default}; in BitcodeCompiler() [all …]
|
H A D | Options.td | 609 def lto: JJ<"lto=">, HelpText<"Set LTO backend">, 611 def lto_aa_pipeline: JJ<"lto-aa-pipeline=">, 612 HelpText<"AA pipeline to run during LTO. Used in conjunction with -lto-newpm-passes">; 613 def lto_debug_pass_manager: FF<"lto-debug-pass-manager">, 615 def lto_emit_asm: FF<"lto-emit-asm">, 617 def lto_emit_llvm: FF<"lto-emit-llvm">, 619 def lto_newpm_passes: JJ<"lto-newpm-passes=">, 621 def lto_O: JJ<"lto-O">, MetaVarName<"<opt-level>">, 623 def lto_CGO: JJ<"lto-CGO">, MetaVarName<"<cgopt-level>">, 625 def lto_partitions: JJ<"lto-partitions=">, [all …]
|
H A D | LTO.h | 30 namespace llvm::lto { 48 std::unique_ptr<llvm::lto::LTO> ltoObj;
|
H A D | InputFiles.h | 26 namespace lto { 339 std::unique_ptr<llvm::lto::InputFile> obj;
|
/freebsd/contrib/llvm-project/lld/COFF/ |
H A D | LTO.cpp | 47 return lto::getThinLTOOutputFile(path, ctx.config.thinLTOPrefixReplaceOld, in getThinLTOOutputFile() 51 lto::Config BitcodeCompiler::createConfig() { in createConfig() 52 lto::Config c; in createConfig() 117 lto::ThinBackend backend; in BitcodeCompiler() 120 backend = lto::createWriteIndexesThinBackend( in BitcodeCompiler() 126 backend = lto::createInProcessThinBackend( in BitcodeCompiler() 130 ltoObj = std::make_unique<lto::LTO>(createConfig(), backend, in BitcodeCompiler() 139 lto::InputFile &obj = *f.obj; in add() 142 std::vector<lto::SymbolResolution> resols(symBodies.size()); in add() 148 for (const lto::InputFile::Symbol &objSym : obj.symbols()) { 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 { 381 std::unique_ptr<llvm::lto::InputFile> obj;
|
H A D | Options.td | 82 def lto_sample_profile: P<"lto-sample-profile", "Sample profile file path">; 268 "lto-obj-path", 270 def lto_cs_profile_generate: F<"lto-cs-profile-generate">, 272 def lto_cs_profile_file : P<"lto-cs-profile-file", 275 "lto-pgo-warn-mismatch",
|
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/legacy/ |
H A D | ThinLTOCodeGenerator.h | 257 const lto::InputFile &File); 264 const lto::InputFile &File); 271 const lto::InputFile &File); 280 GVSummaryPtrSet &DecSummaries, const lto::InputFile &File); 286 const lto::InputFile &File); 315 std::vector<std::unique_ptr<lto::InputFile>> Modules;
|
H A D | LTOModule.h | 159 static lto::InputFile *createInputFile(const void *buffer, size_t buffer_size, 162 static size_t getDependentLibraryCount(lto::InputFile *input); 164 static const char *getDependentLibrary(lto::InputFile *input, size_t index, size_t *size);
|
/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/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 | 151 static StringMap<lto::InputFile *> 152 generateModuleMap(std::vector<std::unique_ptr<lto::InputFile>> &Modules) { in generateModuleMap() 153 StringMap<lto::InputFile *> ModuleMap; in generateModuleMap() 192 static std::unique_ptr<Module> loadModuleFromInput(lto::InputFile *Input, in loadModuleFromInput() 217 StringMap<lto::InputFile *> &ModuleMap, in crossImportIntoModule() 297 addUsedSymbolToPreservedGUID(const lto::InputFile &File, in addUsedSymbolToPreservedGUID() 306 static void computeGUIDPreservedSymbols(const lto::InputFile &File, in computeGUIDPreservedSymbols() 320 computeGUIDPreservedSymbols(const lto::InputFile &File, in computeGUIDPreservedSymbols() 381 llvm::lto::Config Conf; in ModuleCacheEntry() 434 StringMap<lto::InputFile *> &ModuleMap, TargetMachine &TM, in ProcessThinLTOModule() [all …]
|
H A D | LTOBackend.cpp | 51 using namespace lto; 341 bool lto::opt(const Config &Conf, TargetMachine *TM, unsigned Task, Module &Mod, in opt() 495 Error lto::finalizeOptimizationRemarks( in finalizeOptimizationRemarks() 506 Error lto::backend(const Config &C, AddStreamFn AddStream, in backend() 553 Error lto::thinBackend(const Config &Conf, unsigned Task, AddStreamFn AddStream, in thinBackend() 566 auto DiagFileOrErr = lto::setupLLVMOptimizationRemarks( in thinBackend() 673 BitcodeModule *lto::findThinLTOModule(MutableArrayRef<BitcodeModule> BMs) { in findThinLTOModule() 685 Expected<BitcodeModule> lto::findThinLTOModule(MemoryBufferRef MBRef) { in findThinLTOModule() 692 if (const BitcodeModule *Bm = lto::findThinLTOModule(*BMsOrErr)) in findThinLTOModule() 699 bool lto::initImportList(const Module &M, in initImportList()
|
H A D | LTO.cpp | 64 using namespace lto; 1198 void lto::updateMemProfAttributes(Module &Mod, in updateMemProfAttributes() 1231 auto DiagFileOrErr = lto::setupLLVMOptimizationRemarks( in runRegularLTO() 1370 class lto::ThinBackendProc { 1375 lto::IndexWriteCallback OnWrite; 1382 lto::IndexWriteCallback OnWrite, bool ShouldEmitImportsFiles) in ThinBackendProc() 1445 AddStreamFn AddStream, FileCache Cache, lto::IndexWriteCallback OnWrite, in InProcessThinBackend() 1562 ThinBackend lto::createInProcessThinBackend(ThreadPoolStrategy Parallelism, in createInProcessThinBackend() 1563 lto::IndexWriteCallback OnWrite, in createInProcessThinBackend() 1577 StringLiteral lto::getThinLTODefaultCPU(const Triple &TheTriple) { in getThinLTODefaultCPU() [all …]
|
H A D | LTOModule.cpp | 656 lto::InputFile *LTOModule::createInputFile(const void *buffer, in createInputFile() 662 Expected<std::unique_ptr<lto::InputFile>> ObjOrErr = in createInputFile() 663 lto::InputFile::create(BufferRef); in createInputFile() 673 size_t LTOModule::getDependentLibraryCount(lto::InputFile *input) { in getDependentLibraryCount() 677 const char *LTOModule::getDependentLibrary(lto::InputFile *input, size_t index, in getDependentLibrary()
|
H A D | LTOCodeGenerator.cpp | 412 Config.CPU = lto::getThinLTODefaultCPU(Triple); in determineTarget() 577 auto DiagFileOrErr = lto::setupLLVMOptimizationRemarks( in optimize() 587 auto StatsFileOrErr = lto::setupStatsFile(LTOStatsFile); in optimize()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/ |
H A D | LTO.h | 47 const lto::Config &C, ModuleSummaryIndex &Index, 67 SmallString<40> &Key, const lto::Config &Conf, 76 namespace lto {
|
H A D | LTOBackend.h | 34 namespace lto {
|
H A D | Config.h | 37 namespace lto {
|
/freebsd/usr.bin/clang/ |
H A D | Makefile | 40 SUBDIR+= llvm-lto
|
/freebsd/contrib/llvm-project/lld/docs/ |
H A D | ReleaseNotes.rst | 72 * ``--lto-emit-asm`` is now added as the canonical spelling of ``--plugin-opt=emit-llvm``. 73 * ``--lto-emit-llvm`` now uses the pre-codegen module.
|