Searched refs:CountFD (Results 1 – 3 of 3) sorted by relevance
153 FieldDecl *CountFD = dyn_cast<FieldDecl>(CountDecl); in CheckCountedByAttrOnField() local155 CountFD = IFD->getAnonField(); in CheckCountedByAttrOnField()157 if (!CountFD) { in CheckCountedByAttrOnField()167 if (FD->getParent() != CountFD->getParent()) { in CheckCountedByAttrOnField()168 if (CountFD->getParent()->isUnion()) { in CheckCountedByAttrOnField()169 Diag(CountFD->getBeginLoc(), diag::err_count_attr_refer_to_union) in CheckCountedByAttrOnField()170 << Kind << CountFD->getSourceRange(); in CheckCountedByAttrOnField()177 auto *CountRD = GetEnclosingNamedOrTopAnonRecord(CountFD); in CheckCountedByAttrOnField()181 << CountFD << Kind << FieldTy->isArrayType() << E->getSourceRange(); in CheckCountedByAttrOnField()182 Diag(CountFD->getBeginLoc(), in CheckCountedByAttrOnField()[all …]
4304 if (const FieldDecl *CountFD = FindCountedByField(FAMDecl)) { in EmitArraySubscriptExpr() local4306 getOffsetDifferenceInBits(*this, CountFD, FAMDecl)) { in EmitArraySubscriptExpr()4314 llvm::Type *CountTy = ConvertType(CountFD->getType()); in EmitArraySubscriptExpr()
7354 enum { OffsetFD = 0, CountFD, StrideFD }; in emitNonContiguousDescriptor() enumerator7379 Value *CountLVal = Builder.CreateStructGEP(DimTy, DimsLVal, CountFD); in emitNonContiguousDescriptor()