Lines Matching refs:GV
57 bool HexagonTargetObjectFile::IsGlobalInSmallSection(const GlobalValue *GV,
62 if (GV->isDeclaration() || GV->hasAvailableExternallyLinkage())
65 // Otherwise, Check if GV should be in sdata/sbss, when normally it would end
66 // up in getKindForGlobal(GV, TM).
67 return IsGlobalInSmallSection(GV, TM, getKindForGlobal(GV, TM));
73 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM,
76 const GlobalVariable *GVA = dyn_cast<GlobalVariable>(GV);
81 Type *Ty = GV->getType()->getElementType();
89 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
93 if (Kind.isBSS() && IsGlobalInSmallSection(GV, TM, Kind))
95 if (Kind.isDataNoRel() && IsGlobalInSmallSection(GV, TM, Kind))
99 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang,TM);