Lines Matching refs:GV
49 bool MipsTargetObjectFile::IsGlobalInSmallSection(const GlobalValue *GV,
51 if (GV->isDeclaration() || GV->hasAvailableExternallyLinkage())
54 return IsGlobalInSmallSection(GV, TM, getKindForGlobal(GV, TM));
60 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM,
69 const GlobalVariable *GVA = dyn_cast<GlobalVariable>(GV);
82 Type *Ty = GV->getType()->getElementType();
89 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
95 if (Kind.isBSS() && IsGlobalInSmallSection(GV, TM, Kind))
97 if (Kind.isDataNoRel() && IsGlobalInSmallSection(GV, TM, Kind))
101 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang,TM);