Home
last modified time | relevance | path

Searched refs:LTOModule (Results 1 – 14 of 14) 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/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/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/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/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/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;