Searched refs:CountDecl (Results 1 – 5 of 5) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaBoundsSafety.cpp | 181 auto *CountDecl = DRE->getDecl(); in CheckCountedByAttrOnField() local 182 FieldDecl *CountFD = dyn_cast<FieldDecl>(CountDecl); in CheckCountedByAttrOnField() 183 if (auto *IFD = dyn_cast<IndirectFieldDecl>(CountDecl)) { in CheckCountedByAttrOnField() 188 << CountDecl << Kind << E->getSourceRange(); in CheckCountedByAttrOnField() 190 Diag(CountDecl->getBeginLoc(), in CheckCountedByAttrOnField() 192 << CountDecl << CountDecl->getSourceRange(); in CheckCountedByAttrOnField()
|
| H A D | SemaType.cpp | 9661 auto *CountDecl = cast<DeclRefExpr>(E)->getDecl(); in BuildTypeCoupledDecls() local 9662 Decls.push_back(TypeCoupledDeclRefInfo(CountDecl, /*IsDref*/ false)); in BuildTypeCoupledDecls()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Decl.cpp | 4791 const auto *CountDecl = CountDRE->getDecl(); in findCountedByField() local 4792 if (const auto *IFD = dyn_cast<IndirectFieldDecl>(CountDecl)) in findCountedByField() 4793 CountDecl = IFD->getAnonField(); in findCountedByField() 4795 return dyn_cast<FieldDecl>(CountDecl); in findCountedByField()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExpr.cpp | 1173 const Expr *Base, const FieldDecl *FAMDecl, const FieldDecl *CountDecl) { in GetCountedByFieldExprGEP() argument 1174 const RecordDecl *RD = CountDecl->getParent()->getOuterLexicalRecordContext(); in GetCountedByFieldExprGEP() 1196 getGEPIndicesToField(*this, RD, CountDecl, Indices); in GetCountedByFieldExprGEP() 1215 const Expr *Base, const FieldDecl *FAMDecl, const FieldDecl *CountDecl) { in EmitLoadOfCountedByField() argument 1216 if (llvm::Value *GEP = GetCountedByFieldExprGEP(Base, FAMDecl, CountDecl)) in EmitLoadOfCountedByField() 1217 return Builder.CreateAlignedLoad(ConvertType(CountDecl->getType()), GEP, in EmitLoadOfCountedByField()
|
| H A D | CodeGenFunction.h | 3347 const FieldDecl *CountDecl); 3351 const FieldDecl *CountDecl);
|