Searched refs:LLVMM (Results 1 – 5 of 5) sorted by relevance
33 llvm::Module &LLVMM; variable36 Module(llvm::Module &LLVMM, Context &Ctx) : LLVMM(LLVMM), Ctx(Ctx) {} in Module() argument44 const DataLayout &getDataLayout() const { return LLVMM.getDataLayout(); } in getDataLayout()47 return LLVMM.getSourceFileName(); in getSourceFileName()
258 LLVM_ABI Module *getModule(llvm::Module *LLVMM) const;260 LLVM_ABI Module *getOrCreateModule(llvm::Module *LLVMM);280 LLVM_ABI Module *createModule(llvm::Module *LLVMM);
1044 llvm::Module *LLVMM = cast<LLVMGlobalT>(this->Val)->getParent(); in getParent() local1045 return this->Ctx.getModule(LLVMM); in getParent()
18 llvm::Function *LLVMF = LLVMM.getFunction(Name); in getFunction()25 Ctx.getValue(LLVMM.getGlobalVariable(Name, AllowInternal))); in getGlobalVariable()29 return cast_or_null<GlobalAlias>(Ctx.getValue(LLVMM.getNamedAlias(Name))); in getNamedAlias()33 return cast_or_null<GlobalIFunc>(Ctx.getValue(LLVMM.getNamedIFunc(Name))); in getNamedIFunc()37 void Module::dumpOS(raw_ostream &OS) const { OS << LLVMM; } in dumpOS()
647 Module *Context::getModule(llvm::Module *LLVMM) const { in getModule()648 auto It = LLVMModuleToModuleMap.find(LLVMM); in getModule()654 Module *Context::getOrCreateModule(llvm::Module *LLVMM) { in getOrCreateModule() argument655 auto Pair = LLVMModuleToModuleMap.try_emplace(LLVMM); in getOrCreateModule()659 It->second = std::unique_ptr<Module>(new Module(*LLVMM, *this)); in getOrCreateModule()684 Module *Context::createModule(llvm::Module *LLVMM) { in createModule() argument685 auto *M = getOrCreateModule(LLVMM); in createModule()687 for (auto &LLVMF : *LLVMM) in createModule()690 for (auto &Global : LLVMM->globals()) in createModule()693 for (auto &Alias : LLVMM->aliases()) in createModule()[all …]