Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp403 F->setComdat(M->getOrInsertComdat(ExitThunkName)); in buildExitThunk()
515 Thunk->setComdat(M->getOrInsertComdat(EntryThunkName)); in buildEntryThunk()
621 GuestExit->setComdat(M->getOrInsertComdat(ThunkName)); in buildGuestExitThunk()
690 GuestExit->setComdat(M->getOrInsertComdat(ThunkName)); in buildPatchableThunk()
876 F.setComdat(Mod.getOrInsertComdat(F.getName())); in runOnModule()
934 Comdat *MangledComdat = M->getOrInsertComdat(MangledName.value()); in processFunction()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DComdat.cpp35 return wrap(unwrap(M)->getOrInsertComdat(Name)); in LLVMGetOrInsertComdat()
H A DModule.cpp609 Comdat *Module::getOrInsertComdat(StringRef Name) { in getOrInsertComdat() function in Module
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInstrumentation.cpp105 Comdat *C = M->getOrInsertComdat(F.getName()); in getOrCreateFunctionComdat()
H A DCloneModule.cpp29 Comdat *DC = Dst->getParent()->getOrInsertComdat(SC->getName()); in copyComdat()
H A DFunctionImportUtils.cpp315 RenamedComdats.try_emplace(C, M.getOrInsertComdat(GV.getName())); in processGlobalForThinLTO()
H A DSymbolRewriter.cpp99 Comdat *C = M.getOrInsertComdat(Target); in rewriteComdat()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemProfInstrumentation.cpp489 ProfileNameVar->setComdat(M.getOrInsertComdat(MemProfFilenameVar)); in createProfileFileNameVar()
504 MemprofHistogramFlag->setComdat(M.getOrInsertComdat(VarName)); in createMemprofHistogramFlagVar()
519 OptionsVar->setComdat(M.getOrInsertComdat(OptionsVar->getName())); in createMemprofDefaultOptionsVar()
H A DSanitizerBinaryMetadata.cpp239 Ctor->setComdat(Mod.getOrInsertComdat(Ctor->getName())); in run()
240 Dtor->setComdat(Mod.getOrInsertComdat(Dtor->getName())); in run()
H A DInstrProfiling.cpp1113 Bias->setComdat(M.getOrInsertComdat(VarName)); in getOrCreateBiasVar()
1461 Comdat *C = M.getOrInsertComdat(GroupName); in maybeSetComdat()
2080 User->setComdat(M.getOrInsertComdat(User->getName())); in emitRuntimeHook()
2163 SamplingVar->setComdat(M.getOrInsertComdat(VarName)); in createProfileSamplingVar()
H A DTypeSanitizer.cpp354 Comdat *TDComdat = M.getOrInsertComdat(EncodedName); in generateBaseTypeDescriptor()
439 Comdat *TDComdat = M.getOrInsertComdat(EncodedName); in generateTypeDescriptor()
H A DHWAddressSanitizer.cpp535 Comdat *CtorComdat = M.getOrInsertComdat(kHwasanModuleCtorName); in createHwasanCtorComdat()
571 Comdat *NoteComdat = M.getOrInsertComdat(kHwasanModuleCtorName); in createHwasanCtorComdat()
1858 ThunkFn->setComdat(M.getOrInsertComdat(ThunkName)); in instrumentPersonalityFunctions()
H A DPGOInstrumentation.cpp481 IRLevelVersionVariable->setComdat(M.getOrInsertComdat(VarName)); in createIRLevelProfileFlagVar()
798 NewComdat = M->getOrInsertComdat(StringRef(NewFuncName)); in renameComdatFunction()
808 NewComdat = M->getOrInsertComdat(StringRef(NewComdatName)); in renameComdatFunction()
H A DAddressSanitizer.cpp2307 C = M.getOrInsertComdat(Name); in SetComdatForGlobalMetadata()
2309 C = M.getOrInsertComdat(G->getName()); in SetComdatForGlobalMetadata()
2829 AsanCtorFunction->setComdat(M.getOrInsertComdat(kAsanModuleCtorName)); in instrumentModule()
2833 AsanDtorFunction->setComdat(M.getOrInsertComdat(kAsanModuleDtorName)); in instrumentModule()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DIndirectThunks.h134 F->setComdat(M.getOrInsertComdat(Name)); in createThunkFunction()
/freebsd/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/contrib/llvm-project/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp1907 C = CGM.getModule().getOrInsertComdat(VFTableName.str()); in getAddrOfVTable()
2085 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName())); in EmitVirtualMemPtrThunk()
2615 F->setComdat(CGM.getModule().getOrInsertComdat(F->getName())); in EmitGuardedInit()
2683 CGM.getModule().getOrInsertComdat(GuardVar->getName())); in EmitGuardedInit()
3777 CHD->setComdat(CGM.getModule().getOrInsertComdat(CHD->getName())); in getClassHierarchyDescriptor()
3814 BCA->setComdat(CGM.getModule().getOrInsertComdat(BCA->getName())); in getBaseClassArray()
3856 BCD->setComdat(CGM.getModule().getOrInsertComdat(BCD->getName())); in getBaseClassDescriptor()
3917 COL->setComdat(CGM.getModule().getOrInsertComdat(COL->getName())); in getCompleteObjectLocator()
4020 Var->setComdat(CGM.getModule().getOrInsertComdat(Var->getName())); in getAddrOfRTTIDescriptor()
4058 Fn->setComdat(CGM.getModule().getOrInsertComdat(Fn->getName())); in emitCXXStructor()
[all …]
H A DCGVTT.cpp110 VTT->setComdat(CGM.getModule().getOrInsertComdat(VTT->getName())); in EmitVTTDefinition()
H A DCGObjCGNU.cpp217 GV->setComdat(TheModule.getOrInsertComdat(name)); in ExportUniqueString()
1124 ObjCStrGV->setComdat(TheModule.getOrInsertComdat(StringName)); in GenerateConstantString()
1345 GV->setComdat(TheModule.getOrInsertComdat(RefName)); in GenerateProtocolRef()
1436 GV->setComdat(TheModule.getOrInsertComdat(SymName)); in GenerateProtocolRef()
1474 GV->setComdat(TheModule.getOrInsertComdat(TypesVarName)); in GetTypeString()
1494 GV->setComdat(TheModule.getOrInsertComdat(SelVarName)); in GetConstantSelector()
1523 Sym->setComdat(TheModule.getOrInsertComdat((Prefix + in GetSectionBounds()
1551 LoadFunction->setComdat(TheModule.getOrInsertComdat(".objcv2_load_function")); in ModuleInitFunction()
1569 InitStruct->setComdat(TheModule.getOrInsertComdat(".objc_init")); in ModuleInitFunction()
1599 InitVar->setComdat(TheModule.getOrInsertComdat(".objc_ctor")); in ModuleInitFunction()
[all …]
H A DCGVTables.cpp57 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName())); in setThunkProperties()
691 proxy->setComdat(module.getOrInsertComdat(rttiProxyName)); in addRelativeComponent()
H A DItaniumCXXABI.cpp2032 VTable->setComdat(CGM.getModule().getOrInsertComdat(VTable->getName())); in emitVTableDefinitions()
2709 guard->setComdat(CGM.getModule().getOrInsertComdat(guard->getName())); in EmitGuardedInit()
3106 Wrapper->setComdat(CGM.getModule().getOrInsertComdat(Wrapper->getName())); in getOrCreateThreadLocalWrapper()
4277 GV->setComdat(M.getOrInsertComdat(GV->getName())); in BuildTypeInfo()
4778 llvm::Comdat *C = CGM.getModule().getOrInsertComdat(Out.str()); in emitCXXStructor()
5106 fn->setComdat(CGM.getModule().getOrInsertComdat(fn->getName())); in getClangCallTerminateFn()
H A DCodeGenModule.cpp3861 GV->setComdat(TheModule.getOrInsertComdat(GV->getName())); in GetAddrOfMSGuidDecl()
3929 GV->setComdat(TheModule.getOrInsertComdat(GV->getName())); in GetAddrOfTemplateParamObject()
4543 getModule().getOrInsertComdat(ResolverFunc->getName())); in emitMultiVersionFunctions()
4606 getModule().getOrInsertComdat(ResolverFunc->getName())); in emitCPUDispatchDefinition()
5440 GV->setComdat(TheModule.getOrInsertComdat(GV->getName())); in CreateOrReplaceCXXRuntimeVariable()
5682 GO.setComdat(TheModule.getOrInsertComdat(GO.getName())); in maybeSetTrivialComdat()
6805 GV->setComdat(M.getOrInsertComdat(GV->getName())); in GenerateStringLiteral()
7020 GV->setComdat(TheModule.getOrInsertComdat(GV->getName())); in GetAddrOfGlobalTemporary()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DThinLTOBitcodeWriter.cpp73 RenamedComdats.try_emplace(C, ExportM.getOrInsertComdat(NewName)); in promoteInternals()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModule.h504 Comdat *getOrInsertComdat(StringRef Name);

12