Searched refs:CountDecl (Results 1 – 4 of 4) sorted by relevance
152 auto *CountDecl = DRE->getDecl(); in CheckCountedByAttrOnField() local153 FieldDecl *CountFD = dyn_cast<FieldDecl>(CountDecl); in CheckCountedByAttrOnField()154 if (auto *IFD = dyn_cast<IndirectFieldDecl>(CountDecl)) { in CheckCountedByAttrOnField()159 << CountDecl << Kind << E->getSourceRange(); in CheckCountedByAttrOnField()161 Diag(CountDecl->getBeginLoc(), in CheckCountedByAttrOnField()163 << CountDecl << CountDecl->getSourceRange(); in CheckCountedByAttrOnField()
9376 auto *CountDecl = cast<DeclRefExpr>(E)->getDecl(); in BuildTypeCoupledDecls() local9377 Decls.push_back(TypeCoupledDeclRefInfo(CountDecl, /*IsDref*/ false)); in BuildTypeCoupledDecls()
1115 const Expr *Base, const FieldDecl *FAMDecl, const FieldDecl *CountDecl) { in EmitCountedByFieldExpr() argument1116 const RecordDecl *RD = CountDecl->getParent()->getOuterLexicalRecordContext(); in EmitCountedByFieldExpr()1140 getGEPIndicesToField(*this, RD, CountDecl, Indices); in EmitCountedByFieldExpr()1147 return Builder.CreateAlignedLoad(ConvertType(CountDecl->getType()), Res, in EmitCountedByFieldExpr()1160 const auto *CountDecl = CountDRE->getDecl(); in FindCountedByField() local1161 if (const auto *IFD = dyn_cast<IndirectFieldDecl>(CountDecl)) in FindCountedByField()1162 CountDecl = IFD->getAnonField(); in FindCountedByField()1164 return dyn_cast<FieldDecl>(CountDecl); in FindCountedByField()
3312 const FieldDecl *CountDecl);