Lines Matching refs:GVar
168 const auto *GVar = cast<GlobalVariable>(GO); in getKindForGlobal() local
171 if (GVar->isThreadLocal()) { in getKindForGlobal()
172 if (isSuitableForBSS(GVar) && !TM.Options.NoZerosInBSS) in getKindForGlobal()
178 if (GVar->hasCommonLinkage()) in getKindForGlobal()
183 if (isSuitableForBSS(GVar) && !TM.Options.NoZerosInBSS) { in getKindForGlobal()
184 if (GVar->hasLocalLinkage()) in getKindForGlobal()
186 else if (GVar->hasExternalLinkage()) in getKindForGlobal()
193 if (GVar->isConstant()) { in getKindForGlobal()
197 const Constant *C = GVar->getInitializer(); in getKindForGlobal()
202 if (!GVar->hasGlobalUnnamedAddr()) in getKindForGlobal()
228 GVar->getParent()->getDataLayout().getTypeAllocSize(C->getType())) { in getKindForGlobal()
267 if (auto *GVar = dyn_cast<GlobalVariable>(GO)) { in SectionForGlobal() local
268 auto Attrs = GVar->getAttributes(); in SectionForGlobal()