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

/external/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITObjectCacheTest.cpp41 const std::string ModuleID = M->getModuleIdentifier(); local
42 if (ObjMap.find(ModuleID) != ObjMap.end())
45 ObjMap[ModuleID] = copyBuffer(Obj);
68 const std::string ModuleID = M->getModuleIdentifier(); local
69 StringMap<const MemoryBuffer *>::iterator it = ObjMap.find(ModuleID);
/external/llvm/include/llvm/IR/
H A DModule.h205 std::string ModuleID; ///< Human readable identifier for the module member in class:llvm::Module
218 explicit Module(StringRef ModuleID, LLVMContext& C);
228 const std::string &getModuleIdentifier() const { return ModuleID; }
260 void setModuleIdentifier(StringRef ID) { ModuleID = ID; }
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy.cpp683 // Get the ModuleID
684 const std::string ModuleID = M->getModuleIdentifier(); local
687 if (0 == ModuleID.compare(0, 3, "IR:")) {
688 std::string IRFileName = ModuleID.substr(3);
705 // Get the ModuleID
706 const std::string ModuleID = M->getModuleIdentifier(); local
709 if (0 == ModuleID.compare(0, 3, "IR:")) {
710 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.cpp707 // Get the ModuleID
708 const std::string ModuleID = M->getModuleIdentifier(); local
711 if (0 == ModuleID.compare(0, 3, "IR:")) {
712 std::string IRFileName = ModuleID.substr(3);
729 // Get the ModuleID
730 const std::string ModuleID = M->getModuleIdentifier(); local
733 if (0 == ModuleID.compare(0, 3, "IR:")) {
734 std::string IRFileName = ModuleID.substr(3);
1046 // Get the ModuleID so we can identify IR input files
1047 const std::string ModuleID local
[all...]
/external/llvm/lib/IR/
H A DModule.cpp46 : Context(C), Materializer(NULL), ModuleID(MID) {
H A DCore.cpp96 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID) { argument
97 return wrap(new Module(ModuleID, getGlobalContext()));
100 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID, argument
102 return wrap(new Module(ModuleID, *unwrap(C)));
/external/llvm/include/llvm-c/
H A DCore.h479 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID);
487 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID,
/external/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c123 CAMLprim LLVMModuleRef llvm_create_module(LLVMContextRef C, value ModuleID) { argument
124 return LLVMModuleCreateWithNameInContext(String_val(ModuleID), C);

Completed in 1750 milliseconds