Home
last modified time | relevance | path

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

/external/llvm/include/llvm/IR/
DGlobalObject.h48 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat()
49 const Comdat *getComdat() const { return ObjComdat; } in getComdat() function
50 Comdat *getComdat() { return ObjComdat; } in getComdat() function
DGlobalValue.h114 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat()
115 Comdat *getComdat();
116 const Comdat *getComdat() const { in getComdat() function
117 return const_cast<GlobalValue *>(this)->getComdat(); in getComdat()
/external/llvm/lib/Transforms/IPO/
DGlobalDCE.cpp90 else if (const Comdat *C = I->getComdat()) in runOnModule()
103 else if (const Comdat *C = I->getComdat()) in runOnModule()
114 } else if (const Comdat *C = I->getComdat()) { in runOnModule()
DGlobalOpt.cpp1948 if (const Comdat *C = GV.getComdat()) in OptimizeGlobalVars()
1967 if (const Comdat *C = GV->getComdat()) in OptimizeGlobalVars()
/external/llvm/lib/IR/
DGlobals.cpp101 Comdat *GlobalValue::getComdat() { in getComdat() function in GlobalValue
105 return const_cast<GlobalObject *>(GO)->getComdat(); in getComdat()
108 return cast<GlobalObject>(this)->getComdat(); in getComdat()
DAsmWriter.cpp1174 if (const Comdat *C = F.getComdat()) in init()
1177 if (const Comdat *C = GV.getComdat()) in init()
1493 PrintLLVMName(Out, GV->getComdat()->getName(), ComdatPrefix); in printGlobal()
1678 PrintLLVMName(Out, F->getComdat()->getName(), ComdatPrefix); in printFunction()
/external/llvm/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp196 const Comdat *C = GV->getComdat(); in getELFComdat()
506 const Comdat *C = GV->getComdat(); in checkMachOComdat()
764 const Comdat *C = GV->getComdat(); in getComdatGVForCOFF()
773 if (ComdatGV->getComdat() != C) in getComdatGVForCOFF()
781 if (const Comdat *C = GV->getComdat()) { in getSelectionForCOFF()
/external/llvm/lib/Linker/
DLinkModules.cpp891 if (const Comdat *SC = SGV->getComdat()) { in linkGlobalProto()
984 if (const Comdat *SC = SF->getComdat()) { in linkFunctionProto()
1065 if (const Comdat *SC = SGA->getComdat()) { in linkAliasProto()
/external/llvm/lib/AsmParser/
DLLParser.h163 Comdat *getComdat(const std::string &N, LocTy Loc);
DLLParser.cpp1165 Comdat *LLParser::getComdat(const std::string &Name, LocTy Loc) { in getComdat() function in LLParser
2881 C = getComdat(Name, Loc); in parseOptionalComdat()
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp317 if (const Comdat *C = GO->getComdat()) in EnumerateValue()
DBitcodeWriter.cpp664 Vals.push_back(GV.hasComdat() ? VE.getComdatID(GV.getComdat()) : 0); in WriteModuleInfo()
690 Vals.push_back(F.hasComdat() ? VE.getComdatID(F.getComdat()) : 0); in WriteModuleInfo()