Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp208 Comdat *C = F->getComdat(); in filterDeadComdatFunctions()
232 if (Comdat *C = F.getComdat()) { in filterDeadComdatFunctions()
238 if (Comdat *C = GV.getComdat()) { in filterDeadComdatFunctions()
244 if (Comdat *C = GA.getComdat()) { in filterDeadComdatFunctions()
259 return ComdatEntriesCovered.find(GV->getComdat()) == in filterDeadComdatFunctions()
H A DFunctionImportUtils.cpp270 if (const auto *C = GV.getComdat()) in processGlobalForThinLTO()
316 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()
/netbsd-src/external/apache2/llvm/dist/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.cpp60 if (const auto *C = ExportGV.getComdat()) in promoteInternals()
76 if (auto *C = GO.getComdat()) { in promoteInternals()
281 if (const auto *C = GV.getComdat()) in splitAndWriteThinLTOBitcode()
302 if (const auto *C = GV->getComdat()) in splitAndWriteThinLTOBitcode()
339 if (const auto *C = GV->getComdat()) in splitAndWriteThinLTOBitcode()
H A DInternalize.cpp115 if (Comdat *C = GV.getComdat()) { in maybeInternalize()
142 Comdat *C = GV.getComdat(); in checkComdatVisibility()
H A DDeadArgumentElimination.cpp170 NF->setComdat(Fn.getComdat()); in DeleteDeadVarargs()
873 NF->setComdat(F->getComdat()); in RemoveDeadStuffFromFunction()
H A DGlobalOpt.cpp1292 if (const Comdat *C = GV.getComdat()) in deleteIfDead()
2585 if (const Comdat *C = GV.getComdat()) in optimizeGlobalsInModule()
2589 if (const Comdat *C = F.getComdat()) in optimizeGlobalsInModule()
2593 if (const Comdat *C = GA.getComdat()) in optimizeGlobalsInModule()
H A DWholeProgramDevirt.cpp1161 if (Comdat *C = TheFn->getComdat()) { in trySingleImplDevirt()
1166 if (GO.getComdat() == C) in trySingleImplDevirt()
1730 NewGV->setComdat(B.GV->getComdat()); in rebuildGlobal()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp50 to->getComdat()->setSelectionKind(from->getComdat()->getSelectionKind()); in copyLinkageVisibility()
H A DTargetLoweringObjectFileImpl.cpp530 const Comdat *C = GV->getComdat(); in getELFComdat()
892 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
999 GroupName = F.getComdat()->getName().str(); in getSectionForMachineBasicBlock()
1194 const Comdat *C = GV->getComdat(); in checkMachOComdat()
1529 const Comdat *C = GV->getComdat(); in getComdatGVForCOFF()
1538 if (ComdatGV->getComdat() != C) in getComdatGVForCOFF()
1546 if (const Comdat *C = GV->getComdat()) { in getSelectionForCOFF()
1696 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
1997 const Comdat *C = GV->getComdat(); in getWasmComdat()
2365 assert (!F.getComdat() && "Comdat not supported on XCOFF."); in getSectionForJumpTable()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp350 NewFunc->setComdat(F.getComdat()); in runOnFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DIRSymtab.cpp289 if (const Comdat *C = Base->getComdat()) { in addSymbol()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86WinEHState.cpp402 if (auto *C = ParentFunc->getComdat()) in generateLSDAInEAXThunk()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/LTO/
H A DLTO.cpp689 Comdat *C = GV.getComdat(); in handleNonPrevailingComdat()
794 NonPrevailingComdats.insert(GV->getComdat()); in addRegularLTO()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/AsmParser/
H A DLLParser.h196 Comdat *getComdat(const std::string &Name, LocTy Loc);

12