| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | GlobalObject.h | 121 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat() 122 const Comdat *getComdat() const { return ObjComdat; } in getComdat() function 123 Comdat *getComdat() { return ObjComdat; } in getComdat() function
|
| H A D | GlobalValue.h | 227 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat() 228 const Comdat *getComdat() const; 229 Comdat *getComdat() { in getComdat() function 231 static_cast<const GlobalValue *>(this)->getComdat()); in getComdat()
|
| /llvm-project-15.0.7/llvm/lib/Linker/ |
| H A D | LinkModules.cpp | 382 if (const Comdat *SC = GV.getComdat()) { in linkIfNeeded() 408 const Comdat *SC = GV.getComdat(); in addLazyFor() 426 Comdat *C = GV.getComdat(); in dropReplacedComdat() 498 if (const Comdat *SC = GV.getComdat()) in run() 503 if (const Comdat *SC = SF.getComdat()) in run() 508 if (const Comdat *SC = GA.getComdat()) in run() 543 NewVar->setComdat(Var->getComdat()); in run() 554 const Comdat *SC = GV->getComdat(); in run()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | GlobalDCE.cpp | 154 if (Comdat *C = GV.getComdat()) { in MarkLive() 308 if (Comdat *C = F.getComdat()) in run() 311 if (Comdat *C = GV.getComdat()) in run() 314 if (Comdat *C = GA.getComdat()) in run()
|
| H A D | ThinLTOBitcodeWriter.cpp | 73 if (const auto *C = ExportGV.getComdat()) in promoteInternals() 97 if (auto *C = GO.getComdat()) { in promoteInternals() 308 if (const auto *C = GV.getComdat()) in splitAndWriteThinLTOBitcode() 330 if (const auto *C = GV->getComdat()) in splitAndWriteThinLTOBitcode() 368 if (const auto *C = GV->getComdat()) in splitAndWriteThinLTOBitcode()
|
| H A D | Internalize.cpp | 137 if (Comdat *C = GV.getComdat()) { in maybeInternalize() 176 Comdat *C = GV.getComdat(); in checkComdat()
|
| H A D | DeadArgumentElimination.cpp | 168 NF->setComdat(F.getComdat()); in deleteDeadVarargs() 860 NF->setComdat(F->getComdat()); in removeDeadStuffFromFunction()
|
| H A D | GlobalOpt.cpp | 1290 if (const Comdat *C = GV.getComdat()) in deleteIfDead() 2472 if (const Comdat *C = GV.getComdat()) in optimizeGlobalsInModule() 2476 if (const Comdat *C = F.getComdat()) in optimizeGlobalsInModule() 2480 if (const Comdat *C = GA.getComdat()) in optimizeGlobalsInModule()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | LowerEmuTLS.cpp | 49 to->getComdat()->setSelectionKind(from->getComdat()->getSelectionKind()); in copyLinkageVisibility()
|
| H A D | TargetLoweringObjectFileImpl.cpp | 541 const Comdat *C = GV->getComdat(); in getELFComdat() 927 const Comdat *C = F.getComdat(); in getSectionForJumpTable() 1034 GroupName = F.getComdat()->getName().str(); in getSectionForMachineBasicBlock() 1238 const Comdat *C = GV->getComdat(); in checkMachOComdat() 1575 const Comdat *C = GV->getComdat(); in getComdatGVForCOFF() 1584 if (ComdatGV->getComdat() != C) in getComdatGVForCOFF() 1592 if (const Comdat *C = GV->getComdat()) { in getSelectionForCOFF() 1742 const Comdat *C = F.getComdat(); in getSectionForJumpTable() 2043 const Comdat *C = GV->getComdat(); in getWasmComdat() 2421 assert (!F.getComdat() && "Comdat not supported on XCOFF."); in getSectionForJumpTable()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Globals.cpp | 118 !isa<GlobalIFunc>(this) && !isDeduplicateComdat(getComdat()); in canBenefitFromLocalAlias() 181 const Comdat *GlobalValue::getComdat() const { in getComdat() function in GlobalValue 185 return const_cast<GlobalObject *>(GO)->getComdat(); in getComdat() 191 return cast<GlobalObject>(this)->getComdat(); in getComdat()
|
| H A D | Comdat.cpp | 40 return wrap(G->getComdat()); in LLVMGetComdat()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | FunctionImportUtils.cpp | 275 if (const auto *C = GV.getComdat()) in processGlobalForThinLTO() 323 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 | 185 if (Comdat *C = F->getComdat()) in filterDeadComdatFunctions() 202 Comdat *C = F->getComdat(); in filterDeadComdatFunctions()
|
| H A D | CloneModule.cpp | 25 const Comdat *SC = Src->getComdat(); in copyComdat()
|
| H A D | SymbolRewriter.cpp | 98 if (Comdat *CD = GO->getComdat()) { in rewriteComdat()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | Instrumentation.cpp | 77 if (auto Comdat = F.getComdat()) return Comdat; in getOrCreateFunctionComdat()
|
| H A D | PGOInstrumentation.cpp | 657 Comdat *C = F.getComdat(); in canRenameComdat() 692 Comdat *OrigComdat = F.getComdat(); in renameComdatFunction() 1550 if (Comdat *C = F.getComdat()) in collectComdatMembers() 1553 if (Comdat *C = GV.getComdat()) in collectComdatMembers() 1556 if (Comdat *C = GA.getComdat()) in collectComdatMembers()
|
| /llvm-project-15.0.7/lld/wasm/ |
| H A D | InputChunks.h | 74 uint32_t getComdat() const { return comdat; } in getComdat() function 233 comdat = ms->getComdat(); in addMergeChunk()
|
| H A D | InputChunks.cpp | 59 uint32_t index = getComdat(); in getComdatName()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPURewriteOutArguments.cpp | 320 NewFunc->setComdat(F.getComdat()); in runOnFunction()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGDeclCXX.cpp | 502 if (llvm::Comdat *C = GV->getComdat()) in EmitPointerToInitFunc() 591 llvm::Comdat *C = Addr->getComdat(); in EmitCXXGlobalVarDeclInitFunc()
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | IRSymtab.cpp | 303 if (const Comdat *C = GO->getComdat()) { in addSymbol()
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/Utils/ |
| H A D | CloningTest.cpp | 1082 auto *CD = NewGV->getComdat(); in TEST_F() 1088 EXPECT_EQ(CD, NewF->getComdat()); in TEST_F()
|