Lines Matching refs:GO
154 SectionKind TargetLoweringObjectFile::getKindForGlobal(const GlobalObject *GO, in getKindForGlobal() argument
156 assert(!GO->isDeclarationForLinker() && in getKindForGlobal()
160 if (isa<Function>(GO)) in getKindForGlobal()
164 if (isa<BasicBlock>(GO)) in getKindForGlobal()
168 const auto *GVar = cast<GlobalVariable>(GO); in getKindForGlobal()
262 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SectionForGlobal() argument
264 if (GO->hasSection()) in SectionForGlobal()
265 return getExplicitSectionGlobal(GO, Kind, TM); in SectionForGlobal()
267 if (auto *GVar = dyn_cast<GlobalVariable>(GO)) { in SectionForGlobal()
273 return getExplicitSectionGlobal(GO, Kind, TM); in SectionForGlobal()
277 if (auto *F = dyn_cast<Function>(GO)) { in SectionForGlobal()
279 return getExplicitSectionGlobal(GO, Kind, TM); in SectionForGlobal()
283 return SelectSectionForGlobal(GO, Kind, TM); in SectionForGlobal()
290 TargetLoweringObjectFile::SectionForGlobal(const GlobalObject *GO, in SectionForGlobal() argument
292 return SectionForGlobal(GO, getKindForGlobal(GO, TM), TM); in SectionForGlobal()