Home
last modified time | relevance | path

Searched refs:CountExpr (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTypeProperties.td32 def : Property<"CountExpr", ExprRef> {
44 …def : Creator<[{ return ctx.getCountAttributedType(WrappedTy, CountExpr, CountInBytes, OrNull, Cou…
H A DType.h3367 Expr *CountExpr;
3374 CountAttributedType(QualType Wrapped, QualType Canon, Expr *CountExpr,
3390 Expr *getCountExpr() const { return CountExpr; }
3401 Profile(ID, desugar(), CountExpr, isCountInBytes(), isOrNull());
3405 Expr *CountExpr, bool CountInBytes, bool Nullable);
H A DASTContext.h1516 getCountAttributedType(QualType T, Expr *CountExpr, bool CountInBytes,
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp456 QualType WrappedTy, Expr *CountExpr, in Profile() argument
465 ID.AddPointer(CountExpr); in Profile()
3997 QualType Wrapped, QualType Canon, Expr *CountExpr, bool CountInBytes, in CountAttributedType() argument
4000 CountExpr(CountExpr) { in CountAttributedType()
H A DASTContext.cpp3698 QualType WrappedTy, Expr *CountExpr, bool CountInBytes, bool OrNull, in getCountAttributedType() argument
3703 CountAttributedType::Profile(ID, WrappedTy, CountExpr, CountInBytes, OrNull); in getCountAttributedType()
3715 new (CATy) CountAttributedType(WrappedTy, CanonTy, CountExpr, CountInBytes, in getCountAttributedType()
H A DASTImporter.cpp1783 Expr *CountExpr = importChecked(Err, T->getCountExpr()); in VisitCountAttributedType() local
1794 *ToWrappedTypeOrErr, CountExpr, T->isCountInBytes(), T->isOrNull(), in VisitCountAttributedType()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp5643 const MCExpr *CountExpr; in parseDirectiveRept() local
5645 if (parseExpression(CountExpr)) in parseDirectiveRept()
5649 if (!CountExpr->evaluateAsAbsolute(Count, getStreamer().getAssemblerPtr())) { in parseDirectiveRept()
H A DMasmParser.cpp5473 const MCExpr *CountExpr; in parseDirectiveRepeat() local
5475 if (parseExpression(CountExpr)) in parseDirectiveRepeat()
5479 if (!CountExpr->evaluateAsAbsolute(Count, getStreamer().getAssemblerPtr())) { in parseDirectiveRepeat()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp6600 auto *CountExpr = AL.getArgAsExpr(0); in handleCountedByAttrField() local
6601 if (!CountExpr) in handleCountedByAttrField()
6627 if (S.CheckCountedByAttrOnField(FD, CountExpr, CountInBytes, OrNull)) in handleCountedByAttrField()
6631 FD->getType(), CountExpr, CountInBytes, OrNull); in handleCountedByAttrField()
H A DSemaType.cpp9666 Expr *CountExpr, in BuildCountAttributedArrayOrPointerType() argument
9672 BuildTypeCoupledDecls(CountExpr, Decls); in BuildCountAttributedArrayOrPointerType()
9675 return Context.getCountAttributedType(WrappedTy, CountExpr, CountInBytes, in BuildCountAttributedArrayOrPointerType()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp7891 const Expr *CountExpr = OASE->getLength(); local
7893 if (!CountExpr) {
7919 Count = CGF.EmitScalarExpr(CountExpr);
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h14943 Expr *CountExpr,