Home
last modified time | relevance | path

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

/external/llvm/lib/LTO/
DLTOModule.cpp52 LTOModule::LTOModule(std::unique_ptr<object::IRObjectFile> Obj, in LTOModule() function in LTOModule
56 LTOModule::~LTOModule() {} in ~LTOModule()
60 bool LTOModule::isBitcodeFile(const void *Mem, size_t Length) { in isBitcodeFile()
66 bool LTOModule::isBitcodeFile(const char *Path) { in isBitcodeFile()
77 bool LTOModule::isThinLTO() { in isThinLTO()
89 bool LTOModule::isBitcodeForTarget(MemoryBuffer *Buffer, in isBitcodeForTarget()
100 std::string LTOModule::getProducerString(MemoryBuffer *Buffer) { in getProducerString()
109 ErrorOr<std::unique_ptr<LTOModule>>
110 LTOModule::createFromFile(LLVMContext &Context, const char *path, in createFromFile()
123 ErrorOr<std::unique_ptr<LTOModule>>
[all …]
DCMakeLists.txt52 LTOModule.cpp
DLTOCodeGenerator.cpp133 bool LTOCodeGenerator::addModule(LTOModule *Mod) { in addModule()
149 void LTOCodeGenerator::setModule(std::unique_ptr<LTOModule> Mod) { in setModule()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DLTOModule.cpp46 LTOModule::LTOModule(std::unique_ptr<Module> M, MemoryBufferRef MBRef, in LTOModule() function in LTOModule
52 LTOModule::~LTOModule() {} in ~LTOModule()
56 bool LTOModule::isBitcodeFile(const void *Mem, size_t Length) { in isBitcodeFile()
62 bool LTOModule::isBitcodeFile(StringRef Path) { in isBitcodeFile()
73 bool LTOModule::isThinLTO() { in isThinLTO()
82 bool LTOModule::isBitcodeForTarget(MemoryBuffer *Buffer, in isBitcodeForTarget()
96 std::string LTOModule::getProducerString(MemoryBuffer *Buffer) { in getProducerString()
109 ErrorOr<std::unique_ptr<LTOModule>>
110 LTOModule::createFromFile(LLVMContext &Context, StringRef path, in createFromFile()
123 ErrorOr<std::unique_ptr<LTOModule>>
[all …]
DCMakeLists.txt5 LTOModule.cpp
DLTOCodeGenerator.cpp133 void LTOCodeGenerator::setAsmUndefinedRefs(LTOModule *Mod) { in setAsmUndefinedRefs()
139 bool LTOCodeGenerator::addModule(LTOModule *Mod) { in addModule()
152 void LTOCodeGenerator::setModule(std::unique_ptr<LTOModule> Mod) { in setModule()
/external/swiftshader/third_party/LLVM/tools/lto/
DLTOModule.cpp49 bool LTOModule::isBitcodeFile(const void *mem, size_t length) { in isBitcodeFile()
54 bool LTOModule::isBitcodeFile(const char *path) { in isBitcodeFile()
58 bool LTOModule::isBitcodeFileForTarget(const void *mem, size_t length, in isBitcodeFileForTarget()
67 bool LTOModule::isBitcodeFileForTarget(const char *path, in isBitcodeFileForTarget()
76 bool LTOModule::isTargetMatch(MemoryBuffer *buffer, const char *triplePrefix) { in isTargetMatch()
84 LTOModule::LTOModule(Module *m, TargetMachine *t) in LTOModule() function in LTOModule
89 LTOModule *LTOModule::makeLTOModule(const char *path, in makeLTOModule()
99 LTOModule *LTOModule::makeLTOModule(int fd, const char *path, in makeLTOModule()
105 LTOModule *LTOModule::makeLTOModule(int fd, const char *path, in makeLTOModule()
120 MemoryBuffer *LTOModule::makeBuffer(const void *mem, size_t length) { in makeBuffer()
[all …]
Dlto.cpp51 return LTOModule::isBitcodeFile(path); in lto_module_is_object_file()
61 return LTOModule::isBitcodeFileForTarget(path, target_triplet_prefix); in lto_module_is_object_file_for_target()
70 return LTOModule::isBitcodeFile(mem, length); in lto_module_is_object_file_in_memory()
80 return LTOModule::isBitcodeFileForTarget(mem, length, target_triplet_prefix); in lto_module_is_object_file_in_memory_for_target()
91 return LTOModule::makeLTOModule(path, sLastErrorString); in lto_module_create()
100 return LTOModule::makeLTOModule(fd, path, size, sLastErrorString); in lto_module_create_from_fd()
112 return LTOModule::makeLTOModule(fd, path, file_size, map_size, in lto_module_create_from_fd_at_offset()
122 return LTOModule::makeLTOModule(mem, length, sLastErrorString); in lto_module_create_from_memory()
DLTOModule.h41 struct LTOModule { struct
52 static LTOModule* makeLTOModule(const char* path,
54 static LTOModule* makeLTOModule(int fd, const char *path,
57 static LTOModule* makeLTOModule(int fd, const char *path,
62 static LTOModule* makeLTOModule(const void* mem, size_t length,
77 LTOModule(llvm::Module* m, llvm::TargetMachine* t); argument
103 static LTOModule* makeLTOModule(llvm::MemoryBuffer* buffer,
DLTOCodeGenerator.h37 bool addModule(struct LTOModule*, std::string& errMsg);
DLTOCodeGenerator.cpp91 bool LTOCodeGenerator::addModule(LTOModule* mod, std::string& errMsg) in addModule()
/external/llvm/tools/lto/
Dlto.cpp143 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(LTOModule, lto_module_t) in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
173 return LTOModule::isBitcodeFile(path); in lto_module_is_object_file()
181 return LTOModule::isBitcodeForTarget(Buffer->get(), target_triplet_prefix); in lto_module_is_object_file_for_target()
185 std::unique_ptr<MemoryBuffer> Buffer(LTOModule::makeBuffer(mem, length)); in lto_module_has_objc_category()
193 return LTOModule::isBitcodeFile(mem, length); in lto_module_is_object_file_in_memory()
200 std::unique_ptr<MemoryBuffer> buffer(LTOModule::makeBuffer(mem, length)); in lto_module_is_object_file_in_memory_for_target()
203 return LTOModule::isBitcodeForTarget(buffer.get(), target_triplet_prefix); in lto_module_is_object_file_in_memory_for_target()
209 ErrorOr<std::unique_ptr<LTOModule>> M = in lto_module_create()
210 LTOModule::createFromFile(*LTOContext, path, Options); in lto_module_create()
219 ErrorOr<std::unique_ptr<LTOModule>> M = in lto_module_create_from_fd()
[all …]
/external/llvm/include/llvm/LTO/legacy/
DLTOModule.h37 struct LTOModule { struct
59 LTOModule(std::unique_ptr<object::IRObjectFile> Obj, TargetMachine *TM); argument
62 ~LTOModule();
93 static ErrorOr<std::unique_ptr<LTOModule>>
96 static ErrorOr<std::unique_ptr<LTOModule>>
99 static ErrorOr<std::unique_ptr<LTOModule>>
103 static ErrorOr<std::unique_ptr<LTOModule>>
106 static ErrorOr<std::unique_ptr<LTOModule>>
112 return const_cast<LTOModule*>(this)->getModule(); in getModule() argument
207 static ErrorOr<std::unique_ptr<LTOModule>>
DLTOCodeGenerator.h73 bool addModule(struct LTOModule *);
78 void setModule(std::unique_ptr<LTOModule> M);
/external/swiftshader/third_party/llvm-7.0/llvm/tools/lto/
Dlto.cpp151 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(LTOModule, lto_module_t) in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
182 return LTOModule::isBitcodeFile(StringRef(path)); in lto_module_is_object_file()
190 return LTOModule::isBitcodeForTarget(Buffer->get(), in lto_module_is_object_file_for_target()
195 std::unique_ptr<MemoryBuffer> Buffer(LTOModule::makeBuffer(mem, length)); in lto_module_has_objc_category()
205 return LTOModule::isBitcodeFile(mem, length); in lto_module_is_object_file_in_memory()
212 std::unique_ptr<MemoryBuffer> buffer(LTOModule::makeBuffer(mem, length)); in lto_module_is_object_file_in_memory_for_target()
215 return LTOModule::isBitcodeForTarget(buffer.get(), in lto_module_is_object_file_in_memory_for_target()
222 ErrorOr<std::unique_ptr<LTOModule>> M = in lto_module_create()
223 LTOModule::createFromFile(*LTOContext, StringRef(path), Options); in lto_module_create()
232 ErrorOr<std::unique_ptr<LTOModule>> M = LTOModule::createFromOpenFile( in lto_module_create_from_fd()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/LTO/legacy/
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>>
203 static ErrorOr<std::unique_ptr<LTOModule>>
DLTOCodeGenerator.h75 bool addModule(struct LTOModule *);
80 void setModule(std::unique_ptr<LTOModule> M);
82 void setAsmUndefinedRefs(struct LTOModule *);
/external/llvm/tools/llvm-lto/
Dllvm-lto.cpp244 static std::unique_ptr<LTOModule>
254 ErrorOr<std::unique_ptr<LTOModule>> Ret = LTOModule::createInLocalContext( in getLocalLTOModule()
271 std::unique_ptr<LTOModule> Module = in listSymbols()
773 ErrorOr<std::unique_ptr<LTOModule>> ModuleOrErr = in main()
774 LTOModule::createFromFile(Context, InputFilenames[i].c_str(), Options); in main()
775 std::unique_ptr<LTOModule> &Module = *ModuleOrErr; in main()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-lto/
Dllvm-lto.cpp303 static std::unique_ptr<LTOModule>
314 ErrorOr<std::unique_ptr<LTOModule>> Ret = LTOModule::createInLocalContext( in getLocalLTOModule()
362 std::unique_ptr<LTOModule> Module = in listSymbols()
879 ErrorOr<std::unique_ptr<LTOModule>> ModuleOrErr = in main()
880 LTOModule::createFromFile(Context, InputFilenames[i], Options); in main()
881 std::unique_ptr<LTOModule> &Module = *ModuleOrErr; in main()
/external/llvm/test/LTO/X86/
Dsymver-asm.ll9 ; Even without -exported-symbol, io_cancel_0_4 should be noticed by LTOModule's
/external/swiftshader/third_party/LLVM/include/llvm-c/
Dlto.h58 typedef struct LTOModule* lto_module_t;