Lines Matching refs:GVar
207 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GO); in isGlobalInSmallSection() local
208 if (!GVar) { in isGlobalInSmallSection()
216 if (GVar->hasSection()) { in isGlobalInSmallSection()
217 bool IsSmall = isSmallDataSection(GVar->getSection()); in isGlobalInSmallSection()
219 << ", has section: " << GVar->getSection() << '\n'); in isGlobalInSmallSection()
229 if (GVar->isConstant()) { in isGlobalInSmallSection()
234 bool IsLocal = GVar->hasLocalLinkage(); in isGlobalInSmallSection()
240 Type *GType = GVar->getValueType(); in isGlobalInSmallSection()
257 unsigned Size = GVar->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()