Searched refs:GVA (Results 1 – 4 of 4) sorted by relevance
42 const GlobalVariable *GVA = dyn_cast<GlobalVariable>(GO); in isGlobalInSmallSection() local43 if (!GVA) in isGlobalInSmallSection()47 if (GVA->hasSection()) { in isGlobalInSmallSection()48 StringRef Section = GVA->getSection(); in isGlobalInSmallSection()60 if (((GVA->hasExternalLinkage() && GVA->isDeclaration()) || in isGlobalInSmallSection()61 GVA->hasCommonLinkage())) in isGlobalInSmallSection()64 Type *Ty = GVA->getValueType(); in isGlobalInSmallSection()72 GVA->getParent()->getDataLayout().getTypeAllocSize(Ty)); in isGlobalInSmallSection()
105 const GlobalVariable *GVA = dyn_cast<GlobalVariable>(GO); in IsGlobalInSmallSectionImpl() local106 if (!GVA) in IsGlobalInSmallSectionImpl()111 if (GVA->hasSection()) { in IsGlobalInSmallSectionImpl()112 StringRef Section = GVA->getSection(); in IsGlobalInSmallSectionImpl()126 if (!LocalSData && GVA->hasLocalLinkage()) in IsGlobalInSmallSectionImpl()130 if (!ExternSData && ((GVA->hasExternalLinkage() && GVA->isDeclaration()) || in IsGlobalInSmallSectionImpl()131 GVA->hasCommonLinkage())) in IsGlobalInSmallSectionImpl()135 if (EmbeddedData && GVA->isConstant()) in IsGlobalInSmallSectionImpl()138 Type *Ty = GVA->getValueType(); in IsGlobalInSmallSectionImpl()147 GVA->getParent()->getDataLayout().getTypeAllocSize(Ty)); in IsGlobalInSmallSectionImpl()
76 const auto *GVA = dyn_cast<GlobalVariable>(GO); in isGlobalInSmallSectionImpl() local79 if (!GVA) return TM.getCodeModel() == CodeModel::Small; in isGlobalInSmallSectionImpl()84 if (GVA->getSection().startswith(".ldata")) in isGlobalInSmallSectionImpl()90 if (GVA->hasLocalLinkage()) in isGlobalInSmallSectionImpl()93 if (((GVA->hasExternalLinkage() && GVA->isDeclaration()) || in isGlobalInSmallSectionImpl()94 GVA->hasCommonLinkage())) in isGlobalInSmallSectionImpl()97 Type *Ty = GVA->getValueType(); in isGlobalInSmallSectionImpl()99 GVA->getParent()->getDataLayout().getTypeAllocSize(Ty)); in isGlobalInSmallSectionImpl()
138 def : DC<"GVA", 0b011, 0b0111, 0b0100, 0b011>;