Home
last modified time | relevance | path

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

/external/llvm/include/llvm/IR/
DGlobalObject.h62 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat()
63 const Comdat *getComdat() const { return ObjComdat; } in getComdat() function
64 Comdat *getComdat() { return ObjComdat; } in getComdat() function
DGlobalValue.h134 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat()
135 Comdat *getComdat();
136 const Comdat *getComdat() const { in getComdat() function
137 return const_cast<GlobalValue *>(this)->getComdat(); in getComdat()
/external/llvm/lib/Transforms/IPO/
DGlobalDCE.cpp85 if (Comdat *C = F.getComdat()) in runOnModule()
88 if (Comdat *C = GV.getComdat()) in runOnModule()
91 if (Comdat *C = GA.getComdat()) in runOnModule()
198 if (Comdat *C = G->getComdat()) { in GlobalIsNeeded()
DInliner.cpp715 if (const Comdat *C = F->getComdat()) { in removeDeadFunctions()
732 if (const Comdat *C = F.getComdat()) in removeDeadFunctions()
735 if (const Comdat *C = GV.getComdat()) in removeDeadFunctions()
738 if (const Comdat *C = GA.getComdat()) in removeDeadFunctions()
742 const Comdat *C = F->getComdat(); in removeDeadFunctions()
DInternalize.cpp137 if (Comdat *C = GV.getComdat()) { in maybeInternalize()
164 Comdat *C = GV.getComdat(); in checkComdatVisibility()
DGlobalOpt.cpp2044 const Comdat *C = F->getComdat(); in OptimizeFunctions()
2095 if (const Comdat *C = GV->getComdat()) in OptimizeGlobalVars()
3185 if (const Comdat *C = GV.getComdat()) in runOnModule()
3189 if (const Comdat *C = F.getComdat()) in runOnModule()
3193 if (const Comdat *C = GA.getComdat()) in runOnModule()
/external/llvm/lib/IR/
DGlobals.cpp111 Comdat *GlobalValue::getComdat() { in getComdat() function in GlobalValue
115 return const_cast<GlobalObject *>(GO)->getComdat(); in getComdat()
118 return cast<GlobalObject>(this)->getComdat(); in getComdat()
DAsmWriter.cpp2077 if (const Comdat *C = F.getComdat()) in AssemblyWriter()
2080 if (const Comdat *C = GV.getComdat()) in AssemblyWriter()
2382 const Comdat *C = GO.getComdat(); in maybePrintComdat()
/external/llvm/lib/Linker/
DLinkModules.cpp619 if (const Comdat *SC = GV.getComdat()) { in linkIfNeeded()
645 const Comdat *SC = GV.getComdat(); in addLazyFor()
691 if (const Comdat *SC = GV.getComdat()) in run()
695 if (const Comdat *SC = SF.getComdat()) in run()
699 if (const Comdat *SC = GA.getComdat()) in run()
720 const Comdat *SC = GV->getComdat(); in run()
DIRMover.cpp1067 if (const Comdat *SC = SGV->getComdat()) { in linkGlobalValueProto()
/external/llvm/lib/CodeGen/
DLowerEmuTLS.cpp49 to->getComdat()->setSelectionKind(from->getComdat()->getSelectionKind()); in copyLinkageVisibility()
DTargetLoweringObjectFileImpl.cpp193 const Comdat *C = GV->getComdat(); in getELFComdat()
329 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
513 const Comdat *C = GV->getComdat(); in checkMachOComdat()
823 const Comdat *C = GV->getComdat(); in getComdatGVForCOFF()
832 if (ComdatGV->getComdat() != C) in getComdatGVForCOFF()
840 if (const Comdat *C = GV->getComdat()) { in getSelectionForCOFF()
978 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
/external/llvm/lib/Transforms/Utils/
DSplitModule.cpp48 if (const Comdat *C = GV->getComdat()) in isInPartition()
DSymbolRewriter.cpp84 if (Comdat *CD = GO->getComdat()) { in rewriteComdat()
/external/llvm/lib/AsmParser/
DLLParser.h174 Comdat *getComdat(const std::string &N, LocTy Loc);
DLLParser.cpp1151 Comdat *LLParser::getComdat(const std::string &Name, LocTy Loc) { in getComdat() function in LLParser
3104 C = getComdat(Lex.getStrVal(), Lex.getLoc()); in parseOptionalComdat()
3111 C = getComdat(GlobalName, KwLoc); in parseOptionalComdat()
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp299 if (llvm::Comdat *C = GV->getComdat()) in EmitPointerToInitFunc()
DCGDecl.cpp316 GV->setComdat(OldGV->getComdat()); in AddInitializerToStaticVarDecl()
DCGException.cpp1666 if (llvm::Comdat *C = ParentFn->getComdat()) { in startOutlinedSEHHelper()
DItaniumCXXABI.cpp1969 llvm::Comdat *C = var->getComdat(); in EmitGuardedInit()
DMicrosoftCXXABI.cpp2220 if (llvm::Comdat *C = GV->getComdat()) in EmitThreadLocalInitFuncs()
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp575 if (const Comdat *C = GO->getComdat()) in EnumerateValue()
DBitcodeWriter.cpp729 Vals.push_back(GV.hasComdat() ? VE.getComdatID(GV.getComdat()) : 0); in WriteModuleInfo()
756 Vals.push_back(F.hasComdat() ? VE.getComdatID(F.getComdat()) : 0); in WriteModuleInfo()
/external/llvm/tools/gold/
Dgold-plugin.cpp506 const Comdat *C = Base->getComdat(); in claim_file_hook()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1720 if (GO->getComdat() == reinterpret_cast<Comdat *>(1)) { in recordValue()