Lines Matching refs:GVar
130 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV); in getKindForGlobal() local
131 if (GVar == 0) in getKindForGlobal()
135 if (GVar->isThreadLocal()) { in getKindForGlobal()
136 if (isSuitableForBSS(GVar)) in getKindForGlobal()
142 if (GVar->hasCommonLinkage()) in getKindForGlobal()
146 if (isSuitableForBSS(GVar)) { in getKindForGlobal()
147 if (GVar->hasLocalLinkage()) in getKindForGlobal()
149 else if (GVar->hasExternalLinkage()) in getKindForGlobal()
154 const Constant *C = GVar->getInitializer(); in getKindForGlobal()
158 if (GVar->isConstant()) { in getKindForGlobal()
168 if (!GVar->hasUnnamedAddr()) in getKindForGlobal()