Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/include/llvm/LTO/
H A DLTO.h90 class LTO; variable
102 friend LTO;
124 friend LTO; variable
252 class LTO {
261 LTO(Config Conf, ThinBackend Backend = nullptr,
263 ~LTO();
/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DLTO.h31 class LTO; variable
50 std::unique_ptr<llvm::lto::LTO> LTOObj;
H A DCMakeLists.txt16 LTO.cpp
33 LTO
H A DLTO.cpp44 static std::unique_ptr<lto::LTO> createLTO() { in createLTO()
72 return llvm::make_unique<lto::LTO>(std::move(C), Backend, in createLTO()
H A DSymbolTable.cpp529 LTO.reset(new BitcodeCompiler); in compileBitcodeFiles()
531 LTO->add(*F); in compileBitcodeFiles()
532 return LTO->compile(); in compileBitcodeFiles()
H A DSymbolTable.h121 std::unique_ptr<BitcodeCompiler> LTO; variable
/freebsd-12.1/contrib/llvm/lib/LTO/
H A DLTO.cpp428 LTO::ThinLTOState::ThinLTOState(ThinBackend Backend) in ThinLTOState()
435 LTO::LTO(Config Conf, ThinBackend Backend, in LTO() function in LTO
442 LTO::~LTO() = default;
446 void LTO::addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms, in addModuleToGlobalRes()
523 Error LTO::add(std::unique_ptr<InputFile> Input, in add()
542 Error LTO::addModule(InputFile &Input, unsigned ModI, in addModule()
616 Expected<LTO::RegularLTOState::AddedModule>
732 Error LTO::linkRegularLTO(RegularLTOState::AddedModule Mod, in linkRegularLTO()
807 unsigned LTO::getMaxTasks() const { in getMaxTasks()
812 Error LTO::run(AddStreamFn AddStream, NativeObjectCache Cache) { in run()
[all …]
/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DLTO.h33 class LTO; variable
53 std::unique_ptr<llvm::lto::LTO> LTOObj;
H A DCMakeLists.txt34 LTO.cpp
55 LTO
H A DOptions.td434 // LTO-related options.
436 HelpText<"AA pipeline to run during LTO. Used in conjunction with -lto-newpm-passes">;
442 HelpText<"Passes to run during LTO">;
444 HelpText<"Optimization level for LTO">;
446 HelpText<"Number of LTO codegen partitions">;
455 defm plugin_opt: Eq<"plugin-opt", "specifies LTO options for compatibility with GNU linkers">;
467 HelpText<"Directory to store .dwo files when LTO and debug fission are used">;
484 // Ignore LTO plugin-related options.
486 // for ld.gold and ld.bfd to get LTO working. But it's not for lld which doesn't
H A DSymbolTable.h119 std::unique_ptr<BitcodeCompiler> LTO; variable
H A DSymbolTable.cpp140 LTO.reset(new BitcodeCompiler); in addCombinedLTOObject()
142 LTO->add(*F); in addCombinedLTOObject()
144 for (InputFile *File : LTO->compile()) { in addCombinedLTOObject()
H A DLTO.cpp136 LTOObj = llvm::make_unique<lto::LTO>(createConfig(), Backend, in BitcodeCompiler()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Driver/
H A DTypes.def83 // LLVM IR/LTO types. We define separate types for IR and LTO because LTO
H A DCC1Options.td362 HelpText<"Use public LTO visibility for classes in std and stdext namespaces">;
364 HelpText<"Emit IR to support LTO unit features (CFI, whole program vtable opt)">;
/freebsd-12.1/usr.bin/clang/lld/
H A DMakefile56 SRCS+= ELF/LTO.cpp
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DCodeGenOptions.def117 CODEGENOPT(LTOUnit, 1, 0) ///< Emit IR to support LTO unit features (CFI, whole
119 CODEGENOPT(EnableSplitLTOUnit, 1, 0) ///< Enable LTO unit splitting to support
278 /// Whether to use public LTO visibility for entities in std and stdext
H A DDiagnosticDriverKinds.td175 def err_drv_lto_without_lld : Error<"LTO requires -fuse-ld=lld">;
/freebsd-12.1/contrib/llvm/tools/lld/lib/Driver/
H A DDarwinLdOptions.td60 HelpText<"Options to pass to LLVM during LTO">, Group<grp_opts>;
114 HelpText<"Preserves all global symbols in main executables during LTO">,
/freebsd-12.1/contrib/llvm/tools/lld/docs/
H A Dindex.rst57 - Link-time optimization (LTO) is supported by default. Essentially,
58 all you have to do to do LTO is to pass the ``-flto`` option to clang.
H A DNewLLD.rst243 LTO is implemented by handling LLVM bitcode files as object files.
/freebsd-12.1/lib/clang/libllvm/
H A DMakefile622 SRCS_EXL+= LTO/Caching.cpp
623 SRCS_MIN+= LTO/LTO.cpp
624 SRCS_MIN+= LTO/LTOBackend.cpp
625 SRCS_EXL+= LTO/LTOCodeGenerator.cpp
626 SRCS_EXL+= LTO/LTOModule.cpp
627 SRCS_EXL+= LTO/SummaryBasedOptimizations.cpp
628 SRCS_EXL+= LTO/ThinLTOCodeGenerator.cpp
629 SRCS_MIN+= LTO/UpdateCompilerUsed.cpp
/freebsd-12.1/contrib/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp259 LTO Lto(std::move(Conf), std::move(Backend)); in run()
/freebsd-12.1/contrib/llvm/
H A DFREEBSD-Xlist87 lib/LTO/CMakeLists.txt
88 lib/LTO/LLVMBuild.txt
/freebsd-12.1/contrib/llvm/include/llvm/
H A Dmodule.modulemap271 umbrella "LTO"

12