/external/llvm/lib/LTO/ |
D | LTOModule.cpp | 52 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 …]
|
D | CMakeLists.txt | 52 LTOModule.cpp
|
D | LTOCodeGenerator.cpp | 133 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/ |
D | LTOModule.cpp | 46 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 …]
|
D | CMakeLists.txt | 5 LTOModule.cpp
|
D | LTOCodeGenerator.cpp | 133 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/ |
D | LTOModule.cpp | 49 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 …]
|
D | lto.cpp | 51 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()
|
D | LTOModule.h | 41 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,
|
D | LTOCodeGenerator.h | 37 bool addModule(struct LTOModule*, std::string& errMsg);
|
D | LTOCodeGenerator.cpp | 91 bool LTOCodeGenerator::addModule(LTOModule* mod, std::string& errMsg) in addModule()
|
/external/llvm/tools/lto/ |
D | lto.cpp | 143 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/ |
D | LTOModule.h | 37 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>>
|
D | LTOCodeGenerator.h | 73 bool addModule(struct LTOModule *); 78 void setModule(std::unique_ptr<LTOModule> M);
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/lto/ |
D | lto.cpp | 151 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/ |
D | LTOModule.h | 38 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>>
|
D | LTOCodeGenerator.h | 75 bool addModule(struct LTOModule *); 80 void setModule(std::unique_ptr<LTOModule> M); 82 void setAsmUndefinedRefs(struct LTOModule *);
|
/external/llvm/tools/llvm-lto/ |
D | llvm-lto.cpp | 244 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/ |
D | llvm-lto.cpp | 303 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/ |
D | symver-asm.ll | 9 ; Even without -exported-symbol, io_cancel_0_4 should be noticed by LTOModule's
|
/external/swiftshader/third_party/LLVM/include/llvm-c/ |
D | lto.h | 58 typedef struct LTOModule* lto_module_t;
|