Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalObject.h122 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat()
123 const Comdat *getComdat() const { return ObjComdat; } in getComdat() function
124 Comdat *getComdat() { return ObjComdat; } in getComdat() function
H A DGlobalValue.h222 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat()
223 const Comdat *getComdat() const;
224 Comdat *getComdat() { in getComdat() function
226 static_cast<const GlobalValue *>(this)->getComdat()); in getComdat()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp188 Comdat *C = F->getComdat(); in filterDeadComdatFunctions()
212 if (Comdat *C = F.getComdat()) { in filterDeadComdatFunctions()
218 if (Comdat *C = GV.getComdat()) { in filterDeadComdatFunctions()
224 if (Comdat *C = GA.getComdat()) { in filterDeadComdatFunctions()
239 return ComdatEntriesCovered.find(GV->getComdat()) == in filterDeadComdatFunctions()
H A DFunctionImportUtils.cpp270 if (const auto *C = GV.getComdat()) in processGlobalForThinLTO()
318 if (auto *C = GO.getComdat()) { in processGlobalsForThinLTO()
H A DSplitModule.cpp118 if (const Comdat *C = GV.getComdat()) { in findPartitions()
233 if (const Comdat *C = GV->getComdat()) in isInPartition()
H A DCloneModule.cpp22 const Comdat *SC = Src->getComdat(); in copyComdat()
H A DSymbolRewriter.cpp99 if (Comdat *CD = GO->getComdat()) { in rewriteComdat()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Linker/
H A DLinkModules.cpp396 if (const Comdat *SC = GV.getComdat()) { in linkIfNeeded()
422 const Comdat *SC = GV.getComdat(); in addLazyFor()
440 Comdat *C = GV.getComdat(); in dropReplacedComdat()
518 if (const Comdat *SC = GV.getComdat()) in run()
523 if (const Comdat *SC = SF.getComdat()) in run()
528 if (const Comdat *SC = GA.getComdat()) in run()
547 const Comdat *SC = GV->getComdat(); in run()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalDCE.cpp152 if (Comdat *C = GV.getComdat()) { in MarkLive()
305 if (Comdat *C = F.getComdat()) in run()
308 if (Comdat *C = GV.getComdat()) in run()
311 if (Comdat *C = GA.getComdat()) in run()
H A DThinLTOBitcodeWriter.cpp74 if (const auto *C = ExportGV.getComdat()) in promoteInternals()
97 if (auto *C = GO.getComdat()) { in promoteInternals()
302 if (const auto *C = GV.getComdat()) in splitAndWriteThinLTOBitcode()
323 if (const auto *C = GV->getComdat()) in splitAndWriteThinLTOBitcode()
360 if (const auto *C = GV->getComdat()) in splitAndWriteThinLTOBitcode()
H A DInternalize.cpp124 if (Comdat *C = GV.getComdat()) { in maybeInternalize()
163 Comdat *C = GV.getComdat(); in checkComdat()
H A DDeadArgumentElimination.cpp170 NF->setComdat(Fn.getComdat()); in DeleteDeadVarargs()
874 NF->setComdat(F->getComdat()); in RemoveDeadStuffFromFunction()
H A DGlobalOpt.cpp1302 if (const Comdat *C = GV.getComdat()) in deleteIfDead()
2595 if (const Comdat *C = GV.getComdat()) in optimizeGlobalsInModule()
2599 if (const Comdat *C = F.getComdat()) in optimizeGlobalsInModule()
2603 if (const Comdat *C = GA.getComdat()) in optimizeGlobalsInModule()
H A DWholeProgramDevirt.cpp1170 if (Comdat *C = TheFn->getComdat()) { in trySingleImplDevirt()
1175 if (GO.getComdat() == C) in trySingleImplDevirt()
1746 NewGV->setComdat(B.GV->getComdat()); in rebuildGlobal()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp50 to->getComdat()->setSelectionKind(from->getComdat()->getSelectionKind()); in copyLinkageVisibility()
H A DTargetLoweringObjectFileImpl.cpp531 const Comdat *C = GV->getComdat(); in getELFComdat()
913 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
1020 GroupName = F.getComdat()->getName().str(); in getSectionForMachineBasicBlock()
1215 const Comdat *C = GV->getComdat(); in checkMachOComdat()
1549 const Comdat *C = GV->getComdat(); in getComdatGVForCOFF()
1558 if (ComdatGV->getComdat() != C) in getComdatGVForCOFF()
1566 if (const Comdat *C = GV->getComdat()) { in getSelectionForCOFF()
1716 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
2017 const Comdat *C = GV->getComdat(); in getWasmComdat()
2396 assert (!F.getComdat() && "Comdat not supported on XCOFF."); in getSectionForJumpTable()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp172 const Comdat *GlobalValue::getComdat() const { in getComdat() function in GlobalValue
176 return const_cast<GlobalObject *>(GO)->getComdat(); in getComdat()
182 return cast<GlobalObject>(this)->getComdat(); in getComdat()
H A DComdat.cpp34 return wrap(G->getComdat()); in LLVMGetComdat()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrumentation.cpp77 if (auto Comdat = F.getComdat()) return Comdat; in getOrCreateFunctionComdat()
H A DPGOInstrumentation.cpp728 Comdat *C = F.getComdat(); in canRenameComdat()
763 Comdat *OrigComdat = F.getComdat(); in renameComdatFunction()
1596 if (Comdat *C = F.getComdat()) in collectComdatMembers()
1599 if (Comdat *C = GV.getComdat()) in collectComdatMembers()
1602 if (Comdat *C = GA.getComdat()) in collectComdatMembers()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp350 NewFunc->setComdat(F.getComdat()); in runOnFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DIRSymtab.cpp290 if (const Comdat *C = Base->getComdat()) { in addSymbol()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp402 if (auto *C = ParentFunc->getComdat()) in generateLSDAInEAXThunk()
/freebsd-13.1/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp689 Comdat *C = GV.getComdat(); in handleNonPrevailingComdat()
794 NonPrevailingComdats.insert(GV->getComdat()); in addRegularLTO()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h181 Comdat *getComdat(const std::string &Name, LocTy Loc);

12