Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DComdat.cpp35 return wrap(unwrap(M)->getOrInsertComdat(Name)); in LLVMGetOrInsertComdat()
H A DModule.cpp568 Comdat *Module::getOrInsertComdat(StringRef Name) { in getOrInsertComdat() function in Module
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp360 F->setComdat(M->getOrInsertComdat(ExitThunkName)); in buildExitThunk()
464 Thunk->setComdat(M->getOrInsertComdat(EntryThunkName)); in buildEntryThunk()
566 GuestExit->setComdat(M->getOrInsertComdat(ThunkName)); in buildGuestExitThunk()
698 F.setComdat(Mod.getOrInsertComdat(F.getName())); in runOnModule()
747 Comdat *MangledComdat = M->getOrInsertComdat(MangledName.value()); in processFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrumentation.cpp81 Comdat *C = M->getOrInsertComdat(F.getName()); in getOrCreateFunctionComdat()
H A DSanitizerBinaryMetadata.cpp233 Ctor->setComdat(Mod.getOrInsertComdat(Ctor->getName())); in run()
234 Dtor->setComdat(Mod.getOrInsertComdat(Dtor->getName())); in run()
H A DInstrProfiling.cpp882 Bias->setComdat(M.getOrInsertComdat(Bias->getName())); in getCounterAddress()
1212 Comdat *C = M.getOrInsertComdat(GroupName); in maybeSetComdat()
1707 User->setComdat(M.getOrInsertComdat(User->getName())); in emitRuntimeHook()
H A DHWAddressSanitizer.cpp477 Comdat *CtorComdat = M.getOrInsertComdat(kHwasanModuleCtorName); in createHwasanCtorComdat()
513 Comdat *NoteComdat = M.getOrInsertComdat(kHwasanModuleCtorName); in createHwasanCtorComdat()
1742 ThunkFn->setComdat(M.getOrInsertComdat(ThunkName)); in instrumentPersonalityFunctions()
H A DPGOInstrumentation.cpp397 IRLevelVersionVariable->setComdat(M.getOrInsertComdat(VarName)); in createIRLevelProfileFlagVar()
711 NewComdat = M->getOrInsertComdat(StringRef(NewFuncName)); in renameComdatFunction()
721 NewComdat = M->getOrInsertComdat(StringRef(NewComdatName)); in renameComdatFunction()
H A DAddressSanitizer.cpp2152 C = M.getOrInsertComdat(Name); in SetComdatForGlobalMetadata()
2154 C = M.getOrInsertComdat(G->getName()); in SetComdatForGlobalMetadata()
2676 AsanCtorFunction->setComdat(M.getOrInsertComdat(kAsanModuleCtorName)); in instrumentModule()
2680 AsanDtorFunction->setComdat(M.getOrInsertComdat(kAsanModuleDtorName)); in instrumentModule()
H A DMemProfiler.cpp482 ProfileNameVar->setComdat(M.getOrInsertComdat(MemProfFilenameVar)); in createProfileFileNameVar()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DIndirectThunks.h63 F->setComdat(M.getOrInsertComdat(Name)); in createThunkFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp54 to->setComdat(M.getOrInsertComdat(to->getName())); in copyLinkageVisibility()
H A DJMCInstrumenter.cpp213 Comdat *C = M.getOrInsertComdat(DefaultCheckFunctionName); in runImpl()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGVTT.cpp95 VTT->setComdat(CGM.getModule().getOrInsertComdat(VTT->getName())); in EmitVTTDefinition()
H A DMicrosoftCXXABI.cpp1902 C = CGM.getModule().getOrInsertComdat(VFTableName.str()); in getAddrOfVTable()
2610 F->setComdat(CGM.getModule().getOrInsertComdat(F->getName())); in EmitGuardedInit()
2678 CGM.getModule().getOrInsertComdat(GuardVar->getName())); in EmitGuardedInit()
3771 CHD->setComdat(CGM.getModule().getOrInsertComdat(CHD->getName())); in getClassHierarchyDescriptor()
3809 BCA->setComdat(CGM.getModule().getOrInsertComdat(BCA->getName())); in getBaseClassArray()
3851 BCD->setComdat(CGM.getModule().getOrInsertComdat(BCD->getName())); in getBaseClassDescriptor()
3912 COL->setComdat(CGM.getModule().getOrInsertComdat(COL->getName())); in getCompleteObjectLocator()
4014 Var->setComdat(CGM.getModule().getOrInsertComdat(Var->getName())); in getAddrOfRTTIDescriptor()
4052 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()
1125 ObjCStrGV->setComdat(TheModule.getOrInsertComdat(StringName)); in GenerateConstantString()
1346 GV->setComdat(TheModule.getOrInsertComdat(RefName)); in GenerateProtocolRef()
1437 GV->setComdat(TheModule.getOrInsertComdat(SymName)); in GenerateProtocolRef()
1475 GV->setComdat(TheModule.getOrInsertComdat(TypesVarName)); in GetTypeString()
1496 GV->setComdat(TheModule.getOrInsertComdat(SelVarName)); in GetConstantSelector()
1525 Sym->setComdat(TheModule.getOrInsertComdat((Prefix + in GetSectionBounds()
1553 LoadFunction->setComdat(TheModule.getOrInsertComdat(".objcv2_load_function")); in ModuleInitFunction()
1571 InitStruct->setComdat(TheModule.getOrInsertComdat(".objc_init")); in ModuleInitFunction()
1601 InitVar->setComdat(TheModule.getOrInsertComdat(".objc_ctor")); in ModuleInitFunction()
[all …]
H A DCGVTables.cpp57 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName())); in setThunkProperties()
667 proxy->setComdat(module.getOrInsertComdat(rttiProxyName)); in addRelativeComponent()
H A DItaniumCXXABI.cpp1821 VTable->setComdat(CGM.getModule().getOrInsertComdat(VTable->getName())); in emitVTableDefinitions()
2494 guard->setComdat(CGM.getModule().getOrInsertComdat(guard->getName())); in EmitGuardedInit()
2879 Wrapper->setComdat(CGM.getModule().getOrInsertComdat(Wrapper->getName())); in getOrCreateThreadLocalWrapper()
3954 GV->setComdat(M.getOrInsertComdat(GV->getName())); in BuildTypeInfo()
4456 llvm::Comdat *C = CGM.getModule().getOrInsertComdat(Out.str()); in emitCXXStructor()
4780 fn->setComdat(CGM.getModule().getOrInsertComdat(fn->getName())); in getClangCallTerminateFn()
H A DCGBlocks.cpp239 global->setComdat(CGM.getModule().getOrInsertComdat(descName)); in buildBlockDescriptor()
1893 Fn->setComdat(CGM.getModule().getOrInsertComdat(FuncName)); in GenerateCopyHelperFunction()
2078 Fn->setComdat(CGM.getModule().getOrInsertComdat(FuncName)); in GenerateDestroyHelperFunction()
H A DCodeGenModule.cpp3568 GV->setComdat(TheModule.getOrInsertComdat(GV->getName())); in GetAddrOfMSGuidDecl()
3636 GV->setComdat(TheModule.getOrInsertComdat(GV->getName())); in GetAddrOfTemplateParamObject()
4255 getModule().getOrInsertComdat(ResolverFunc->getName())); in emitMultiVersionFunctions()
4310 getModule().getOrInsertComdat(ResolverFunc->getName())); in emitCPUDispatchDefinition()
5046 GV->setComdat(TheModule.getOrInsertComdat(GV->getName())); in CreateOrReplaceCXXRuntimeVariable()
5263 GO.setComdat(TheModule.getOrInsertComdat(GO.getName())); in maybeSetTrivialComdat()
6335 GV->setComdat(M.getOrInsertComdat(GV->getName())); in GenerateStringLiteral()
6549 GV->setComdat(TheModule.getOrInsertComdat(GV->getName())); in GetAddrOfGlobalTemporary()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp297 RenamedComdats.try_emplace(C, M.getOrInsertComdat(GV.getName())); in processGlobalForThinLTO()
H A DCloneModule.cpp28 Comdat *DC = Dst->getParent()->getOrInsertComdat(SC->getName()); in copyComdat()
H A DSymbolRewriter.cpp99 Comdat *C = M.getOrInsertComdat(Target); in rewriteComdat()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DThinLTOBitcodeWriter.cpp73 RenamedComdats.try_emplace(C, ExportM.getOrInsertComdat(NewName)); in promoteInternals()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DModule.h510 Comdat *getOrInsertComdat(StringRef Name);

12