Lines Matching refs:GVar
140 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV); in getKindForGlobal() local
141 if (!GVar) in getKindForGlobal()
145 if (GVar->isThreadLocal()) { in getKindForGlobal()
146 if (isSuitableForBSS(GVar, TM.Options.NoZerosInBSS)) in getKindForGlobal()
152 if (GVar->hasCommonLinkage()) in getKindForGlobal()
156 if (isSuitableForBSS(GVar, TM.Options.NoZerosInBSS)) { in getKindForGlobal()
157 if (GVar->hasLocalLinkage()) in getKindForGlobal()
159 else if (GVar->hasExternalLinkage()) in getKindForGlobal()
164 const Constant *C = GVar->getInitializer(); in getKindForGlobal()
168 if (GVar->isConstant()) { in getKindForGlobal()
176 if (!GVar->hasGlobalUnnamedAddr()) in getKindForGlobal()