Lines Matching refs:GV
53 bool HexagonTargetObjectFile::IsGlobalInSmallSection(const GlobalValue *GV,
58 if (GV->isDeclaration() || GV->hasAvailableExternallyLinkage())
61 // Otherwise, Check if GV should be in sdata/sbss, when normally it would end
62 // up in getKindForGlobal(GV, TM).
63 return IsGlobalInSmallSection(GV, TM, getKindForGlobal(GV, TM));
69 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM,
72 const GlobalVariable *GVA = dyn_cast<GlobalVariable>(GV);
77 Type *Ty = GV->getType()->getElementType();
79 GV->getParent()->getDataLayout().getTypeAllocSize(Ty));
86 HexagonTargetObjectFile::SelectSectionForGlobal(const GlobalValue *GV,
91 if (Kind.isBSS() && IsGlobalInSmallSection(GV, TM, Kind))
93 if (Kind.isData() && IsGlobalInSmallSection(GV, TM, Kind))
97 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang,TM);