Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalObject.h128 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat()
129 const Comdat *getComdat() const { return ObjComdat; } in getComdat() function
130 Comdat *getComdat() { return ObjComdat; } in getComdat() function
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-14.2/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-14.2/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()
875 NF->setComdat(F->getComdat()); in removeDeadStuffFromFunction()
H A DFunctionImport.cpp1482 if (GO->getComdat()->getName() == GO->getName()) in thinLTOFinalizeInModule()
1483 NonPrevailingComdats.insert(GO->getComdat()); in thinLTOFinalizeInModule()
1502 if (auto *C = GO.getComdat(); C && NonPrevailingComdats.count(C)) { in thinLTOFinalizeInModule()
H A DGlobalOpt.cpp1312 if (const Comdat *C = GV.getComdat()) in deleteIfDead()
2428 if (const Comdat *C = GV.getComdat()) in optimizeGlobalsInModule()
2432 if (const Comdat *C = F.getComdat()) in optimizeGlobalsInModule()
2436 if (const Comdat *C = GA.getComdat()) in optimizeGlobalsInModule()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp116 !isa<GlobalIFunc>(this) && !isDeduplicateComdat(getComdat()); in canBenefitFromLocalAlias()
184 const Comdat *GlobalValue::getComdat() const { in getComdat() function in GlobalValue
188 return const_cast<GlobalObject *>(GO)->getComdat(); in getComdat()
194 return cast<GlobalObject>(this)->getComdat(); in getComdat()
H A DComdat.cpp40 return wrap(G->getComdat()); in LLVMGetComdat()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp55 to->getComdat()->setSelectionKind(from->getComdat()->getSelectionKind()); in copyLinkageVisibility()
H A DTargetLoweringObjectFileImpl.cpp566 const Comdat *C = GV->getComdat(); in getELFComdat()
950 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
1068 GroupName = F.getComdat()->getName().str(); in getSectionForMachineBasicBlock()
1273 const Comdat *C = GV->getComdat(); in checkMachOComdat()
1629 const Comdat *C = GV->getComdat(); in getComdatGVForCOFF()
1638 if (ComdatGV->getComdat() != C) in getComdatGVForCOFF()
1646 if (const Comdat *C = GV->getComdat()) { in getSelectionForCOFF()
1805 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
2132 const Comdat *C = GV->getComdat(); in getWasmComdat()
2511 assert (!F.getComdat() && "Comdat not supported on XCOFF."); in getSectionForJumpTable()
/freebsd-14.2/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-14.2/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.cpp123 if (const Comdat *C = GV.getComdat()) { in findPartitions()
236 if (const Comdat *C = GV->getComdat()) in isInPartition()
H A DModuleUtils.cpp278 if (Comdat *C = F->getComdat()) in filterDeadComdatFunctions()
295 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-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64GlobalsTagging.cpp107 NewGV->setComdat(G->getComdat()); in tagGlobalDefinition()
H A DAArch64Arm64ECCallLowering.cpp746 if (F.hasComdat() && F.getComdat()->getName() == F.getName()) { in processFunction()
749 to_vector(F.getComdat()->getUsers()); in processFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrumentation.cpp74 if (auto Comdat = F.getComdat()) return Comdat; in getOrCreateFunctionComdat()
H A DPGOInstrumentation.cpp683 Comdat *C = F.getComdat(); in canRenameComdat()
718 Comdat *OrigComdat = F.getComdat(); in renameComdatFunction()
1732 if (Comdat *C = F.getComdat()) in collectComdatMembers()
1735 if (Comdat *C = GV.getComdat()) in collectComdatMembers()
1738 if (Comdat *C = GA.getComdat()) in collectComdatMembers()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp320 NewFunc->setComdat(F.getComdat()); in runOnFunction()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDeclCXX.cpp512 if (llvm::Comdat *C = GV->getComdat()) in EmitPointerToInitFunc()
616 llvm::Comdat *C = Addr->getComdat(); in EmitCXXGlobalVarDeclInitFunc()

12