Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DReturnProtectorPass.cpp45 cookie->setComdat(M->getOrInsertComdat(cookiename)); in runOnFunction()
H A DLowerEmuTLS.cpp48 to->setComdat(M.getOrInsertComdat(to->getName())); in copyLinkageVisibility()
H A DJMCInstrumenter.cpp206 Comdat *C = M.getOrInsertComdat(DefaultCheckFunctionName); in runOnModule()
/openbsd-src/gnu/llvm/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
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DInstrumentation.cpp84 Comdat *C = M->getOrInsertComdat(F.getName()); in getOrCreateFunctionComdat()
H A DSanitizerBinaryMetadata.cpp225 Ctor->setComdat(Mod.getOrInsertComdat(Ctor->getName())); in run()
226 Dtor->setComdat(Mod.getOrInsertComdat(Dtor->getName())); in run()
H A DInstrProfiling.cpp697 Bias->setComdat(M->getOrInsertComdat(Bias->getName())); in getCounterAddress()
920 Comdat *C = M->getOrInsertComdat(GroupName); in getOrCreateRegionCounters()
1229 User->setComdat(M->getOrInsertComdat(User->getName())); in emitRuntimeHook()
H A DHWAddressSanitizer.cpp458 Comdat *CtorComdat = M.getOrInsertComdat(kHwasanModuleCtorName); in createHwasanCtorComdat()
494 Comdat *NoteComdat = M.getOrInsertComdat(kHwasanModuleCtorName); in createHwasanCtorComdat()
1659 ThunkFn->setComdat(M.getOrInsertComdat(ThunkName)); in instrumentPersonalityFunctions()
H A DMemProfiler.cpp467 ProfileNameVar->setComdat(M.getOrInsertComdat(MemProfFilenameVar)); in createProfileFileNameVar()
H A DPGOInstrumentation.cpp393 IRLevelVersionVariable->setComdat(M.getOrInsertComdat(VarName)); in createIRLevelProfileFlagVar()
709 NewComdat = M->getOrInsertComdat(StringRef(NewFuncName)); in renameComdatFunction()
719 NewComdat = M->getOrInsertComdat(StringRef(NewComdatName)); in renameComdatFunction()
H A DAddressSanitizer.cpp1979 C = M.getOrInsertComdat(Name); in SetComdatForGlobalMetadata()
1981 C = M.getOrInsertComdat(G->getName()); in SetComdatForGlobalMetadata()
2497 AsanCtorFunction->setComdat(M.getOrInsertComdat(kAsanModuleCtorName)); in instrumentModule()
2501 AsanDtorFunction->setComdat(M.getOrInsertComdat(kAsanModuleDtorName)); in instrumentModule()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DIndirectThunks.h62 F->setComdat(M.getOrInsertComdat(Name)); in createThunkFunction()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGVTT.cpp98 VTT->setComdat(CGM.getModule().getOrInsertComdat(VTT->getName())); in EmitVTTDefinition()
H A DMicrosoftCXXABI.cpp1886 C = CGM.getModule().getOrInsertComdat(VFTableName.str()); in getAddrOfVTable()
2066 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName())); in EmitVirtualMemPtrThunk()
2601 F->setComdat(CGM.getModule().getOrInsertComdat(F->getName())); in EmitGuardedInit()
2669 CGM.getModule().getOrInsertComdat(GuardVar->getName())); in EmitGuardedInit()
3782 CHD->setComdat(CGM.getModule().getOrInsertComdat(CHD->getName())); in getClassHierarchyDescriptor()
3820 BCA->setComdat(CGM.getModule().getOrInsertComdat(BCA->getName())); in getBaseClassArray()
3862 BCD->setComdat(CGM.getModule().getOrInsertComdat(BCD->getName())); in getBaseClassDescriptor()
3923 COL->setComdat(CGM.getModule().getOrInsertComdat(COL->getName())); in getCompleteObjectLocator()
4025 Var->setComdat(CGM.getModule().getOrInsertComdat(Var->getName())); in getAddrOfRTTIDescriptor()
4063 Fn->setComdat(CGM.getModule().getOrInsertComdat(Fn->getName())); in emitCXXStructor()
[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.cpp1728 VTable->setComdat(CGM.getModule().getOrInsertComdat(VTable->getName())); in emitVTableDefinitions()
2412 guard->setComdat(CGM.getModule().getOrInsertComdat(guard->getName())); in EmitGuardedInit()
2803 Wrapper->setComdat(CGM.getModule().getOrInsertComdat(Wrapper->getName())); in getOrCreateThreadLocalWrapper()
3880 GV->setComdat(M.getOrInsertComdat(GV->getName())); in BuildTypeInfo()
4382 llvm::Comdat *C = CGM.getModule().getOrInsertComdat(Out.str()); in emitCXXStructor()
4704 fn->setComdat(CGM.getModule().getOrInsertComdat(fn->getName())); in getClangCallTerminateFn()
H A DCodeGenModule.cpp3164 GV->setComdat(TheModule.getOrInsertComdat(GV->getName())); in GetAddrOfMSGuidDecl()
3230 GV->setComdat(TheModule.getOrInsertComdat(GV->getName())); in GetAddrOfTemplateParamObject()
3790 getModule().getOrInsertComdat(ResolverFunc->getName())); in emitMultiVersionFunctions()
3845 getModule().getOrInsertComdat(ResolverFunc->getName())); in emitCPUDispatchDefinition()
4603 GV->setComdat(TheModule.getOrInsertComdat(GV->getName())); in CreateOrReplaceCXXRuntimeVariable()
4814 GO.setComdat(TheModule.getOrInsertComdat(GO.getName())); in maybeSetTrivialComdat()
5893 GV->setComdat(M.getOrInsertComdat(GV->getName())); in GenerateStringLiteral()
6107 GV->setComdat(TheModule.getOrInsertComdat(GV->getName())); in GetAddrOfGlobalTemporary()
H A DCGBlocks.cpp264 global->setComdat(CGM.getModule().getOrInsertComdat(descName)); in buildBlockDescriptor()
1925 Fn->setComdat(CGM.getModule().getOrInsertComdat(FuncName)); in GenerateCopyHelperFunction()
2114 Fn->setComdat(CGM.getModule().getOrInsertComdat(FuncName)); in GenerateDestroyHelperFunction()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DCloneModule.cpp28 Comdat *DC = Dst->getParent()->getOrInsertComdat(SC->getName()); in copyComdat()
H A DFunctionImportUtils.cpp297 RenamedComdats.try_emplace(C, M.getOrInsertComdat(GV.getName())); in processGlobalForThinLTO()
H A DSymbolRewriter.cpp101 Comdat *C = M.getOrInsertComdat(Target); in rewriteComdat()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DThinLTOBitcodeWriter.cpp75 RenamedComdats.try_emplace(C, ExportM.getOrInsertComdat(NewName)); in promoteInternals()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DModule.h489 Comdat *getOrInsertComdat(StringRef Name);

12