Home
last modified time | relevance | path

Searched refs:hasComdat (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/
H A DIPDBSectionContrib.h35 virtual bool hasComdat() const = 0;
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/DIA/
H A DDIASectionContrib.h36 bool hasComdat() const override;
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DGlobalObject.h121 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat() function
H A DGlobalValue.h227 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat() function
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/DIA/
H A DDIASectionContrib.cpp87 bool DIASectionContrib::hasComdat() const { in hasComdat() function in DIASectionContrib
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp47 if (from->hasComdat()) { in copyLinkageVisibility()
H A DTargetLoweringObjectFileImpl.cpp901 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 DAlwaysInliner.cpp114 InlinedFunctions, [&](Function *F) { return F->hasComdat(); }); in run()
H A DInliner.cpp667 if (F->hasComdat()) { in removeDeadFunctions()
986 if (Callee.hasLocalLinkage() || !Callee.hasComdat()) { in run()
H A DFunctionImport.cpp1131 if (GO && GO->isDeclarationForLinker() && GO->hasComdat()) in thinLTOFinalizeInModule()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCallGraphUpdater.cpp112 if (DeadFn.hasComdat()) in removeFunction()
H A DFunctionImportUtils.cpp301 if (GO && GO->isDeclarationForLinker() && GO->hasComdat()) { in processGlobalForThinLTO()
H A DModuleUtils.cpp212 !GV.hasExternalLinkage() || GV.hasComdat()) in getUniqueModuleId()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp626 } 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 DInstrProf.cpp1108 if (F.hasComdat()) in needsComdatForCounter()
1170 if (!F.hasComdat()) { in canRenameComdatFunc()
/llvm-project-15.0.7/llvm/lib/LTO/
H A DLTOModule.cpp455 if (def->hasComdat()) in addDefinedSymbol()
H A DLTO.cpp794 if (GV->hasComdat()) in addRegularLTO()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp683 if (!F.hasComdat()) { in renameComdatFunction()
1244 (F.hasComdat() || F.getLinkage() == GlobalValue::WeakAnyLinkage || in readCounters()
H A DSanitizerCoverage.cpp706 if (Array->hasComdat()) in CreateFunctionLocalArrayInSection()
H A DInstrProfiling.cpp806 if (F->hasLocalLinkage() && F->hasComdat()) in shouldRecordFunctionAddr()
H A DAddressSanitizer.cpp1752 if (!G->hasExactDefinition() || G->hasComdat()) in shouldInstrumentGlobal()
1965 assert(G->hasComdat()); in SetComdatForGlobalMetadata()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp633 !V.hasComdat() && !V.hasAppendingLinkage() && !V.isInterposable() && in computeVariableSummary()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp1300 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 DCGVTables.cpp972 if (!VTable->hasComdat()) { in GenerateRelativeVTableAlias()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1379 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()

12