| /openbsd-src/gnu/llvm/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 | 237 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat() 238 const Comdat *getComdat() const; 239 Comdat *getComdat() { in getComdat() function 241 static_cast<const GlobalValue *>(this)->getComdat()); in getComdat()
|
| /openbsd-src/gnu/llvm/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() 502 if (const Comdat *SC = GV.getComdat()) in run() 507 if (const Comdat *SC = SF.getComdat()) in run() 512 if (const Comdat *SC = GA.getComdat()) in run() 547 NewVar->setComdat(Var->getComdat()); in run() 558 const Comdat *SC = GV->getComdat(); in run()
|
| /openbsd-src/gnu/llvm/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 | FunctionImport.cpp | 1133 if (GO->getComdat()->getName() == GO->getName()) in thinLTOFinalizeInModule() 1134 NonPrevailingComdats.insert(GO->getComdat()); in thinLTOFinalizeInModule() 1153 if (auto *C = GO.getComdat(); C && NonPrevailingComdats.count(C)) { in thinLTOFinalizeInModule()
|
| H A D | DeadArgumentElimination.cpp | 168 NF->setComdat(F.getComdat()); in deleteDeadVarargs() 860 NF->setComdat(F->getComdat()); in removeDeadStuffFromFunction()
|
| H A D | GlobalOpt.cpp | 1294 if (const Comdat *C = GV.getComdat()) in deleteIfDead() 2479 if (const Comdat *C = GV.getComdat()) in optimizeGlobalsInModule() 2483 if (const Comdat *C = F.getComdat()) in optimizeGlobalsInModule() 2487 if (const Comdat *C = GA.getComdat()) in optimizeGlobalsInModule()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | LowerEmuTLS.cpp | 49 to->getComdat()->setSelectionKind(from->getComdat()->getSelectionKind()); in copyLinkageVisibility()
|
| H A D | TargetLoweringObjectFileImpl.cpp | 575 const Comdat *C = GV->getComdat(); in getELFComdat() 961 const Comdat *C = F.getComdat(); in getSectionForJumpTable() 1068 GroupName = F.getComdat()->getName().str(); in getSectionForMachineBasicBlock() 1272 const Comdat *C = GV->getComdat(); in checkMachOComdat() 1609 const Comdat *C = GV->getComdat(); in getComdatGVForCOFF() 1618 if (ComdatGV->getComdat() != C) in getComdatGVForCOFF() 1626 if (const Comdat *C = GV->getComdat()) { in getSelectionForCOFF() 1776 const Comdat *C = F.getComdat(); in getSectionForJumpTable() 2090 const Comdat *C = GV->getComdat(); in getWasmComdat() 2472 assert (!F.getComdat() && "Comdat not supported on XCOFF."); in getSectionForJumpTable()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Globals.cpp | 118 !isa<GlobalIFunc>(this) && !isDeduplicateComdat(getComdat()); in canBenefitFromLocalAlias() 175 const Comdat *GlobalValue::getComdat() const { in getComdat() function in GlobalValue 179 return const_cast<GlobalObject *>(GO)->getComdat(); in getComdat() 185 return cast<GlobalObject>(this)->getComdat(); in getComdat()
|
| H A D | Comdat.cpp | 40 return wrap(G->getComdat()); in LLVMGetComdat()
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/ |
| H A D | Layer.cpp | 80 if (G.getComdat() && in IRMaterializationUnit() 81 G.getComdat()->getSelectionKind() != Comdat::NoDeduplicate) in IRMaterializationUnit()
|
| /openbsd-src/gnu/llvm/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 | 274 if (Comdat *C = F->getComdat()) in filterDeadComdatFunctions() 291 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | Instrumentation.cpp | 77 if (auto Comdat = F.getComdat()) return Comdat; in getOrCreateFunctionComdat()
|
| H A D | PGOInstrumentation.cpp | 681 Comdat *C = F.getComdat(); in canRenameComdat() 716 Comdat *OrigComdat = F.getComdat(); in renameComdatFunction() 1845 if (Comdat *C = F.getComdat()) in collectComdatMembers() 1848 if (Comdat *C = GV.getComdat()) in collectComdatMembers() 1851 if (Comdat *C = GA.getComdat()) in collectComdatMembers()
|
| /openbsd-src/gnu/llvm/lld/wasm/ |
| H A D | InputChunks.h | 75 uint32_t getComdat() const { return comdat; } in getComdat() function 235 comdat = ms->getComdat(); in addMergeChunk()
|
| H A D | InputChunks.cpp | 59 uint32_t index = getComdat(); in getComdatName()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPURewriteOutArguments.cpp | 320 NewFunc->setComdat(F.getComdat()); in runOnFunction()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGDeclCXX.cpp | 503 if (llvm::Comdat *C = GV->getComdat()) in EmitPointerToInitFunc() 611 llvm::Comdat *C = Addr->getComdat(); in EmitCXXGlobalVarDeclInitFunc()
|