Home
last modified time | relevance | path

Searched refs:getModuleIdentifier (Results 1 – 25 of 46) sorted by relevance

12

/llvm-project-15.0.7/llvm/examples/OrcV2Examples/LLJITWithObjectCache/
H A DLLJITWithObjectCache.cpp30 CachedObjects[M->getModuleIdentifier()] = MemoryBuffer::getMemBufferCopy( in notifyObjectCompiled()
35 auto I = CachedObjects.find(M->getModuleIdentifier()); in getObject()
37 dbgs() << "No object for " << M->getModuleIdentifier() in getObject()
42 dbgs() << "Object for " << M->getModuleIdentifier() in getObject()
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITObjectCacheTest.cpp29 const std::string ModuleID = M->getModuleIdentifier(); in notifyObjectCompiled()
38 ModulesLookedUp.insert(M->getModuleIdentifier()); in getObject()
50 return ModulesLookedUp.find(M->getModuleIdentifier()) in wasModuleLookedUp()
56 const std::string ModuleID = M->getModuleIdentifier(); in getObjectInternal()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp68 VI, SGV->getParent()->getModuleIdentifier()); in shouldPromoteLocalToGlobal()
102 ImportIndex.getModuleHash(SGV->getParent()->getModuleIdentifier())); in getPromotedName()
211 if (FS->modulePath() == M.getModuleIdentifier()) { in processGlobalForThinLTO()
248 ImportIndex.findSummaryInModule(VI, M.getModuleIdentifier())); in processGlobalForThinLTO()
H A DMetaRenamer.cpp128 for (auto C : M.getModuleIdentifier()) in MetaRename()
H A DCloneModule.cpp54 std::make_unique<Module>(M.getModuleIdentifier(), M.getContext()); in CloneModule()
/llvm-project-15.0.7/llvm/lib/Linker/
H A DIRMover.cpp1240 SrcM->getModuleIdentifier() + in linkNamedMDNodes()
1243 DstM.getModuleIdentifier() + "' is not\n"); in linkNamedMDNodes()
1344 SrcM->getModuleIdentifier() + "' and '" + in linkModuleFlagsMetadata()
1345 DstM.getModuleIdentifier() + "'"); in linkModuleFlagsMetadata()
1366 SrcM->getModuleIdentifier() + "' and '" + in linkModuleFlagsMetadata()
1367 DstM.getModuleIdentifier() + "'"); in linkModuleFlagsMetadata()
1450 DstM.getModuleIdentifier() + "'"); in linkModuleFlagsMetadata()
1545 std::string ModuleId = SrcM->getModuleIdentifier(); in run()
1565 SrcM->getModuleIdentifier() + "' is '" + in run()
1567 DstM.getModuleIdentifier() + "' is '" + in run()
[all …]
/llvm-project-15.0.7/mlir/lib/ExecutionEngine/
H A DExecutionEngine.cpp67 cachedObjects[m->getModuleIdentifier()] = MemoryBuffer::getMemBufferCopy( in notifyObjectCompiled()
72 auto i = cachedObjects.find(m->getModuleIdentifier()); in getObject()
74 LLVM_DEBUG(dbgs() << "No object for " << m->getModuleIdentifier() in getObject()
78 LLVM_DEBUG(dbgs() << "Object for " << m->getModuleIdentifier() in getObject()
/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/
H A DReduceModuleData.cpp18 if (!Program.getModuleIdentifier().empty() && !O.shouldKeep()) in clearModuleData()
/llvm-project-15.0.7/llvm/lib/LTO/
H A DLTO.cpp502 return Mods[0].getModuleIdentifier(); in getName()
897 BM.readSummary(ThinLTO.CombinedIndex, BM.getModuleIdentifier(), in addThinLTO()
909 ThinLTO.PrevailingModuleForGUID[GUID] = BM.getModuleIdentifier(); in addThinLTO()
917 GUID, BM.getModuleIdentifier())) in addThinLTO()
925 GUID, BM.getModuleIdentifier())) { in addThinLTO()
932 if (!ThinLTO.ModuleMap.insert({BM.getModuleIdentifier(), BM}).second) in addThinLTO()
943 if (BM.getModuleIdentifier().contains(Name)) { in addThinLTO()
944 ThinLTO.ModulesToCompile->insert({BM.getModuleIdentifier(), BM}); in addThinLTO()
1262 auto ModuleID = BM.getModuleIdentifier(); in runThinLTOBackendThread()
1297 StringRef ModulePath = BM.getModuleIdentifier(); in start()
[all …]
H A DThinLTOCodeGenerator.cpp201 SMDiagnostic Err = SMDiagnostic(Mod.getModuleIdentifier(), in loadModuleFromInput()
227 SMDiagnostic Err = SMDiagnostic(TheModule.getModuleIdentifier(), in crossImportIntoModule()
701 auto ModuleIdentifier = TheModule.getModuleIdentifier(); in promote()
772 auto &ImportList = ImportLists[TheModule.getModuleIdentifier()]; in crossModuleImport()
787 auto ModuleIdentifier = TheModule.getModuleIdentifier(); in gatherImportedSummariesForModule()
820 auto ModuleIdentifier = TheModule.getModuleIdentifier(); in emitImports()
862 auto ModuleIdentifier = TheModule.getModuleIdentifier(); in internalize()
H A DLTOBackend.cpp113 if (M.getModuleIdentifier() == "ld-temp.o" || !UseInputModulePath) { in addSaveTemps()
118 PathPrefix = M.getModuleIdentifier() + "."; in addSaveTemps()
699 if (Summary->modulePath() == M.getModuleIdentifier()) in initImportList()
/llvm-project-15.0.7/llvm/lib/IR/
H A DDiagnosticPrinter.cpp105 Stream << M.getModuleIdentifier(); in operator <<()
H A DLegacyPassManager.cpp217 OS << " on module '" << M->getModuleIdentifier() << "'.\n"; in print()
1532 dumpPassInfo(MP, EXECUTION_MSG, ON_MODULE_MSG, M.getModuleIdentifier()); in runOnModule()
1568 M.getModuleIdentifier()); in runOnModule()
1576 removeDeadPasses(MP, M.getModuleIdentifier(), ON_MODULE_MSG); in runOnModule()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DLayer.cpp90 << "$." << M.getModuleIdentifier() << ".__inits." << Counter++; in IRMaterializationUnit()
108 [](const Module &M) -> StringRef { return M.getModuleIdentifier(); }); in getName()
H A DCompileUtils.cpp57 std::move(ObjBufferSV), M.getModuleIdentifier() + "-jitted-objectbuffer", in operator ()()
H A DCompileOnDemandLayer.cpp63 M.setModuleIdentifier((M.getModuleIdentifier() + Suffix).str()); in extractSubModule()
H A DLLJIT.cpp524 << InitFunctionPrefix << M.getModuleIdentifier(); in operator ()()
527 << DeInitFunctionPrefix << M.getModuleIdentifier(); in operator ()()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DCallPrinter.cpp148 std::string(CGInfo->getModule()->getModuleIdentifier()); in getGraphName()
227 Filename = (std::string(M.getModuleIdentifier()) + ".callgraph.dot"); in doCallGraphDOTPrinting()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp1223 << DestModule.getModuleIdentifier() << "\n"); in importFunctions()
1356 << DestModule.getModuleIdentifier() << "\n"); in importFunctions()
1359 << DestModule.getModuleIdentifier() << "\n"); in importFunctions()
1381 ComputeCrossModuleImportForModuleFromIndex(M.getModuleIdentifier(), *Index, in doImportingForModule()
1384 ComputeCrossModuleImportForModule(M.getModuleIdentifier(), *Index, in doImportingForModule()
/llvm-project-15.0.7/llvm/tools/lli/
H A Dlli.cpp318 const std::string &ModuleID = M->getModuleIdentifier(); in notifyObjectCompiled()
334 const std::string &ModuleID = M->getModuleIdentifier(); in getObject()
841 raw_fd_ostream Out(M.getModuleIdentifier() + ".ll", EC, in createDebugDumper()
844 errs() << "Couldn't open " << M.getModuleIdentifier() in createDebugDumper()
880 M->setModuleIdentifier("file:" + M->getModuleIdentifier()); in loadModule()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DOcamlGCPrinter.cpp52 const std::string &MId = M.getModuleIdentifier(); in EmitCamlGlobal()
/llvm-project-15.0.7/llvm/include/llvm/Bitcode/
H A DBitcodeReader.h96 StringRef getModuleIdentifier() const { return ModuleIdentifier; } in getModuleIdentifier() function
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DDebugTranslation.cpp43 builder.createFile(llvmModule.getModuleIdentifier(), "/"), in DebugTranslation()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy.cpp685 const std::string ModuleID = M->getModuleIdentifier(); in notifyObjectCompiled()
707 const std::string ModuleID = M->getModuleIdentifier(); in getObject()
911 const std::string ModuleID = M->getModuleIdentifier(); in compileModule()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp704 const std::string ModuleID = M->getModuleIdentifier(); in notifyObjectCompiled()
726 const std::string ModuleID = M->getModuleIdentifier(); in getObject()
952 const std::string ModuleID = M->getModuleIdentifier(); in compileModule()

12