Home | History | Annotate | Download | only in Hexagon

Lines Matching refs:GV

51 bool HexagonTargetObjectFile::IsGlobalInSmallSection(const GlobalValue *GV,
56 if (GV->isDeclaration() || GV->hasAvailableExternallyLinkage())
59 // Otherwise, Check if GV should be in sdata/sbss, when normally it would end
60 // up in getKindForGlobal(GV, TM).
61 return IsGlobalInSmallSection(GV, TM, getKindForGlobal(GV, TM));
67 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM,
70 const GlobalVariable *GVA = dyn_cast<GlobalVariable>(GV);
75 Type *Ty = GV->getType()->getElementType();
83 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
87 if (Kind.isBSS() && IsGlobalInSmallSection(GV, TM, Kind))
89 if (Kind.isDataNoRel() && IsGlobalInSmallSection(GV, TM, Kind))
93 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang,TM);