Lines Matching refs:GO
70 const GlobalObject *GO, const TargetMachine &TM) const { in IsGlobalInSmallSection() argument
74 if (GO->isDeclaration() || GO->hasAvailableExternallyLinkage()) in IsGlobalInSmallSection()
75 return IsGlobalInSmallSectionImpl(GO, TM); in IsGlobalInSmallSection()
77 return IsGlobalInSmallSection(GO, TM, getKindForGlobal(GO, TM)); in IsGlobalInSmallSection()
83 IsGlobalInSmallSection(const GlobalObject *GO, const TargetMachine &TM, in IsGlobalInSmallSection() argument
85 return IsGlobalInSmallSectionImpl(GO, TM) && in IsGlobalInSmallSection()
94 IsGlobalInSmallSectionImpl(const GlobalObject *GO, in IsGlobalInSmallSectionImpl() argument
104 const GlobalVariable *GVA = dyn_cast<GlobalVariable>(GO); in IsGlobalInSmallSectionImpl()
150 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() argument
155 if (Kind.isBSS() && IsGlobalInSmallSection(GO, TM, Kind)) in SelectSectionForGlobal()
157 if (Kind.isData() && IsGlobalInSmallSection(GO, TM, Kind)) in SelectSectionForGlobal()
159 if (Kind.isReadOnly() && IsGlobalInSmallSection(GO, TM, Kind)) in SelectSectionForGlobal()
163 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GO, Kind, TM); in SelectSectionForGlobal()