Searched refs:ModuleID (Results 1 - 9 of 9) sorted by relevance

/external/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITObjectCacheTest.cpp29 const std::string ModuleID = M->getModuleIdentifier(); variable
30 if (ObjMap.find(ModuleID) != ObjMap.end())
33 ObjMap[ModuleID] = copyBuffer(Obj);
56 const std::string ModuleID = M->getModuleIdentifier(); local
57 StringMap<const MemoryBuffer *>::iterator it = ObjMap.find(ModuleID);
/external/llvm/include/llvm/IR/
H A DModule.h218 std::string ModuleID; ///< Human readable identifier for the module member in class:llvm::Module
232 explicit Module(StringRef ModuleID, LLVMContext& C);
242 const std::string &getModuleIdentifier() const { return ModuleID; }
248 StringRef getName() const { return ModuleID; }
273 /// ModuleID and the provided pass salt. The returned RNG should not
287 void setModuleIdentifier(StringRef ID) { ModuleID = ID; }
/external/llvm/tools/lli/
H A Dlli.cpp277 const std::string ModuleID = M->getModuleIdentifier(); variable
279 if (!getCacheFilename(ModuleID, CacheName))
293 const std::string ModuleID = M->getModuleIdentifier(); variable
295 if (!getCacheFilename(ModuleID, CacheName))
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy.cpp684 // Get the ModuleID
685 const std::string ModuleID = M->getModuleIdentifier(); local
688 if (0 == ModuleID.compare(0, 3, "IR:")) {
689 std::string IRFileName = ModuleID.substr(3);
706 // Get the ModuleID
707 const std::string ModuleID = M->getModuleIdentifier(); local
710 if (0 == ModuleID.compare(0, 3, "IR:")) {
711 std::string IRFileName = ModuleID.substr(3);
910 // Get the ModuleID so we can identify IR input files
911 const std::string ModuleID local
[all...]
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp703 // Get the ModuleID
704 const std::string ModuleID = M->getModuleIdentifier(); local
707 if (0 == ModuleID.compare(0, 3, "IR:")) {
708 std::string IRFileName = ModuleID.substr(3);
725 // Get the ModuleID
726 const std::string ModuleID = M->getModuleIdentifier(); local
729 if (0 == ModuleID.compare(0, 3, "IR:")) {
730 std::string IRFileName = ModuleID.substr(3);
951 // Get the ModuleID so we can identify IR input files
952 const std::string ModuleID local
[all...]
/external/llvm/lib/IR/
H A DModule.cpp49 : Context(C), Materializer(), ModuleID(MID), DL("") {
H A DCore.cpp149 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID) { argument
150 return wrap(new Module(ModuleID, getGlobalContext()));
153 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID, argument
155 return wrap(new Module(ModuleID, *unwrap(C)));
/external/llvm/include/llvm-c/
H A DCore.h554 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID);
562 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID,
/external/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c146 CAMLprim LLVMModuleRef llvm_create_module(LLVMContextRef C, value ModuleID) { argument
147 return LLVMModuleCreateWithNameInContext(String_val(ModuleID), C);

Completed in 231 milliseconds