Home
last modified time | relevance | path

Searched refs:LTOModule (Results 1 – 6 of 6) sorted by relevance

/freebsd-src/contrib/llvm-project/llvm/lib/LTO/
H A DLTOModule.cpp1 //===-- LTOModule.cpp - LLVM Link Time Optimizer --------------------------===//
14 #include "llvm/LTO/legacy/LTOModule.h"
46 LTOModule::LTOModule(std::unique_ptr<Module> M, MemoryBufferRef MBRef, in LTOModule() function in LTOModule
53 LTOModule::~LTOModule() = default;
57 bool LTOModule::isBitcodeFile(const void *Mem, size_t Length) { in isBitcodeFile()
63 bool LTOModule::isBitcodeFile(StringRef Path) { in isBitcodeFile()
74 bool LTOModule::isThinLTO() { in isThinLTO()
83 bool LTOModule
[all...]
H A DLTOCodeGenerator.cpp40 #include "llvm/LTO/legacy/LTOModule.h"
149 void LTOCodeGenerator::setAsmUndefinedRefs(LTOModule *Mod) {
154 bool LTOCodeGenerator::addModule(LTOModule *Mod) {
167 void LTOCodeGenerator::setModule(std::unique_ptr<LTOModule> Mod) {
406 // Construct LTOModule, hand over ownership of module and target. Use MAttr as in determineTarget()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/LTO/legacy/
H A DLTOModule.h38 struct LTOModule { struct
62 LTOModule(std::unique_ptr<Module> M, MemoryBufferRef MBRef, argument
66 ~LTOModule();
97 static ErrorOr<std::unique_ptr<LTOModule>>
100 static ErrorOr<std::unique_ptr<LTOModule>>
103 static ErrorOr<std::unique_ptr<LTOModule>>
107 static ErrorOr<std::unique_ptr<LTOModule>>
110 static ErrorOr<std::unique_ptr<LTOModule>>
219 static ErrorOr<std::unique_ptr<LTOModule>>
H A DLTOCodeGenerator.h81 bool addModule(struct LTOModule *);
86 void setModule(std::unique_ptr<LTOModule> M);
88 void setAsmUndefinedRefs(struct LTOModule *);
/freebsd-src/contrib/llvm-project/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp33 #include "llvm/LTO/legacy/LTOModule.h"
232 cl::desc("Queries LTOModule::hasCtorDtor() on each IR file"));
360 static std::unique_ptr<LTOModule> in getLocalLTOModule()
371 ErrorOr<std::unique_ptr<LTOModule>> Ret = LTOModule::createInLocalContext( in printIndexStats()
412 /// The main point here is to provide lit-testable coverage for the LTOModule in testLTOModule()
418 std::unique_ptr<LTOModule> Module = in testLTOModule()
444 std::unique_ptr<lto::InputFile> Input(LTOModule::createInputFile( in listDependentLibraries()
452 for (size_t I = 0, C = LTOModule::getDependentLibraryCount(Input.get());
455 const char *S = LTOModule in printMachOCPUOnly()
[all...]
/freebsd-src/lib/clang/libllvm/
H A DMakefile869 SRCS_EXL+= LTO/LTOModule.cpp