Lines Matching refs:GVar
208 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GO); in isGlobalInSmallSection() local
209 if (!GVar) { in isGlobalInSmallSection()
217 if (GVar->hasSection()) { in isGlobalInSmallSection()
218 bool IsSmall = isSmallDataSection(GVar->getSection()); in isGlobalInSmallSection()
220 << ", has section: " << GVar->getSection() << '\n'); in isGlobalInSmallSection()
230 if (GVar->isConstant()) { in isGlobalInSmallSection()
235 bool IsLocal = GVar->hasLocalLinkage(); in isGlobalInSmallSection()
241 Type *GType = GVar->getValueType(); in isGlobalInSmallSection()
258 unsigned Size = GVar->getParent()->getDataLayout().getTypeAllocSize(GType); in isGlobalInSmallSection()
397 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GO); in selectSmallSectionForGlobal() local
398 if (GVar->hasSection() && isSmallDataSection(GVar->getSection())) in selectSmallSectionForGlobal()