Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DGlobalObject.h121 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 DGlobalValue.h237 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 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()
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 DGlobalDCE.cpp154 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 DThinLTOBitcodeWriter.cpp73 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 DInternalize.cpp137 if (Comdat *C = GV.getComdat()) { in maybeInternalize()
176 Comdat *C = GV.getComdat(); in checkComdat()
H A DFunctionImport.cpp1133 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 DDeadArgumentElimination.cpp168 NF->setComdat(F.getComdat()); in deleteDeadVarargs()
860 NF->setComdat(F->getComdat()); in removeDeadStuffFromFunction()
H A DGlobalOpt.cpp1294 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 DLowerEmuTLS.cpp49 to->getComdat()->setSelectionKind(from->getComdat()->getSelectionKind()); in copyLinkageVisibility()
H A DTargetLoweringObjectFileImpl.cpp575 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 DGlobals.cpp118 !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 DComdat.cpp40 return wrap(G->getComdat()); in LLVMGetComdat()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DLayer.cpp80 if (G.getComdat() && in IRMaterializationUnit()
81 G.getComdat()->getSelectionKind() != Comdat::NoDeduplicate) in IRMaterializationUnit()
/openbsd-src/gnu/llvm/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.cpp274 if (Comdat *C = F->getComdat()) in filterDeadComdatFunctions()
291 Comdat *C = F->getComdat(); in filterDeadComdatFunctions()
H A DCloneModule.cpp25 const Comdat *SC = Src->getComdat(); in copyComdat()
H A DSymbolRewriter.cpp98 if (Comdat *CD = GO->getComdat()) { in rewriteComdat()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DInstrumentation.cpp77 if (auto Comdat = F.getComdat()) return Comdat; in getOrCreateFunctionComdat()
H A DPGOInstrumentation.cpp681 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 DInputChunks.h75 uint32_t getComdat() const { return comdat; } in getComdat() function
235 comdat = ms->getComdat(); in addMergeChunk()
H A DInputChunks.cpp59 uint32_t index = getComdat(); in getComdatName()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp320 NewFunc->setComdat(F.getComdat()); in runOnFunction()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGDeclCXX.cpp503 if (llvm::Comdat *C = GV->getComdat()) in EmitPointerToInitFunc()
611 llvm::Comdat *C = Addr->getComdat(); in EmitCXXGlobalVarDeclInitFunc()

12