Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTOModule.cpp46 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::isBitcodeForTarget(MemoryBuffer *Buffer, in isBitcodeForTarget()
97 std::string LTOModule::getProducerString(MemoryBuffer *Buffer) { in getProducerString()
110 ErrorOr<std::unique_ptr<LTOModule>>
111 LTOModule::createFromFile(LLVMContext &Context, StringRef path, in createFromFile()
124 ErrorOr<std::unique_ptr<LTOModule>>
[all …]
H A DLTOCodeGenerator.cpp149 void LTOCodeGenerator::setAsmUndefinedRefs(LTOModule *Mod) { in setAsmUndefinedRefs()
154 bool LTOCodeGenerator::addModule(LTOModule *Mod) { in addModule()
167 void LTOCodeGenerator::setModule(std::unique_ptr<LTOModule> Mod) { in setModule()
/freebsd/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/contrib/llvm-project/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp360 static std::unique_ptr<LTOModule>
371 ErrorOr<std::unique_ptr<LTOModule>> Ret = LTOModule::createInLocalContext( in getLocalLTOModule()
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()); in listDependentLibraries()
455 const char *S = LTOModule::getDependentLibrary(Input.get(), I, &L); in listDependentLibraries()
468 ErrorOr<std::unique_ptr<LTOModule>> ModuleOrErr = in printMachOCPUOnly()
469 LTOModule::createFromFile(Context, Filename, Options); in printMachOCPUOnly()
1052 ErrorOr<std::unique_ptr<LTOModule>> ModuleOrErr = in main()
1053 LTOModule::createFromFile(Context, InputFilenames[i], Options); in main()
[all …]
/freebsd/lib/clang/libllvm/
H A DMakefile869 SRCS_EXL+= LTO/LTOModule.cpp