Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DGlobalObject.h100 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat()
101 const Comdat *getComdat() const { return ObjComdat; } in getComdat() function
102 Comdat *getComdat() { return ObjComdat; } in getComdat() function
H A DGlobalValue.h226 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat()
227 const Comdat *getComdat() const;
228 Comdat *getComdat() { in getComdat() function
230 static_cast<const GlobalValue *>(this)->getComdat()); in getComdat()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DGlobalDCE.cpp135 if (Comdat *C = GV.getComdat()) { in MarkLive()
158 if (Comdat *C = F.getComdat()) in run()
161 if (Comdat *C = GV.getComdat()) in run()
164 if (Comdat *C = GA.getComdat()) in run()
H A DThinLTOBitcodeWriter.cpp58 if (const auto *C = ExportGV.getComdat()) in promoteInternals()
74 if (auto *C = GO.getComdat()) { in promoteInternals()
247 if (const auto *C = GV.getComdat()) in splitAndWriteThinLTOBitcode()
268 if (const auto *C = GV->getComdat()) in splitAndWriteThinLTOBitcode()
300 if (const auto *C = GV->getComdat()) in splitAndWriteThinLTOBitcode()
H A DInternalize.cpp118 if (Comdat *C = GV.getComdat()) { in maybeInternalize()
145 Comdat *C = GV.getComdat(); in checkComdatVisibility()
H A DDeadArgumentElimination.cpp169 NF->setComdat(Fn.getComdat()); in DeleteDeadVarargs()
868 NF->setComdat(F->getComdat()); in RemoveDeadStuffFromFunction()
H A DWholeProgramDevirt.cpp820 if (Comdat *C = TheFn->getComdat()) { in trySingleImplDevirt()
825 if (GO.getComdat() == C) in trySingleImplDevirt()
1324 NewGV->setComdat(B.GV->getComdat()); in rebuildGlobal()
H A DGlobalOpt.cpp1751 if (const Comdat *C = GV.getComdat()) in deleteIfDead()
2914 if (const Comdat *C = GV.getComdat()) in optimizeGlobalsInModule()
2918 if (const Comdat *C = F.getComdat()) in optimizeGlobalsInModule()
2922 if (const Comdat *C = GA.getComdat()) in optimizeGlobalsInModule()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp228 Comdat *C = F->getComdat(); in filterDeadComdatFunctions()
252 if (Comdat *C = F.getComdat()) { in filterDeadComdatFunctions()
258 if (Comdat *C = GV.getComdat()) { in filterDeadComdatFunctions()
264 if (Comdat *C = GA.getComdat()) { in filterDeadComdatFunctions()
279 return ComdatEntriesCovered.find(GV->getComdat()) == in filterDeadComdatFunctions()
H A DFunctionImportUtils.cpp265 if (const auto *C = GV.getComdat()) in processGlobalForThinLTO()
297 if (auto *C = GO.getComdat()) { in processGlobalsForThinLTO()
H A DSplitModule.cpp120 if (const Comdat *C = GV.getComdat()) { in findPartitions()
235 if (const Comdat *C = GV->getComdat()) in isInPartition()
H A DCloneModule.cpp23 const Comdat *SC = Src->getComdat(); in copyComdat()
H A DSymbolRewriter.cpp99 if (Comdat *CD = GO->getComdat()) { in rewriteComdat()
/freebsd-12.1/contrib/llvm/lib/Linker/
H A DLinkModules.cpp380 if (const Comdat *SC = GV.getComdat()) { in linkIfNeeded()
406 const Comdat *SC = GV.getComdat(); in addLazyFor()
424 Comdat *C = GV.getComdat(); in dropReplacedComdat()
503 if (const Comdat *SC = GV.getComdat()) in run()
508 if (const Comdat *SC = SF.getComdat()) in run()
513 if (const Comdat *SC = GA.getComdat()) in run()
532 const Comdat *SC = GV->getComdat(); in run()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp48 to->getComdat()->setSelectionKind(from->getComdat()->getSelectionKind()); in copyLinkageVisibility()
H A DTargetLoweringObjectFileImpl.cpp480 const Comdat *C = GV->getComdat(); in getELFComdat()
690 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
903 const Comdat *C = GV->getComdat(); in checkMachOComdat()
1234 const Comdat *C = GV->getComdat(); in getComdatGVForCOFF()
1243 if (ComdatGV->getComdat() != C) in getComdatGVForCOFF()
1251 if (const Comdat *C = GV->getComdat()) { in getSelectionForCOFF()
1397 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
1658 const Comdat *C = GV->getComdat(); in getWasmComdat()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DGlobals.cpp171 const Comdat *GlobalValue::getComdat() const { in getComdat() function in GlobalValue
175 return const_cast<GlobalObject *>(GO)->getComdat(); in getComdat()
181 return cast<GlobalObject>(this)->getComdat(); in getComdat()
H A DComdat.cpp35 return wrap(G->getComdat()); in LLVMGetComdat()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DInstrumentation.cpp76 if (auto Comdat = F.getComdat()) return Comdat; in GetOrCreateFunctionComdat()
H A DPGOInstrumentation.cpp626 Comdat *C = F.getComdat(); in canRenameComdat()
662 Comdat *OrigComdat = F.getComdat(); in renameComdatFunction()
1381 if (Comdat *C = F.getComdat()) in collectComdatMembers()
1384 if (Comdat *C = GV.getComdat()) in collectComdatMembers()
1387 if (Comdat *C = GA.getComdat()) in collectComdatMembers()
H A DAddressSanitizer.cpp1686 if (Comdat *C = G->getComdat()) { in ShouldInstrumentGlobal()
1843 Comdat *C = G->getComdat(); in SetComdatForGlobalMetadata()
1872 Metadata->setComdat(G->getComdat()); in SetComdatForGlobalMetadata()
2151 NewGlobal->setComdat(G->getComdat()); in InstrumentGlobals()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp368 NewFunc->setComdat(F.getComdat()); in runOnFunction()
/freebsd-12.1/contrib/llvm/lib/Object/
H A DIRSymtab.cpp261 if (const Comdat *C = Base->getComdat()) { in addSymbol()
/freebsd-12.1/contrib/llvm/lib/LTO/
H A DLTO.cpp596 Comdat *C = GV.getComdat(); in handleNonPrevailingComdat()
700 NonPrevailingComdats.insert(GV->getComdat()); in addRegularLTO()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86WinEHState.cpp406 if (auto *C = ParentFunc->getComdat()) in generateLSDAInEAXThunk()

12