Lines Matching refs:GO
200 SectionKind TargetLoweringObjectFile::getKindForGlobal(const GlobalObject *GO, in getKindForGlobal() argument
202 assert(!GO->isDeclarationForLinker() && in getKindForGlobal()
206 if (isa<Function>(GO)) in getKindForGlobal()
210 if (isa<BasicBlock>(GO)) in getKindForGlobal()
214 const auto *GVar = cast<GlobalVariable>(GO); in getKindForGlobal()
322 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SectionForGlobal() argument
324 if (GO->hasSection()) in SectionForGlobal()
325 return getExplicitSectionGlobal(GO, Kind, TM); in SectionForGlobal()
327 if (auto *GVar = dyn_cast<GlobalVariable>(GO)) { in SectionForGlobal()
333 return getExplicitSectionGlobal(GO, Kind, TM); in SectionForGlobal()
338 return SelectSectionForGlobal(GO, Kind, TM); in SectionForGlobal()
345 TargetLoweringObjectFile::SectionForGlobal(const GlobalObject *GO, in SectionForGlobal() argument
347 return SectionForGlobal(GO, getKindForGlobal(GO, TM), TM); in SectionForGlobal()