Home
last modified time | relevance | path

Searched refs:getComdat (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalObject.h128 bool hasComdat() const { return getComdat() != nullptr; } in getComdat() function
129 const Comdat *getComdat() const { return ObjComdat; } in getComdat() function
130 Comdat *getComdat() { return ObjComdat; }
H A DGlobalValue.h241 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat()
242 const Comdat *getComdat() const;
243 Comdat *getComdat() { in getComdat() function
245 static_cast<const GlobalValue *>(this)->getComdat()); in getComdat()
/freebsd/contrib/llvm-project/llvm/lib/Linker/
H A DLinkModules.cpp386 if (const Comdat *SC = GV.getComdat()) { in linkIfNeeded()
412 const Comdat *SC = GV.getComdat(); in addLazyFor()
430 Comdat *C = GV.getComdat(); in dropReplacedComdat()
507 if (GlobalObject *GO = GA.getAliaseeObject(); GO && GO->getComdat()) in run()
523 if (const Comdat *SC = GV.getComdat()) in run()
528 if (const Comdat *SC = SF.getComdat()) in run()
533 if (const Comdat *SC = GA.getComdat()) in run()
568 NewVar->setComdat(Var->getComdat()); in run()
579 const Comdat *SC = GV->getComdat(); in run()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalDCE.cpp111 if (Comdat *C = GV.getComdat()) { in MarkLive()
266 if (Comdat *C = F.getComdat()) in run()
269 if (Comdat *C = GV.getComdat()) in run()
272 if (Comdat *C = GA.getComdat()) in run()
H A DThinLTOBitcodeWriter.cpp71 if (const auto *C = ExportGV.getComdat()) in promoteInternals()
95 if (auto *C = GO.getComdat()) { in promoteInternals()
333 if (const auto *C = GV.getComdat()) in splitAndWriteThinLTOBitcode()
355 if (const auto *C = GV->getComdat()) in splitAndWriteThinLTOBitcode()
393 if (const auto *C = GV->getComdat()) in splitAndWriteThinLTOBitcode()
H A DInternalize.cpp136 if (Comdat *C = GV.getComdat()) { in maybeInternalize()
175 Comdat *C = GV.getComdat(); in checkComdat()
H A DDeadArgumentElimination.cpp174 NF->setComdat(F.getComdat()); in deleteDeadVarargs()
873 NF->setComdat(F->getComdat()); in removeDeadStuffFromFunction()
H A DExpandVariadics.cpp479 ExternallyAccessible->setComdat(OriginalFunction->getComdat()); in runOnFunction()
549 NF->setComdat(F.getComdat()); in deriveFixedArityReplacement()
H A DGlobalOpt.cpp1324 if (const Comdat *C = GV.getComdat()) in deleteIfDead()
2501 if (const Comdat *C = GV.getComdat()) in optimizeGlobalsInModule()
2505 if (const Comdat *C = F.getComdat()) in optimizeGlobalsInModule()
2509 if (const Comdat *C = GA.getComdat()) in optimizeGlobalsInModule()
H A DFunctionImport.cpp1581 if (GO->getComdat()->getName() == GO->getName()) in thinLTOFinalizeInModule()
1582 NonPrevailingComdats.insert(GO->getComdat()); in thinLTOFinalizeInModule()
1601 if (auto *C = GO.getComdat(); C && NonPrevailingComdats.count(C)) { in thinLTOFinalizeInModule()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp55 to->getComdat()->setSelectionKind(from->getComdat()->getSelectionKind()); in copyLinkageVisibility()
H A DTargetLoweringObjectFileImpl.cpp567 const Comdat *C = GV->getComdat(); in getELFComdat()
953 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
1071 GroupName = F.getComdat()->getName().str(); in getSectionForMachineBasicBlock()
1276 const Comdat *C = GV->getComdat(); in checkMachOComdat()
1627 const Comdat *C = GV->getComdat(); in getComdatGVForCOFF()
1636 if (ComdatGV->getComdat() != C) in getComdatGVForCOFF()
1644 if (const Comdat *C = GV->getComdat()) { in getSelectionForCOFF()
1803 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
2122 const Comdat *C = GV->getComdat(); in getWasmComdat()
2527 assert (!F.getComdat() && "Comdat not supported on XCOFF."); in getSectionForJumpTable()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp121 !isa<GlobalIFunc>(this) && !isDeduplicateComdat(getComdat()); in canBenefitFromLocalAlias()
193 const Comdat *GlobalValue::getComdat() const { in getComdat() function in GlobalValue
197 return const_cast<GlobalObject *>(GO)->getComdat(); in getComdat()
203 return cast<GlobalObject>(this)->getComdat(); in getComdat()
H A DComdat.cpp40 return wrap(G->getComdat()); in LLVMGetComdat()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp295 if (const auto *C = GV.getComdat()) in processGlobalForThinLTO()
343 if (auto *C = GO.getComdat()) { in processGlobalsForThinLTO()
H A DSplitModule.cpp136 if (const Comdat *C = GV.getComdat()) { in findPartitions()
240 if (const Comdat *C = GV->getComdat()) in isInPartition()
H A DModuleUtils.cpp281 if (Comdat *C = F->getComdat()) in filterDeadComdatFunctions()
298 Comdat *C = F->getComdat(); in filterDeadComdatFunctions()
H A DCloneModule.cpp25 const Comdat *SC = Src->getComdat(); in copyComdat()
H A DSymbolRewriter.cpp96 if (Comdat *CD = GO->getComdat()) { in rewriteComdat()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DLayer.cpp80 if (G.getComdat() && in IRMaterializationUnit()
81 G.getComdat()->getSelectionKind() != Comdat::NoDeduplicate) in IRMaterializationUnit()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrumentation.cpp74 if (auto Comdat = F.getComdat()) return Comdat; in getOrCreateFunctionComdat()
H A DPGOInstrumentation.cpp707 Comdat *C = F.getComdat(); in canRenameComdat()
742 Comdat *OrigComdat = F.getComdat(); in renameComdatFunction()
1815 if (Comdat *C = F.getComdat()) in collectComdatMembers()
1818 if (Comdat *C = GV.getComdat()) in collectComdatMembers()
1821 if (Comdat *C = GA.getComdat()) in collectComdatMembers()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64GlobalsTagging.cpp107 NewGV->setComdat(G->getComdat());
H A DAArch64Arm64ECCallLowering.cpp923 if (F.hasComdat() && F.getComdat()->getName() == F.getName()) { in processFunction()
926 to_vector(F.getComdat()->getUsers()); in processFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp320 NewFunc->setComdat(F.getComdat()); in runOnFunction()

12