/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | TypePrinter.cpp | 577 if (T->getSizeExpr()) in printVariableArrayAfter() 578 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printVariableArrayAfter() 624 if (T->getSizeExpr()) in printDependentSizedArrayAfter() 625 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedArrayAfter() 657 if (T->getSizeExpr()) in printDependentSizedExtVectorAfter() 658 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedExtVectorAfter() 662 if (T->getSizeExpr()) in printDependentSizedExtVectorAfter() 663 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedExtVectorAfter() 759 if (T->getSizeExpr()) in printDependentVectorBefore() 760 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentVectorBefore() [all …]
|
H A D | StmtIterator.cpp | 28 if (vat->getSizeExpr()) in FindVA()
|
H A D | ASTStructuralEquivalence.cpp | 919 if (!IsStructurallyEquivalent(Context, Array1->getSizeExpr(), in IsStructurallyEquivalent() 920 Array2->getSizeExpr())) in IsStructurallyEquivalent() 932 if (!IsStructurallyEquivalent(Context, Array1->getSizeExpr(), in IsStructurallyEquivalent() 933 Array2->getSizeExpr())) in IsStructurallyEquivalent() 958 if (!IsStructurallyEquivalent(Context, Vec1->getSizeExpr(), in IsStructurallyEquivalent() 959 Vec2->getSizeExpr())) in IsStructurallyEquivalent() 972 if (!IsStructurallyEquivalent(Context, Vec1->getSizeExpr(), in IsStructurallyEquivalent() 973 Vec2->getSizeExpr())) in IsStructurallyEquivalent()
|
H A D | ODRHash.cpp | 965 AddStmt(T->getSizeExpr()); in VisitDependentSizedArrayType() 974 AddStmt(T->getSizeExpr()); in VisitVariableArrayType() 1040 AddStmt(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
|
H A D | ASTContext.cpp | 3747 ATy->getSizeExpr(), ATy->getSizeModifier(), in getArrayParameterType() 4064 cat->getSizeExpr(), in getVariableArrayDecayedType() 4074 dat->getSizeExpr(), in getVariableArrayDecayedType() 4188 canonTy->getSizeExpr() == numElements) in getDependentSizedArrayType() 6475 CAT->getSizeExpr(), CAT->getSizeModifier(), 0); in getUnqualifiedArrayType() 6484 VAT->getSizeExpr(), in getUnqualifiedArrayType() 6491 return getDependentSizedArrayType(unqualElementType, DSAT->getSizeExpr(), in getUnqualifiedArrayType() 7326 CAT->getSizeExpr(), in getAsArrayType() 7337 DSAT->getSizeExpr(), in getAsArrayType() 7344 VAT->getSizeExpr(), in getAsArrayType() [all …]
|
H A D | ASTDiagnostic.cpp | 144 ElementTy, CAT->getSize(), CAT->getSizeExpr(), in desugarForDiagnostic() 148 ElementTy, VAT->getSizeExpr(), VAT->getSizeModifier(), in desugarForDiagnostic() 152 ElementTy, DSAT->getSizeExpr(), DSAT->getSizeModifier(), in desugarForDiagnostic()
|
H A D | ItaniumMangle.cpp | 3678 if (T->getSizeExpr()) in mangleType() 3679 mangleExpression(T->getSizeExpr()); in mangleType() 3688 if (T->getSizeExpr()) in mangleType() 3689 mangleExpression(T->getSizeExpr()); in mangleType() 4150 mangleExpression(T->getSizeExpr()); in mangleType() 4165 mangleExpression(T->getSizeExpr()); in mangleType()
|
H A D | Type.cpp | 1043 return Ctx.getConstantArrayType(elementType, T->getSize(), T->getSizeExpr(), in VisitConstantArrayType() 1056 return Ctx.getVariableArrayType(elementType, T->getSizeExpr(), in VisitVariableArrayType() 5007 cast<VariableArrayType>(arr)->getSizeExpr()) in hasSizedVLAType()
|
H A D | ASTImporter.cpp | 1217 auto ToSizeExpr = importChecked(Err, T->getSizeExpr()); in VisitConstantArrayType() 1250 Expr *ToSizeExpr = importChecked(Err, T->getSizeExpr()); in VisitVariableArrayType() 1263 Expr *ToSizeExpr = importChecked(Err, T->getSizeExpr()); in VisitDependentSizedArrayType() 1279 Expr *ToSizeExpr = importChecked(Err, T->getSizeExpr()); in VisitDependentSizedExtVectorType() 1833 Expr *ToSizeExpr = importChecked(Err, T->getSizeExpr()); in VisitDependentVectorType() 3600 if (T->getSizeExpr() && isAncestorDeclContextOf(ParentDC, T->getSizeExpr())) in VisitConstantArrayType()
|
H A D | DeclBase.cpp | 493 dyn_cast_if_present<IntegerLiteral>(CTL.getSizeExpr()); in isFlexibleArrayMemberLike()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTNodeTraverser.h | 402 Visit(T->getSizeExpr()); in VisitVariableArrayType() 406 Visit(T->getSizeExpr()); in VisitDependentSizedArrayType() 410 Visit(T->getSizeExpr()); in VisitDependentSizedExtVectorType() 486 Visit(TL.getSizeExpr()); in VisitVariableArrayTypeLoc() 489 Visit(TL.getSizeExpr()); in VisitDependentSizedArrayTypeLoc() 492 Visit(cast<DependentSizedExtVectorType>(TL.getType())->getSizeExpr()); in VisitDependentSizedExtVectorTypeLoc()
|
H A D | RecursiveASTVisitor.h | 1013 if (T->getSizeExpr()) 1014 TRY_TO(TraverseStmt(const_cast<Expr*>(T->getSizeExpr()))); 1019 if (T->getSizeExpr()) 1020 TRY_TO(TraverseStmt(const_cast<Expr *>(T->getSizeExpr()))); 1028 TRY_TO(TraverseStmt(T->getSizeExpr())); 1033 if (T->getSizeExpr()) 1034 TRY_TO(TraverseStmt(T->getSizeExpr())); 1043 if (T->getSizeExpr()) 1044 TRY_TO(TraverseStmt(T->getSizeExpr())); 1049 if (T->getSizeExpr()) [all …]
|
H A D | TypeProperties.td | 129 let Read = [{ node->getSizeExpr() }]; 161 let Read = [{ node->getSizeExpr() }]; 174 let Read = [{ node->getSizeExpr() }]; 212 let Read = [{ node->getSizeExpr() }]; 242 let Read = [{ node->getSizeExpr() }];
|
H A D | Type.h | 3674 const Expr *getSizeExpr() const { 3694 Profile(ID, Ctx, getElementType(), getZExtSize(), getSizeExpr(), 3788 Expr *getSizeExpr() const { 3843 Expr *getSizeExpr() const { 3862 getSizeModifier(), getIndexTypeCVRQualifiers(), getSizeExpr()); 3935 Expr *getSizeExpr() const { return SizeExpr; } 3947 Profile(ID, Context, getElementType(), getSizeExpr()); 4054 Expr *getSizeExpr() const { return SizeExpr; } 4069 Profile(ID, Context, getElementType(), getSizeExpr(), getVectorKind());
|
H A D | CanonicalType.h | 469 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const Expr *, getSizeExpr)
|
H A D | TypeLoc.h | 1583 Expr *getSizeExpr() const { in getSizeExpr() function 1632 setSizeExpr(getTypePtr()->getSizeExpr()); in initializeLocal()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | LiveVariables.cpp | 185 if (VAT->getSizeExpr()) in FindVA() 258 AddLiveExpr(val.liveExprs, LV.ESetFact, VA->getSizeExpr()); in Visit()
|
H A D | CFG.cpp | 1416 if (vat->getSizeExpr()) in FindVA() 2954 if (CFGBlock *NewBlock = addStmt(VA->getSizeExpr())) in VisitDeclSubExpr() 3048 if (CFGBlock *newBlock = addStmt(VA->getSizeExpr())) in VisitDeclSubExpr() 4314 lastBlock = addStmt(VA->getSizeExpr()); in VisitUnaryExprOrTypeTraitExpr()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | VLASizeChecker.cpp | 84 const Expr *SizeE = VLA->getSizeExpr(); in checkVLA()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateDeduction.cpp | 1905 getDeducedParameterFromExpr(Info, DAP->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 1920 if (DAA->getSizeExpr()) in DeduceTemplateArgumentsByTypeMatch() 1922 S, TemplateParams, NTTP, DAA->getSizeExpr(), Info, Deduced); in DeduceTemplateArgumentsByTypeMatch() 2131 getDeducedParameterFromExpr(Info, VP->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 2155 getDeducedParameterFromExpr(Info, VP->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 2160 VA->getSizeExpr(), Info, Deduced); in DeduceTemplateArgumentsByTypeMatch() 2182 getDeducedParameterFromExpr(Info, VP->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 2206 getDeducedParameterFromExpr(Info, VP->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 2211 VA->getSizeExpr(), Info, Deduced); in DeduceTemplateArgumentsByTypeMatch() 4306 getDeducedParameterFromExpr(Info, DependentArrTy->getSizeExpr())) { in DeduceFromInitializerList() [all …]
|
H A D | TreeTransform.h | 5477 Expr *OldSize = TL.getSizeExpr(); in TransformConstantArrayType() 5479 OldSize = const_cast<Expr*>(T->getSizeExpr()); in TransformConstantArrayType() 5491 (T->getSizeExpr() && NewSize != OldSize)) { in TransformConstantArrayType() 5554 SizeResult = getDerived().TransformExpr(T->getSizeExpr()); in TransformVariableArrayType() 5568 Size != T->getSizeExpr()) { in TransformVariableArrayType() 5605 Expr *origSize = TL.getSizeExpr(); in TransformDependentSizedArrayType() 5606 if (!origSize) origSize = T->getSizeExpr(); in TransformDependentSizedArrayType() 5650 ExprResult Size = getDerived().TransformExpr(T->getSizeExpr()); in TransformDependentVectorType() 5657 Size.get() != T->getSizeExpr()) { in TransformDependentVectorType() 5692 ExprResult Size = getDerived().TransformExpr(T->getSizeExpr()); in TransformDependentSizedExtVectorType() [all …]
|
H A D | SemaInit.cpp | 2094 SemaRef.Diag(VAT->getSizeExpr()->getBeginLoc(), in CheckArrayType() 2096 << VAT->getSizeExpr()->getSourceRange(); in CheckArrayType() 5619 const Expr *SE = VAT->getSizeExpr(); in TryOrBuildParenListInitialization() 8225 ConstantSource->getSizeExpr(), ArraySizeModifier::Normal, 0); in Perform()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenFunction.cpp | 1270 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in StartFunction() 2322 llvm::Value *vlaSize = VLASizeMap[type->getSizeExpr()]; in getVLASize() 2347 llvm::Value *VlaSize = VLASizeMap[Vla->getSizeExpr()]; in getVLAElements1D() 2434 if (const Expr *sizeExpr = vat->getSizeExpr()) { in EmitVariablyModifiedType()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineCXX.cpp | 1234 Expr *SizeExpr = FieldForCapture->getCapturedVLAType()->getSizeExpr(); in VisitLambdaExpr()
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
H A D | BuildTree.cpp | 1358 Builder.markExprChild(L.getSizeExpr(), syntax::NodeRole::Size); in WalkUpFromArrayTypeLoc()
|