Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/IR/
DGlobalObject.h70 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat()
71 const Comdat *getComdat() const { return ObjComdat; } in getComdat() function
72 Comdat *getComdat() { return ObjComdat; } in getComdat() function
DGlobalValue.h189 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat()
190 Comdat *getComdat();
191 const Comdat *getComdat() const { in getComdat() function
192 return const_cast<GlobalValue *>(this)->getComdat(); in getComdat()
/external/llvm/lib/Transforms/IPO/
DGlobalDCE.cpp89 if (Comdat *C = F.getComdat()) in run()
92 if (Comdat *C = GV.getComdat()) in run()
95 if (Comdat *C = GA.getComdat()) in run()
222 if (Comdat *C = G->getComdat()) { in GlobalIsNeeded()
DInliner.cpp619 if (const Comdat *C = F->getComdat()) { in removeDeadFunctions()
636 if (const Comdat *C = F.getComdat()) in removeDeadFunctions()
639 if (const Comdat *C = GV.getComdat()) in removeDeadFunctions()
642 if (const Comdat *C = GA.getComdat()) in removeDeadFunctions()
646 const Comdat *C = F->getComdat(); in removeDeadFunctions()
DInternalize.cpp118 if (Comdat *C = GV.getComdat()) { in maybeInternalize()
145 Comdat *C = GV.getComdat(); in checkComdatVisibility()
DDeadArgumentElimination.cpp151 NF->setComdat(Fn.getComdat()); in DeleteDeadVarargs()
817 NF->setComdat(F->getComdat()); in RemoveDeadStuffFromFunction()
DGlobalOpt.cpp1657 if (const Comdat *C = GV.getComdat()) in deleteIfDead()
2523 if (const Comdat *C = GV.getComdat()) in optimizeGlobalsInModule()
2527 if (const Comdat *C = F.getComdat()) in optimizeGlobalsInModule()
2531 if (const Comdat *C = GA.getComdat()) in optimizeGlobalsInModule()
DWholeProgramDevirt.cpp636 NewGV->setComdat(B.GV->getComdat()); in rebuildGlobal()
/external/llvm/lib/Linker/
DLinkModules.cpp404 if (const Comdat *SC = GV.getComdat()) { in linkIfNeeded()
435 const Comdat *SC = GV.getComdat(); in addLazyFor()
453 Comdat *C = GV.getComdat(); in dropReplacedComdat()
532 if (const Comdat *SC = GV.getComdat()) in run()
537 if (const Comdat *SC = SF.getComdat()) in run()
542 if (const Comdat *SC = GA.getComdat()) in run()
561 const Comdat *SC = GV->getComdat(); in run()
DIRMover.cpp920 if (const Comdat *SC = SGV->getComdat()) { in linkGlobalValueProto()
/external/llvm/lib/CodeGen/
DLowerEmuTLS.cpp49 to->getComdat()->setSelectionKind(from->getComdat()->getSelectionKind()); in copyLinkageVisibility()
DTargetLoweringObjectFileImpl.cpp196 const Comdat *C = GV->getComdat(); in getELFComdat()
336 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
536 const Comdat *C = GV->getComdat(); in checkMachOComdat()
847 const Comdat *C = GV->getComdat(); in getComdatGVForCOFF()
856 if (ComdatGV->getComdat() != C) in getComdatGVForCOFF()
864 if (const Comdat *C = GV->getComdat()) { in getSelectionForCOFF()
1004 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
/external/llvm/lib/IR/
DGlobals.cpp141 Comdat *GlobalValue::getComdat() { in getComdat() function in GlobalValue
145 return const_cast<GlobalObject *>(GO)->getComdat(); in getComdat()
151 return cast<GlobalObject>(this)->getComdat(); in getComdat()
DAsmWriter.cpp2131 if (const Comdat *C = GO.getComdat()) in AssemblyWriter()
2441 const Comdat *C = GO.getComdat(); in maybePrintComdat()
/external/llvm/lib/Transforms/Utils/
DSplitModule.cpp100 if (const Comdat *C = GV.getComdat()) { in findPartitions()
213 if (const Comdat *C = GV->getComdat()) in isInPartition()
DSymbolRewriter.cpp83 if (Comdat *CD = GO->getComdat()) { in rewriteComdat()
/external/llvm/lib/AsmParser/
DLLParser.h177 Comdat *getComdat(const std::string &N, LocTy Loc);
DLLParser.cpp1221 Comdat *LLParser::getComdat(const std::string &Name, LocTy Loc) { in getComdat() function in LLParser
3268 C = getComdat(Lex.getStrVal(), Lex.getLoc()); in parseOptionalComdat()
3275 C = getComdat(GlobalName, KwLoc); in parseOptionalComdat()
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp307 if (llvm::Comdat *C = GV->getComdat()) in EmitPointerToInitFunc()
DCGDecl.cpp325 GV->setComdat(OldGV->getComdat()); in AddInitializerToStaticVarDecl()
DCGException.cpp1665 if (llvm::Comdat *C = ParentFn->getComdat()) { in startOutlinedSEHHelper()
DItaniumCXXABI.cpp1975 llvm::Comdat *C = var->getComdat(); in EmitGuardedInit()
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp786 if (const Comdat *C = GO->getComdat()) in EnumerateValue()
DBitcodeWriter.cpp1180 Vals.push_back(GV.hasComdat() ? VE.getComdatID(GV.getComdat()) : 0); in writeModuleInfo()
1207 Vals.push_back(F.hasComdat() ? VE.getComdatID(F.getComdat()) : 0); in writeModuleInfo()
/external/llvm/tools/gold/
Dgold-plugin.cpp587 const Comdat *C = Base->getComdat(); in claim_file_hook()

12