| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/ |
| H A D | IPDBSectionContrib.h | 35 virtual bool hasComdat() const = 0;
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/DIA/ |
| H A D | DIASectionContrib.h | 36 bool hasComdat() const override;
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | GlobalObject.h | 121 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat() function
|
| H A D | GlobalValue.h | 227 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat() function
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/DIA/ |
| H A D | DIASectionContrib.cpp | 87 bool DIASectionContrib::hasComdat() const { in hasComdat() function in DIASectionContrib
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | LowerEmuTLS.cpp | 47 if (from->hasComdat()) { in copyLinkageVisibility()
|
| H A D | TargetLoweringObjectFileImpl.cpp | 901 EmitUniqueSection |= GO->hasComdat(); in SelectSectionForGlobal() 942 if (!LSDASection || (!F.hasComdat() && !TM.getFunctionSections())) in getSectionForLSDA() 1032 if (F.hasComdat()) { in getSectionForMachineBasicBlock() 1038 F.hasComdat(), UniqueID, nullptr); in getSectionForMachineBasicBlock() 1622 if (GO->hasComdat()) { in getExplicitSectionGlobal() 1665 if ((EmitUniquedSection && !Kind.isCommon()) || GO->hasComdat()) { in SelectSectionForGlobal() 1675 if (GO->hasComdat()) in SelectSectionForGlobal() 2143 EmitUniqueSection |= GO->hasComdat(); in SelectSectionForGlobal()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | AlwaysInliner.cpp | 114 InlinedFunctions, [&](Function *F) { return F->hasComdat(); }); in run()
|
| H A D | Inliner.cpp | 667 if (F->hasComdat()) { in removeDeadFunctions() 986 if (Callee.hasLocalLinkage() || !Callee.hasComdat()) { in run()
|
| H A D | FunctionImport.cpp | 1131 if (GO && GO->isDeclarationForLinker() && GO->hasComdat()) in thinLTOFinalizeInModule()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | CallGraphUpdater.cpp | 112 if (DeadFn.hasComdat()) in removeFunction()
|
| H A D | FunctionImportUtils.cpp | 301 if (GO && GO->isDeclarationForLinker() && GO->hasComdat()) { in processGlobalForThinLTO()
|
| H A D | ModuleUtils.cpp | 212 !GV.hasExternalLinkage() || GV.hasComdat()) in getUniqueModuleId()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 626 } else if (MAI->avoidWeakIfComdat() && GV->hasComdat()) { in emitLinkage() 3764 if (F.hasComdat()) { in emitXRayTable() 3769 Flags, 0, GroupName, F.hasComdat(), in emitXRayTable() 3775 GroupName, F.hasComdat(), MCSection::NonUniqueID, LinkedToSym); in emitXRayTable() 3863 if (F.hasComdat()) { in emitPatchableFunctionEntries() 3871 F.hasComdat(), MCSection::NonUniqueID, LinkedToSym)); in emitPatchableFunctionEntries()
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/ |
| H A D | InstrProf.cpp | 1108 if (F.hasComdat()) in needsComdatForCounter() 1170 if (!F.hasComdat()) { in canRenameComdatFunc()
|
| /llvm-project-15.0.7/llvm/lib/LTO/ |
| H A D | LTOModule.cpp | 455 if (def->hasComdat()) in addDefinedSymbol()
|
| H A D | LTO.cpp | 794 if (GV->hasComdat()) in addRegularLTO()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | PGOInstrumentation.cpp | 683 if (!F.hasComdat()) { in renameComdatFunction() 1244 (F.hasComdat() || F.getLinkage() == GlobalValue::WeakAnyLinkage || in readCounters()
|
| H A D | SanitizerCoverage.cpp | 706 if (Array->hasComdat()) in CreateFunctionLocalArrayInSection()
|
| H A D | InstrProfiling.cpp | 806 if (F->hasLocalLinkage() && F->hasComdat()) in shouldRecordFunctionAddr()
|
| H A D | AddressSanitizer.cpp | 1752 if (!G->hasExactDefinition() || G->hasComdat()) in shouldInstrumentGlobal() 1965 assert(G->hasComdat()); in SetComdatForGlobalMetadata()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ModuleSummaryAnalysis.cpp | 633 !V.hasComdat() && !V.hasAppendingLinkage() && !V.isInterposable() && in computeVariableSummary()
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILBitcodeWriter.cpp | 1300 GV.hasComdat()) { in writeModuleInfo() 1306 Vals.push_back(GV.hasComdat() ? VE.getComdatID(GV.getComdat()) : 0); in writeModuleInfo() 1334 Vals.push_back(F.hasComdat() ? VE.getComdatID(F.getComdat()) : 0); in writeModuleInfo()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGVTables.cpp | 972 if (!VTable->hasComdat()) { in GenerateRelativeVTableAlias()
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 1379 GV.hasComdat() || GV.hasAttributes() || GV.isDSOLocal() || in writeModuleInfo() 1386 Vals.push_back(GV.hasComdat() ? VE.getComdatID(GV.getComdat()) : 0); in writeModuleInfo() 1428 Vals.push_back(F.hasComdat() ? VE.getComdatID(F.getComdat()) : 0); in writeModuleInfo()
|