Lines Matching refs:GVar
180 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV); in isGlobalInSmallSection() local
181 if (!GVar) { in isGlobalInSmallSection()
189 if (GVar->hasSection()) { in isGlobalInSmallSection()
190 bool IsSmall = isSmallDataSection(GVar->getSection()); in isGlobalInSmallSection()
192 << GVar->getSection() << '\n'); in isGlobalInSmallSection()
196 if (GVar->isConstant()) { in isGlobalInSmallSection()
201 bool IsLocal = GVar->hasLocalLinkage(); in isGlobalInSmallSection()
207 Type *GType = GVar->getType(); in isGlobalInSmallSection()
227 unsigned Size = GVar->getParent()->getDataLayout().getTypeAllocSize(GType); in isGlobalInSmallSection()
363 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV); in selectSmallSectionForGlobal() local
364 if (GVar->hasSection() && isSmallDataSection(GVar->getSection())) in selectSmallSectionForGlobal()