Searched defs:ModuleID (Results 1 - 7 of 7) sorted by relevance

/external/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITObjectCacheTest.cpp40 const std::string ModuleID = M->getModuleIdentifier(); local
41 if (ObjMap.find(ModuleID) != ObjMap.end())
44 ObjMap[ModuleID] = copyBuffer(Obj);
67 const std::string ModuleID = M->getModuleIdentifier(); local
68 StringMap<const MemoryBuffer *>::iterator it = ObjMap.find(ModuleID);
/external/llvm/tools/lli/
H A Dlli.cpp267 const std::string ModuleID = M->getModuleIdentifier(); variable
269 if (!getCacheFilename(ModuleID, CacheName))
283 const std::string ModuleID = M->getModuleIdentifier(); variable
285 if (!getCacheFilename(ModuleID, CacheName))
/external/llvm/include/llvm/IR/
H A DModule.h206 std::string ModuleID; ///< Human readable identifier for the module member in class:llvm::Module
228 explicit Module(StringRef ModuleID, LLVMContext& C);
238 const std::string &getModuleIdentifier() const { return ModuleID; }
260 /// seeded via -rng-seed=<uint64> and is salted with the ModuleID.
269 void setModuleIdentifier(StringRef ID) { ModuleID = ID; }
/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);
911 // Get the ModuleID so we can identify IR input files
912 const std::string ModuleID local
[all...]
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp708 // Get the ModuleID
709 const std::string ModuleID = M->getModuleIdentifier(); local
712 if (0 == ModuleID.compare(0, 3, "IR:")) {
713 std::string IRFileName = ModuleID.substr(3);
730 // Get the ModuleID
731 const std::string ModuleID = M->getModuleIdentifier(); local
734 if (0 == ModuleID.compare(0, 3, "IR:")) {
735 std::string IRFileName = ModuleID.substr(3);
1047 // Get the ModuleID so we can identify IR input files
1048 const std::string ModuleID local
[all...]
/external/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c148 CAMLprim LLVMModuleRef llvm_create_module(LLVMContextRef C, value ModuleID) { argument
149 return LLVMModuleCreateWithNameInContext(String_val(ModuleID), C);
/external/llvm/lib/IR/
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)));

Completed in 256 milliseconds