Home
last modified time | relevance | path

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

/external/llvm/tools/lto/
DLTOModule.cpp158 LTOModule::LTOModule(llvm::Module *m, llvm::TargetMachine *t) in LTOModule() function in LTOModule
165 bool LTOModule::isBitcodeFile(const void *mem, size_t length) { in isBitcodeFile()
170 bool LTOModule::isBitcodeFile(const char *path) { in isBitcodeFile()
176 bool LTOModule::isBitcodeFileForTarget(const void *mem, size_t length, in isBitcodeFileForTarget()
184 bool LTOModule::isBitcodeFileForTarget(const char *path, in isBitcodeFileForTarget()
194 bool LTOModule::isTargetMatch(MemoryBuffer *buffer, const char *triplePrefix) { in isTargetMatch()
202 LTOModule *LTOModule::makeLTOModule(const char *path, std::string &errMsg) { in makeLTOModule()
211 LTOModule *LTOModule::makeLTOModule(int fd, const char *path, in makeLTOModule()
216 LTOModule *LTOModule::makeLTOModule(int fd, const char *path, in makeLTOModule()
230 LTOModule *LTOModule::makeLTOModule(const void *mem, size_t length, in makeLTOModule()
[all …]
Dlto.cpp38 return LTOModule::isBitcodeFile(path); in lto_module_is_object_file()
45 return LTOModule::isBitcodeFileForTarget(path, target_triplet_prefix); in lto_module_is_object_file_for_target()
51 return LTOModule::isBitcodeFile(mem, length); in lto_module_is_object_file_in_memory()
60 return LTOModule::isBitcodeFileForTarget(mem, length, target_triplet_prefix); in lto_module_is_object_file_in_memory_for_target()
66 return LTOModule::makeLTOModule(path, sLastErrorString); in lto_module_create()
72 return LTOModule::makeLTOModule(fd, path, size, sLastErrorString); in lto_module_create_from_fd()
81 return LTOModule::makeLTOModule(fd, path, file_size, map_size, in lto_module_create_from_fd_at_offset()
88 return LTOModule::makeLTOModule(mem, length, sLastErrorString); in lto_module_create_from_memory()
DLTOModule.h39 struct LTOModule { struct
63 LTOModule(llvm::Module *m, llvm::TargetMachine *t); argument
80 static LTOModule *makeLTOModule(const char* path,
82 static LTOModule *makeLTOModule(int fd, const char *path,
84 static LTOModule *makeLTOModule(int fd, const char *path,
89 static LTOModule *makeLTOModule(const void *mem, size_t length,
184 static LTOModule *makeLTOModule(llvm::MemoryBuffer *buffer,
DCMakeLists.txt11 LTOModule.cpp
DLTOCodeGenerator.h42 bool addModule(struct LTOModule*, std::string &errMsg);
DLTOCodeGenerator.cpp89 bool LTOCodeGenerator::addModule(LTOModule* mod, std::string& errMsg) { in addModule()
262 LTOModule::getTargetOptions(Options); in determineTarget()
/external/llvm/include/llvm-c/
Dlto.h65 typedef struct LTOModule* lto_module_t;