Lines Matching refs:GVar
153 const auto *GVar = cast<GlobalVariable>(GO); in getKindForGlobal() local
156 if (GVar->isThreadLocal()) { in getKindForGlobal()
157 if (isSuitableForBSS(GVar) && !TM.Options.NoZerosInBSS) in getKindForGlobal()
163 if (GVar->hasCommonLinkage()) in getKindForGlobal()
168 if (isSuitableForBSS(GVar) && !TM.Options.NoZerosInBSS) { in getKindForGlobal()
169 if (GVar->hasLocalLinkage()) in getKindForGlobal()
171 else if (GVar->hasExternalLinkage()) in getKindForGlobal()
178 if (GVar->isConstant()) { in getKindForGlobal()
182 const Constant *C = GVar->getInitializer(); in getKindForGlobal()
187 if (!GVar->hasGlobalUnnamedAddr()) in getKindForGlobal()
213 GVar->getParent()->getDataLayout().getTypeAllocSize(C->getType())) { in getKindForGlobal()
252 if (auto *GVar = dyn_cast<GlobalVariable>(GO)) { in SectionForGlobal() local
253 auto Attrs = GVar->getAttributes(); in SectionForGlobal()