/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | GlobalObject.h | 128 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 D | GlobalValue.h | 241 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 D | LinkModules.cpp | 386 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 D | GlobalDCE.cpp | 111 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 D | ThinLTOBitcodeWriter.cpp | 71 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 D | Internalize.cpp | 136 if (Comdat *C = GV.getComdat()) { in maybeInternalize() 175 Comdat *C = GV.getComdat(); in checkComdat()
|
H A D | DeadArgumentElimination.cpp | 174 NF->setComdat(F.getComdat()); in deleteDeadVarargs() 873 NF->setComdat(F->getComdat()); in removeDeadStuffFromFunction()
|
H A D | ExpandVariadics.cpp | 479 ExternallyAccessible->setComdat(OriginalFunction->getComdat()); in runOnFunction() 549 NF->setComdat(F.getComdat()); in deriveFixedArityReplacement()
|
H A D | GlobalOpt.cpp | 1324 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 D | FunctionImport.cpp | 1581 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 D | LowerEmuTLS.cpp | 55 to->getComdat()->setSelectionKind(from->getComdat()->getSelectionKind()); in copyLinkageVisibility()
|
H A D | TargetLoweringObjectFileImpl.cpp | 567 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 D | Globals.cpp | 121 !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 D | Comdat.cpp | 40 return wrap(G->getComdat()); in LLVMGetComdat()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | FunctionImportUtils.cpp | 295 if (const auto *C = GV.getComdat()) in processGlobalForThinLTO() 343 if (auto *C = GO.getComdat()) { in processGlobalsForThinLTO()
|
H A D | SplitModule.cpp | 136 if (const Comdat *C = GV.getComdat()) { in findPartitions() 240 if (const Comdat *C = GV->getComdat()) in isInPartition()
|
H A D | ModuleUtils.cpp | 281 if (Comdat *C = F->getComdat()) in filterDeadComdatFunctions() 298 Comdat *C = F->getComdat(); in filterDeadComdatFunctions()
|
H A D | CloneModule.cpp | 25 const Comdat *SC = Src->getComdat(); in copyComdat()
|
H A D | SymbolRewriter.cpp | 96 if (Comdat *CD = GO->getComdat()) { in rewriteComdat()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | Layer.cpp | 80 if (G.getComdat() && in IRMaterializationUnit() 81 G.getComdat()->getSelectionKind() != Comdat::NoDeduplicate) in IRMaterializationUnit()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | Instrumentation.cpp | 74 if (auto Comdat = F.getComdat()) return Comdat; in getOrCreateFunctionComdat()
|
H A D | PGOInstrumentation.cpp | 707 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 D | AArch64GlobalsTagging.cpp | 107 NewGV->setComdat(G->getComdat());
|
H A D | AArch64Arm64ECCallLowering.cpp | 923 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 D | AMDGPURewriteOutArguments.cpp | 320 NewFunc->setComdat(F.getComdat()); in runOnFunction()
|