Home
last modified time | relevance | path

Searched refs:getOrInsertComdat (Results 1 – 25 of 36) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/IR/
H A DComdat.cpp35 return wrap(unwrap(M)->getOrInsertComdat(Name)); in LLVMGetOrInsertComdat()
H A DModule.cpp582 Comdat *Module::getOrInsertComdat(StringRef Name) { in getOrInsertComdat() function in Module
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DIndirectThunks.h57 F->setComdat(M.getOrInsertComdat(Name)); in createThunkFunction()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DInstrumentation.cpp84 Comdat *C = M->getOrInsertComdat(F.getName()); in getOrCreateFunctionComdat()
H A DInstrProfiling.cpp690 Bias->setComdat(M->getOrInsertComdat(Bias->getName())); in getCounterAddress()
913 Comdat *C = M->getOrInsertComdat(GroupName); in getOrCreateRegionCounters()
1218 User->setComdat(M->getOrInsertComdat(User->getName())); in emitRuntimeHook()
H A DHWAddressSanitizer.cpp451 Comdat *CtorComdat = M.getOrInsertComdat(kHwasanModuleCtorName); in createHwasanCtorComdat()
487 Comdat *NoteComdat = M.getOrInsertComdat(kHwasanModuleCtorName); in createHwasanCtorComdat()
1666 ThunkFn->setComdat(M.getOrInsertComdat(ThunkName)); in instrumentPersonalityFunctions()
H A DPGOInstrumentation.cpp370 IRLevelVersionVariable->setComdat(M.getOrInsertComdat(VarName)); in createIRLevelProfileFlagVar()
685 NewComdat = M->getOrInsertComdat(StringRef(NewFuncName)); in renameComdatFunction()
695 NewComdat = M->getOrInsertComdat(StringRef(NewComdatName)); in renameComdatFunction()
H A DMemProfiler.cpp525 ProfileNameVar->setComdat(M.getOrInsertComdat(MemProfFilenameVar)); in createProfileFileNameVar()
H A DAddressSanitizer.cpp1949 C = M.getOrInsertComdat(Name); in SetComdatForGlobalMetadata()
1951 C = M.getOrInsertComdat(G->getName()); in SetComdatForGlobalMetadata()
2454 AsanCtorFunction->setComdat(M.getOrInsertComdat(kAsanModuleCtorName)); in instrumentModule()
2457 AsanDtorFunction->setComdat(M.getOrInsertComdat(kAsanModuleDtorName)); in instrumentModule()
H A DSanitizerCoverage.cpp344 CtorFunc->setComdat(M.getOrInsertComdat(CtorName)); in CreateInitCallsForSections()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp48 to->setComdat(M.getOrInsertComdat(to->getName())); in copyLinkageVisibility()
H A DJMCInstrumenter.cpp206 Comdat *C = M.getOrInsertComdat(DefaultCheckFunctionName); in runOnModule()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCloneModule.cpp28 Comdat *DC = Dst->getParent()->getOrInsertComdat(SC->getName()); in copyComdat()
H A DFunctionImportUtils.cpp277 RenamedComdats.try_emplace(C, M.getOrInsertComdat(GV.getName())); in processGlobalForThinLTO()
H A DSymbolRewriter.cpp101 Comdat *C = M.getOrInsertComdat(Target); in rewriteComdat()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGVTT.cpp98 VTT->setComdat(CGM.getModule().getOrInsertComdat(VTT->getName())); in EmitVTTDefinition()
H A DMicrosoftCXXABI.cpp1881 C = CGM.getModule().getOrInsertComdat(VFTableName.str()); in getAddrOfVTable()
2588 F->setComdat(CGM.getModule().getOrInsertComdat(F->getName())); in EmitGuardedInit()
2656 CGM.getModule().getOrInsertComdat(GuardVar->getName())); in EmitGuardedInit()
3769 CHD->setComdat(CGM.getModule().getOrInsertComdat(CHD->getName())); in getClassHierarchyDescriptor()
3807 BCA->setComdat(CGM.getModule().getOrInsertComdat(BCA->getName())); in getBaseClassArray()
3849 BCD->setComdat(CGM.getModule().getOrInsertComdat(BCD->getName())); in getBaseClassDescriptor()
3910 COL->setComdat(CGM.getModule().getOrInsertComdat(COL->getName())); in getCompleteObjectLocator()
4012 Var->setComdat(CGM.getModule().getOrInsertComdat(Var->getName())); in getAddrOfRTTIDescriptor()
4050 Fn->setComdat(CGM.getModule().getOrInsertComdat(Fn->getName())); in emitCXXStructor()
4251 GV->setComdat(CGM.getModule().getOrInsertComdat(GV->getName())); in getCatchableType()
[all …]
H A DCGObjCGNU.cpp219 GV->setComdat(TheModule.getOrInsertComdat(name)); in ExportUniqueString()
1108 ObjCStrGV->setComdat(TheModule.getOrInsertComdat(StringName)); in GenerateConstantString()
1332 GV->setComdat(TheModule.getOrInsertComdat(RefName)); in GenerateProtocolRef()
1425 GV->setComdat(TheModule.getOrInsertComdat(SymName)); in GenerateProtocolRef()
1457 GV->setComdat(TheModule.getOrInsertComdat(TypesVarName)); in GetTypeString()
1484 GV->setComdat(TheModule.getOrInsertComdat(SelVarName)); in GetConstantSelector()
1514 Sym->setComdat(TheModule.getOrInsertComdat((Prefix + in GetSectionBounds()
1542 LoadFunction->setComdat(TheModule.getOrInsertComdat(".objcv2_load_function")); in ModuleInitFunction()
1560 InitStruct->setComdat(TheModule.getOrInsertComdat(".objc_init")); in ModuleInitFunction()
1590 InitVar->setComdat(TheModule.getOrInsertComdat(".objc_ctor")); in ModuleInitFunction()
[all …]
H A DCGVTables.cpp56 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName())); in setThunkProperties()
665 proxy->setComdat(module.getOrInsertComdat(rttiProxyName)); in addRelativeComponent()
H A DItaniumCXXABI.cpp1739 VTable->setComdat(CGM.getModule().getOrInsertComdat(VTable->getName())); in emitVTableDefinitions()
2416 guard->setComdat(CGM.getModule().getOrInsertComdat(guard->getName())); in EmitGuardedInit()
2778 Wrapper->setComdat(CGM.getModule().getOrInsertComdat(Wrapper->getName())); in getOrCreateThreadLocalWrapper()
3853 GV->setComdat(M.getOrInsertComdat(GV->getName())); in BuildTypeInfo()
4354 llvm::Comdat *C = CGM.getModule().getOrInsertComdat(Out.str()); in emitCXXStructor()
4673 fn->setComdat(CGM.getModule().getOrInsertComdat(fn->getName())); in getClangCallTerminateFn()
H A DCodeGenModule.cpp3036 GV->setComdat(TheModule.getOrInsertComdat(GV->getName())); in GetAddrOfMSGuidDecl()
3102 GV->setComdat(TheModule.getOrInsertComdat(GV->getName())); in GetAddrOfTemplateParamObject()
3638 getModule().getOrInsertComdat(ResolverFunc->getName())); in emitMultiVersionFunctions()
3693 getModule().getOrInsertComdat(ResolverFunc->getName())); in emitCPUDispatchDefinition()
4447 GV->setComdat(TheModule.getOrInsertComdat(GV->getName())); in CreateOrReplaceCXXRuntimeVariable()
4658 GO.setComdat(TheModule.getOrInsertComdat(GO.getName())); in maybeSetTrivialComdat()
5729 GV->setComdat(M.getOrInsertComdat(GV->getName())); in GenerateStringLiteral()
5940 GV->setComdat(TheModule.getOrInsertComdat(GV->getName())); in GetAddrOfGlobalTemporary()
H A DCGBlocks.cpp264 global->setComdat(CGM.getModule().getOrInsertComdat(descName)); in buildBlockDescriptor()
1929 Fn->setComdat(CGM.getModule().getOrInsertComdat(FuncName)); in GenerateCopyHelperFunction()
2118 Fn->setComdat(CGM.getModule().getOrInsertComdat(FuncName)); in GenerateDestroyHelperFunction()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DModule.h489 Comdat *getOrInsertComdat(StringRef Name);
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DThinLTOBitcodeWriter.cpp75 RenamedComdats.try_emplace(C, ExportM.getOrInsertComdat(NewName)); in promoteInternals()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DConstantsTest.cpp779 Comdat *C = M.getOrInsertComdat("comdat"); in TEST()

12