/external/llvm-project/clang/lib/AST/ |
D | TypePrinter.cpp | 551 if (T->getSizeExpr()) in printVariableArrayAfter() 552 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printVariableArrayAfter() 589 if (T->getSizeExpr()) in printDependentSizedArrayAfter() 590 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedArrayAfter() 619 if (T->getSizeExpr()) in printDependentSizedExtVectorAfter() 620 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedExtVectorAfter() 700 if (T->getSizeExpr()) in printDependentVectorBefore() 701 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentVectorBefore() 707 if (T->getSizeExpr()) in printDependentVectorBefore() 708 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentVectorBefore() [all …]
|
D | StmtIterator.cpp | 28 if (vat->getSizeExpr()) in FindVA()
|
D | ASTStructuralEquivalence.cpp | 753 if (!IsStructurallyEquivalent(Context, Array1->getSizeExpr(), in IsStructurallyEquivalent() 754 Array2->getSizeExpr())) in IsStructurallyEquivalent() 766 if (!IsStructurallyEquivalent(Context, Array1->getSizeExpr(), in IsStructurallyEquivalent() 767 Array2->getSizeExpr())) in IsStructurallyEquivalent() 792 if (!IsStructurallyEquivalent(Context, Vec1->getSizeExpr(), in IsStructurallyEquivalent() 793 Vec2->getSizeExpr())) in IsStructurallyEquivalent() 806 if (!IsStructurallyEquivalent(Context, Vec1->getSizeExpr(), in IsStructurallyEquivalent() 807 Vec2->getSizeExpr())) in IsStructurallyEquivalent()
|
D | ODRHash.cpp | 807 AddStmt(T->getSizeExpr()); in VisitDependentSizedArrayType() 816 AddStmt(T->getSizeExpr()); in VisitVariableArrayType() 884 AddStmt(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
|
/external/clang/lib/AST/ |
D | StmtIterator.cpp | 24 if (vat->getSizeExpr()) in FindVA()
|
D | TypePrinter.cpp | 486 if (T->getSizeExpr()) in printVariableArrayAfter() 487 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printVariableArrayAfter() 521 if (T->getSizeExpr()) in printDependentSizedArrayAfter() 522 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedArrayAfter() 536 if (T->getSizeExpr()) in printDependentSizedExtVectorAfter() 537 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedExtVectorAfter()
|
D | ASTDumper.cpp | 288 dumpStmt(T->getSizeExpr()); in VisitVariableArrayType() 294 dumpStmt(T->getSizeExpr()); in VisitDependentSizedArrayType() 301 dumpStmt(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
|
/external/llvm-project/clang/include/clang/AST/ |
D | RecursiveASTVisitor.h | 905 if (T->getSizeExpr()) 906 TRY_TO(TraverseStmt(const_cast<Expr*>(T->getSizeExpr()))); 914 TRY_TO(TraverseStmt(T->getSizeExpr())); 919 if (T->getSizeExpr()) 920 TRY_TO(TraverseStmt(T->getSizeExpr())); 929 if (T->getSizeExpr()) 930 TRY_TO(TraverseStmt(T->getSizeExpr())); 935 if (T->getSizeExpr()) 936 TRY_TO(TraverseStmt(T->getSizeExpr())); 1153 TRY_TO(TraverseStmt(TL.getSizeExpr())); [all …]
|
D | TypeProperties.td | 110 let Read = [{ node->getSizeExpr() }]; 135 let Read = [{ node->getSizeExpr() }]; 148 let Read = [{ node->getSizeExpr() }]; 186 let Read = [{ node->getSizeExpr() }]; 216 let Read = [{ node->getSizeExpr() }];
|
D | ASTNodeTraverser.h | 334 Visit(T->getSizeExpr()); in VisitVariableArrayType() 338 Visit(T->getSizeExpr()); in VisitDependentSizedArrayType() 342 Visit(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
|
D | Type.h | 2936 const Expr *getSizeExpr() const { 2955 Profile(ID, Ctx, getElementType(), getSize(), getSizeExpr(), 3035 Expr *getSizeExpr() const { 3092 Expr *getSizeExpr() const { 3111 getSizeModifier(), getIndexTypeCVRQualifiers(), getSizeExpr()); 3187 Expr *getSizeExpr() const { return SizeExpr; } 3199 Profile(ID, Context, getElementType(), getSizeExpr()); 3304 Expr *getSizeExpr() const { return SizeExpr; } 3319 Profile(ID, Context, getElementType(), getSizeExpr(), getVectorKind());
|
D | CanonicalType.h | 470 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const Expr *, getSizeExpr)
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | VLASizeChecker.cpp | 95 const Expr *SE = VLA->getSizeExpr(); in checkPreStmt()
|
/external/clang/include/clang/AST/ |
D | RecursiveASTVisitor.h | 947 TRY_TO(TraverseStmt(T->getSizeExpr())); 952 if (T->getSizeExpr()) 953 TRY_TO(TraverseStmt(T->getSizeExpr())); 957 if (T->getSizeExpr()) 958 TRY_TO(TraverseStmt(T->getSizeExpr())); 1132 TRY_TO(TraverseStmt(TL.getSizeExpr())); 1159 if (TL.getTypePtr()->getSizeExpr()) 1160 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
|
D | CanonicalType.h | 452 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const Expr *, getSizeExpr)
|
D | Type.h | 2623 Expr *getSizeExpr() const { 2679 Expr *getSizeExpr() const { 2700 getSizeModifier(), getIndexTypeCVRQualifiers(), getSizeExpr()); 2731 Expr *getSizeExpr() const { return SizeExpr; } 2743 Profile(ID, Context, getElementType(), getSizeExpr());
|
/external/clang/lib/Analysis/ |
D | LiveVariables.cpp | 221 if (VAT->getSizeExpr()) in FindVA() 294 AddLiveStmt(val.liveStmts, LV.SSetFact, VA->getSizeExpr()); in Visit()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 1782 = getDeducedParameterFromExpr(Info, DependentArrayParm->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 1800 if (DependentArrayArg->getSizeExpr()) in DeduceTemplateArgumentsByTypeMatch() 1802 DependentArrayArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch() 2040 getDeducedParameterFromExpr(Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 2064 Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 2069 S, TemplateParams, NTTP, VectorArg->getSizeExpr(), Info, Deduced); in DeduceTemplateArgumentsByTypeMatch() 2093 getDeducedParameterFromExpr(Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 2119 getDeducedParameterFromExpr(Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 2124 VectorArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch() 4007 getDeducedParameterFromExpr(Info, DependentArrTy->getSizeExpr())) { in DeduceFromInitializerList() [all …]
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | VLASizeChecker.cpp | 84 const Expr *SizeE = VLA->getSizeExpr(); in checkVLA()
|
/external/llvm-project/clang/lib/Analysis/ |
D | LiveVariables.cpp | 179 if (VAT->getSizeExpr()) in FindVA() 252 AddLiveExpr(val.liveExprs, LV.ESetFact, VA->getSizeExpr()); in Visit()
|
/external/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 1340 = getDeducedParameterFromExpr(DependentArrayParm->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 1358 if (DependentArrayArg->getSizeExpr()) in DeduceTemplateArgumentsByTypeMatch() 1360 DependentArrayArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch() 1625 = getDeducedParameterFromExpr(VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 1647 = getDeducedParameterFromExpr(VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 1651 return DeduceNonTypeTemplateArgument(S, NTTP, VectorArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch() 3253 getDeducedParameterFromExpr(ArrTy->getSizeExpr())) { in DeduceFromInitializerList() 4778 cast<DependentSizedArrayType>(T)->getSizeExpr(), in MarkUsedTemplateParameters() 4801 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | NotNullTerminatedResultCheck.cpp | 51 return DestVAT->getSizeExpr(); in getDestCapacityExpr() 56 return DestCTL.getSizeExpr(); in getDestCapacityExpr()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 1117 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in StartFunction() 1983 llvm::Value *vlaSize = VLASizeMap[type->getSizeExpr()]; in getVLASize() 2008 llvm::Value *VlaSize = VLASizeMap[Vla->getSizeExpr()]; in getVLAElements1D() 2090 if (const Expr *size = vat->getSizeExpr()) { in EmitVariablyModifiedType()
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 872 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in StartFunction() 1648 llvm::Value *vlaSize = VLASizeMap[type->getSizeExpr()]; in getVLASize() 1737 if (const Expr *size = vat->getSizeExpr()) { in EmitVariablyModifiedType()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineCXX.cpp | 602 Expr *SizeExpr = FieldForCapture->getCapturedVLAType()->getSizeExpr(); in VisitLambdaExpr()
|