| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | GlobalObject.h | 128 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 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-14.2/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-14.2/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() 875 NF->setComdat(F->getComdat()); in removeDeadStuffFromFunction()
|
| H A D | FunctionImport.cpp | 1482 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 D | GlobalOpt.cpp | 1312 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 D | Globals.cpp | 116 !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 D | Comdat.cpp | 40 return wrap(G->getComdat()); in LLVMGetComdat()
|
| /freebsd-14.2/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 | 566 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 D | Layer.cpp | 80 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 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 | 123 if (const Comdat *C = GV.getComdat()) { in findPartitions() 236 if (const Comdat *C = GV->getComdat()) in isInPartition()
|
| H A D | ModuleUtils.cpp | 278 if (Comdat *C = F->getComdat()) in filterDeadComdatFunctions() 295 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-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64GlobalsTagging.cpp | 107 NewGV->setComdat(G->getComdat()); in tagGlobalDefinition()
|
| H A D | AArch64Arm64ECCallLowering.cpp | 746 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 D | Instrumentation.cpp | 74 if (auto Comdat = F.getComdat()) return Comdat; in getOrCreateFunctionComdat()
|
| H A D | PGOInstrumentation.cpp | 683 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 D | AMDGPURewriteOutArguments.cpp | 320 NewFunc->setComdat(F.getComdat()); in runOnFunction()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGDeclCXX.cpp | 512 if (llvm::Comdat *C = GV->getComdat()) in EmitPointerToInitFunc() 616 llvm::Comdat *C = Addr->getComdat(); in EmitCXXGlobalVarDeclInitFunc()
|