Lines Matching refs:GVar
216 const auto *GVar = cast<GlobalVariable>(GO); in getKindForGlobal() local
219 if (GVar->isThreadLocal()) { in getKindForGlobal()
220 if (isSuitableForBSS(GVar) && !TM.Options.NoZerosInBSS) { in getKindForGlobal()
223 if (GVar->hasLocalLinkage()) { in getKindForGlobal()
232 if (GVar->hasCommonLinkage()) in getKindForGlobal()
237 if (isSuitableForBSS(GVar) && !TM.Options.NoZerosInBSS) { in getKindForGlobal()
238 if (GVar->hasLocalLinkage()) in getKindForGlobal()
240 else if (GVar->hasExternalLinkage()) in getKindForGlobal()
247 if (GVar->isConstant()) { in getKindForGlobal()
251 const Constant *C = GVar->getInitializer(); in getKindForGlobal()
256 if (!GVar->hasGlobalUnnamedAddr()) in getKindForGlobal()
282 GVar->getParent()->getDataLayout().getTypeAllocSize(C->getType())) { in getKindForGlobal()
322 if (auto *GVar = dyn_cast<GlobalVariable>(GO)) { in SectionForGlobal() local
323 auto Attrs = GVar->getAttributes(); in SectionForGlobal()