| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Comdat.cpp | 35 return wrap(unwrap(M)->getOrInsertComdat(Name)); in LLVMGetOrInsertComdat()
|
| H A D | Module.cpp | 582 Comdat *Module::getOrInsertComdat(StringRef Name) { in getOrInsertComdat() function in Module
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | IndirectThunks.h | 57 F->setComdat(M.getOrInsertComdat(Name)); in createThunkFunction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | Instrumentation.cpp | 84 Comdat *C = M->getOrInsertComdat(F.getName()); in getOrCreateFunctionComdat()
|
| H A D | InstrProfiling.cpp | 690 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 D | HWAddressSanitizer.cpp | 451 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 D | PGOInstrumentation.cpp | 370 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 D | MemProfiler.cpp | 525 ProfileNameVar->setComdat(M.getOrInsertComdat(MemProfFilenameVar)); in createProfileFileNameVar()
|
| H A D | AddressSanitizer.cpp | 1949 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 D | SanitizerCoverage.cpp | 344 CtorFunc->setComdat(M.getOrInsertComdat(CtorName)); in CreateInitCallsForSections()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | LowerEmuTLS.cpp | 48 to->setComdat(M.getOrInsertComdat(to->getName())); in copyLinkageVisibility()
|
| H A D | JMCInstrumenter.cpp | 206 Comdat *C = M.getOrInsertComdat(DefaultCheckFunctionName); in runOnModule()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | CloneModule.cpp | 28 Comdat *DC = Dst->getParent()->getOrInsertComdat(SC->getName()); in copyComdat()
|
| H A D | FunctionImportUtils.cpp | 277 RenamedComdats.try_emplace(C, M.getOrInsertComdat(GV.getName())); in processGlobalForThinLTO()
|
| H A D | SymbolRewriter.cpp | 101 Comdat *C = M.getOrInsertComdat(Target); in rewriteComdat()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGVTT.cpp | 98 VTT->setComdat(CGM.getModule().getOrInsertComdat(VTT->getName())); in EmitVTTDefinition()
|
| H A D | MicrosoftCXXABI.cpp | 1881 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 D | CGObjCGNU.cpp | 219 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 D | CGVTables.cpp | 56 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName())); in setThunkProperties() 665 proxy->setComdat(module.getOrInsertComdat(rttiProxyName)); in addRelativeComponent()
|
| H A D | ItaniumCXXABI.cpp | 1739 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 D | CodeGenModule.cpp | 3036 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 D | CGBlocks.cpp | 264 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 D | Module.h | 489 Comdat *getOrInsertComdat(StringRef Name);
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | ThinLTOBitcodeWriter.cpp | 75 RenamedComdats.try_emplace(C, ExportM.getOrInsertComdat(NewName)); in promoteInternals()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ConstantsTest.cpp | 779 Comdat *C = M.getOrInsertComdat("comdat"); in TEST()
|