Searched refs:getComdat (Results 1 – 12 of 12) sorted by relevance
48 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat()49 const Comdat *getComdat() const { return ObjComdat; } in getComdat() function50 Comdat *getComdat() { return ObjComdat; } in getComdat() function
114 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat()115 Comdat *getComdat();116 const Comdat *getComdat() const { in getComdat() function117 return const_cast<GlobalValue *>(this)->getComdat(); in getComdat()
90 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()
1948 if (const Comdat *C = GV.getComdat()) in OptimizeGlobalVars()1967 if (const Comdat *C = GV->getComdat()) in OptimizeGlobalVars()
101 Comdat *GlobalValue::getComdat() { in getComdat() function in GlobalValue105 return const_cast<GlobalObject *>(GO)->getComdat(); in getComdat()108 return cast<GlobalObject>(this)->getComdat(); in getComdat()
1174 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()
196 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()
891 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()
163 Comdat *getComdat(const std::string &N, LocTy Loc);
1165 Comdat *LLParser::getComdat(const std::string &Name, LocTy Loc) { in getComdat() function in LLParser2881 C = getComdat(Name, Loc); in parseOptionalComdat()
317 if (const Comdat *C = GO->getComdat()) in EnumerateValue()
664 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()