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

/freebsd-11-stable/contrib/llvm-project/llvm/lib/LTO/
H A DLTOModule.cpp1 //===-- LTOModule.cpp - LLVM Link Time Optimizer --------------------------===//
14 #include "llvm/LTO/legacy/LTOModule.h"
45 LTOModule::LTOModule(std::unique_ptr<Module> M, MemoryBufferRef MBRef, function in class:LTOModule
51 LTOModule::~LTOModule() {}
55 bool LTOModule::isBitcodeFile(const void *Mem, size_t Length) {
61 bool LTOModule::isBitcodeFile(StringRef Path) {
72 bool LTOModule::isThinLTO() {
81 bool LTOModule
[all...]
H A DLTOCodeGenerator.cpp40 #include "llvm/LTO/legacy/LTOModule.h"
151 void LTOCodeGenerator::setAsmUndefinedRefs(LTOModule *Mod) {
157 bool LTOCodeGenerator::addModule(LTOModule *Mod) {
170 void LTOCodeGenerator::setModule(std::unique_ptr<LTOModule> Mod) {
357 // Construct LTOModule, hand over ownership of module and target. Use MAttr as
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/LTO/legacy/
H A DLTOModule.h1 //===-LTOModule.h - LLVM Link Time Optimizer ------------------------------===//
9 // This file declares the LTOModule class.
38 struct LTOModule { struct in namespace:llvm
64 LTOModule(std::unique_ptr<Module> M, MemoryBufferRef MBRef,
68 ~LTOModule();
91 /// Create an LTOModule. N.B. These methods take ownership of the buffer. The
99 static ErrorOr<std::unique_ptr<LTOModule>>
102 static ErrorOr<std::unique_ptr<LTOModule>>
105 static ErrorOr<std::unique_ptr<LTOModule>>
109 static ErrorOr<std::unique_ptr<LTOModule>>
[all...]
H A DLTOCodeGenerator.h79 bool addModule(struct LTOModule *);
84 void setModule(std::unique_ptr<LTOModule> M);
86 void setAsmUndefinedRefs(struct LTOModule *);
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp33 #include "llvm/LTO/legacy/LTOModule.h"
310 static std::unique_ptr<LTOModule>
321 ErrorOr<std::unique_ptr<LTOModule>> Ret = LTOModule::createInLocalContext(
362 /// The main point here is to provide lit-testable coverage for the LTOModule
369 std::unique_ptr<LTOModule> Module =
389 std::unique_ptr<lto::InputFile> Input(LTOModule::createInputFile(
397 for (size_t I = 0, C = LTOModule::getDependentLibraryCount(Input.get());
400 const char *S = LTOModule::getDependentLibrary(Input.get(), I, &L);
947 ErrorOr<std::unique_ptr<LTOModule>> ModuleOrEr
[all...]
/freebsd-11-stable/lib/clang/libllvm/
H A DMakefile674 SRCS_EXL+= LTO/LTOModule.cpp

Completed in 96 milliseconds