Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalObject.h130 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat()
131 const Comdat *getComdat() const { return ObjComdat; } in getComdat() function
132 Comdat *getComdat() { return ObjComdat; } in getComdat() function
H A DGlobalValue.h243 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat()
244 LLVM_ABI const Comdat *getComdat() const;
245 Comdat *getComdat() { in getComdat() function
247 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.cpp108 if (Comdat *C = GV.getComdat()) { in MarkLive()
263 if (Comdat *C = F.getComdat()) in run()
266 if (Comdat *C = GV.getComdat()) in run()
269 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()
334 if (const auto *C = GV.getComdat()) in splitAndWriteThinLTOBitcode()
362 if (const auto *C = GV->getComdat()) in splitAndWriteThinLTOBitcode()
402 if (const auto *C = GV->getComdat()) in splitAndWriteThinLTOBitcode()
H A DInternalize.cpp134 if (Comdat *C = GV.getComdat()) { in maybeInternalize()
173 Comdat *C = GV.getComdat(); in checkComdat()
H A DMergeFunctions.cpp753 NewG->setComdat(G->getComdat()); in writeThunk()
897 NewF->setComdat(F->getComdat()); in mergeTwoFunctions()
H A DDeadArgumentElimination.cpp170 NF->setComdat(F.getComdat()); in deleteDeadVarargs()
880 NF->setComdat(F->getComdat()); in removeDeadStuffFromFunction()
H A DExpandVariadics.cpp461 ExternallyAccessible->setComdat(OriginalFunction->getComdat()); in runOnFunction()
530 NF->setComdat(F.getComdat()); in deriveFixedArityReplacement()
H A DGlobalOpt.cpp1337 if (const Comdat *C = GV.getComdat()) in deleteIfDead()
2668 if (const Comdat *C = GV.getComdat()) in optimizeGlobalsInModule()
2672 if (const Comdat *C = F.getComdat()) in optimizeGlobalsInModule()
2676 if (const Comdat *C = GA.getComdat()) in optimizeGlobalsInModule()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp55 to->getComdat()->setSelectionKind(from->getComdat()->getSelectionKind()); in copyLinkageVisibility()
H A DTargetLoweringObjectFileImpl.cpp564 const Comdat *C = GV->getComdat(); in getELFComdat()
981 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
1134 GroupName = F.getComdat()->getName().str(); in getSectionForMachineBasicBlock()
1352 const Comdat *C = GV->getComdat(); in checkMachOComdat()
1687 const Comdat *C = GV->getComdat(); in getComdatGVForCOFF()
1696 if (ComdatGV->getComdat() != C) in getComdatGVForCOFF()
1704 if (const Comdat *C = GV->getComdat()) { in getSelectionForCOFF()
1863 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
2185 const Comdat *C = GV->getComdat(); in getWasmComdat()
2574 assert (!F.getComdat() && "Comdat not supported on XCOFF."); in getSectionForJumpTable()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp129 !isa<GlobalIFunc>(this) && !isDeduplicateComdat(getComdat()); in canBenefitFromLocalAlias()
201 const Comdat *GlobalValue::getComdat() const { in getComdat() function in GlobalValue
205 return const_cast<GlobalObject *>(GO)->getComdat(); in getComdat()
211 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.cpp313 if (const auto *C = GV.getComdat()) in processGlobalForThinLTO()
361 if (auto *C = GO.getComdat()) { in processGlobalsForThinLTO()
H A DSplitModule.cpp135 if (const Comdat *C = GV.getComdat()) { in findPartitions()
223 if (const Comdat *C = GV->getComdat()) in isInPartition()
H A DInstrumentation.cpp97 if (auto Comdat = F.getComdat()) in getOrCreateFunctionComdat()
H A DModuleUtils.cpp325 if (Comdat *C = F->getComdat()) in filterDeadComdatFunctions()
342 Comdat *C = F->getComdat(); in filterDeadComdatFunctions()
H A DCloneModule.cpp26 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.cpp81 if (G.getComdat() && in IRMaterializationUnit()
82 G.getComdat()->getSelectionKind() != Comdat::NoDeduplicate) in IRMaterializationUnit()
/freebsd/contrib/llvm-project/clang/include/clang/CIR/Interfaces/
H A DCIROpInterfaces.td137 return $_op.getComdat();
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp315 NewFunc->setComdat(F.getComdat()); in runOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp770 Comdat *C = F.getComdat(); in canRenameComdat()
805 Comdat *OrigComdat = F.getComdat(); in renameComdatFunction()
1902 if (Comdat *C = F.getComdat()) in collectComdatMembers()
1905 if (Comdat *C = GV.getComdat()) in collectComdatMembers()
1908 if (Comdat *C = GA.getComdat()) in collectComdatMembers()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp933 if (F.hasComdat() && F.getComdat()->getName() == F.getName()) { in processFunction()
936 to_vector(F.getComdat()->getUsers()); in processFunction()

12