Lines Matching refs:GVar
209 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GO); in isGlobalInSmallSection() local
210 if (!GVar) { in isGlobalInSmallSection()
218 if (GVar->hasSection()) { in isGlobalInSmallSection()
219 bool IsSmall = isSmallDataSection(GVar->getSection()); in isGlobalInSmallSection()
221 << ", has section: " << GVar->getSection() << '\n'); in isGlobalInSmallSection()
231 if (GVar->isConstant()) { in isGlobalInSmallSection()
236 bool IsLocal = GVar->hasLocalLinkage(); in isGlobalInSmallSection()
242 Type *GType = GVar->getType(); in isGlobalInSmallSection()
262 unsigned Size = GVar->getParent()->getDataLayout().getTypeAllocSize(GType); in isGlobalInSmallSection()
399 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GO); in selectSmallSectionForGlobal() local
400 if (GVar->hasSection() && isSmallDataSection(GVar->getSection())) in selectSmallSectionForGlobal()