| /freebsd-12-stable/contrib/llvm-project/clang/lib/AST/ |
| D | StmtIterator.cpp | 111 assert(VAPtr->SizeExpr); in GetDeclExpr() 112 return const_cast<Stmt*&>(VAPtr->SizeExpr); in GetDeclExpr()
|
| D | Type.cpp | 191 const Expr *SizeExpr, ArraySizeModifier SizeMod, in Profile() argument 197 ID.AddBoolean(SizeExpr != 0); in Profile() 198 if (SizeExpr) in Profile() 199 SizeExpr->Profile(ID, Context, true); in Profile() 208 Context(Context), SizeExpr((Stmt*) e), Brackets(brackets) {} in DependentSizedArrayType() 224 QualType CanonType, Expr *SizeExpr, in DependentVectorType() argument 230 (SizeExpr ? toTypeDependence(SizeExpr->getDependence()) in DependentVectorType() 232 Context(Context), ElementType(ElementType), SizeExpr(SizeExpr), Loc(Loc) { in DependentVectorType() 238 QualType ElementType, const Expr *SizeExpr, in Profile() argument 242 SizeExpr->Profile(ID, Context, true); in Profile() [all …]
|
| D | ASTContext.cpp | 3429 const Expr *SizeExpr, in getConstantArrayType() argument 3437 if (SizeExpr && !SizeExpr->isInstantiationDependent()) in getConstantArrayType() 3438 SizeExpr = nullptr; in getConstantArrayType() 3446 ConstantArrayType::Profile(ID, *this, EltTy, ArySize, SizeExpr, ASM, in getConstantArrayType() 3458 if (!EltTy.isCanonical() || EltTy.hasLocalQualifiers() || SizeExpr) { in getConstantArrayType() 3471 ConstantArrayType::totalSizeToAlloc<const Expr *>(SizeExpr ? 1 : 0), in getConstantArrayType() 3474 ConstantArrayType(EltTy, Canon, ArySize, SizeExpr, ASM, IndexTypeQuals); in getConstantArrayType() 3954 ASTContext::getDependentVectorType(QualType VecType, Expr *SizeExpr, in getDependentVectorType() argument 3958 DependentVectorType::Profile(ID, *this, getCanonicalType(VecType), SizeExpr, in getDependentVectorType() 3967 *this, VecType, QualType(Canon, 0), SizeExpr, AttrLoc, VecKind); in getDependentVectorType() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| D | CheckPlacementNew.cpp | 81 const Expr *SizeExpr = *NE->getArraySize(); in getExtentSizeOfNewTarget() local 82 SVal ElementCount = C.getSVal(SizeExpr); in getExtentSizeOfNewTarget()
|
| /freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/ |
| D | Type.h | 2972 const Expr *SizeExpr, ArraySizeModifier SizeMod, 3032 Stmt *SizeExpr; 3041 SizeExpr((Stmt*) e), Brackets(brackets) {} 3049 return (Expr*) SizeExpr; 3091 Stmt *SizeExpr; 3106 return (Expr*) SizeExpr; 3187 Expr *SizeExpr; 3195 QualType can, Expr *SizeExpr, SourceLocation loc); 3198 Expr *getSizeExpr() const { return SizeExpr; } 3214 QualType ElementType, Expr *SizeExpr); [all …]
|
| D | ASTContext.h | 1402 const Expr *SizeExpr, 1442 QualType getDependentVectorType(QualType VectorType, Expr *SizeExpr, 1458 Expr *SizeExpr,
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/ |
| D | CGDebugInfo.h | 377 void registerVLASizeExpression(QualType Ty, llvm::Metadata *SizeExpr) { in registerVLASizeExpression() argument 378 SizeExprCache[Ty] = SizeExpr; in registerVLASizeExpression()
|
| D | CGDebugInfo.cpp | 2847 auto SizeExpr = SizeExprCache.find(QTy); in CreateType() local 2848 if (SizeExpr != SizeExprCache.end()) in CreateType() 2850 SizeExpr->getSecond() /*count*/, nullptr /*lowerBound*/, in CreateType()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/ |
| D | SemaType.cpp | 2566 QualType Sema::BuildVectorType(QualType CurType, Expr *SizeExpr, in BuildVectorType() argument 2578 if (SizeExpr->isTypeDependent() || SizeExpr->isValueDependent()) in BuildVectorType() 2579 return Context.getDependentVectorType(CurType, SizeExpr, AttrLoc, in BuildVectorType() 2582 Optional<llvm::APSInt> VecSize = SizeExpr->getIntegerConstantExpr(Context); in BuildVectorType() 2586 << SizeExpr->getSourceRange(); in BuildVectorType() 2591 return Context.getDependentVectorType(CurType, SizeExpr, AttrLoc, in BuildVectorType() 2598 << SizeExpr->getSourceRange() << "vector"; in BuildVectorType() 2606 << SizeExpr->getSourceRange() << "vector"; in BuildVectorType() 2612 << SizeExpr->getSourceRange(); in BuildVectorType() 2618 << SizeExpr->getSourceRange() << "vector"; in BuildVectorType() [all …]
|
| D | TreeTransform.h | 817 Expr *SizeExpr, 829 Expr *SizeExpr, 850 Expr *SizeExpr, 861 Expr *SizeExpr, 878 QualType RebuildDependentVectorType(QualType ElementType, Expr *SizeExpr, 896 Expr *SizeExpr, 14233 Expr *SizeExpr, in RebuildArrayType() argument 14236 if (SizeExpr || !Size) in RebuildArrayType() 14237 return SemaRef.BuildArrayType(ElementType, SizeMod, SizeExpr, in RebuildArrayType() 14269 Expr *SizeExpr, in RebuildConstantArrayType() argument [all …]
|
| D | SemaDeclAttr.cpp | 824 const Expr *SizeExpr = AL.getArgAsExpr(0); in handleAllocSizeAttr() local 827 if (!checkPositiveIntArgument(S, AL, SizeExpr, SizeArgNoVal, /*Idx=*/1)) in handleAllocSizeAttr()
|
| D | SemaChecking.cpp | 14768 const Expr *SizeExpr = dyn_cast<IntegerLiteral>(CTL.getSizeExpr()); in IsTailPaddedMemberArray() local 14769 if (!SizeExpr || SizeExpr->getExprLoc().isMacroID()) in IsTailPaddedMemberArray()
|
| D | SemaOpenMP.cpp | 14636 for (Expr *SizeExpr : SizeExprs) { in ActOnOpenMPSizesClause() 14638 SizeExpr, OMPC_sizes, /*StrictlyPositive=*/true); in ActOnOpenMPSizesClause()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| D | ExprEngineCallAndReturn.cpp | 700 if (const Expr *SizeExpr = CNE->getArraySize().getValueOr(nullptr)) { in bindReturnValue() local 701 ElementCount = State->getSVal(SizeExpr, LCtx); in bindReturnValue()
|
| D | ExprEngineCXX.cpp | 1018 Expr *SizeExpr = FieldForCapture->getCapturedVLAType()->getSizeExpr(); in VisitLambdaExpr() local 1019 InitVal = State->getSVal(SizeExpr, LocCtxt); in VisitLambdaExpr()
|