Home
last modified time | relevance | path

Searched refs:getSizeExpr (Results 1 – 25 of 70) sorted by relevance

123

/external/llvm-project/clang/lib/AST/
DTypePrinter.cpp551 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 …]
DStmtIterator.cpp28 if (vat->getSizeExpr()) in FindVA()
DASTStructuralEquivalence.cpp753 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()
DODRHash.cpp807 AddStmt(T->getSizeExpr()); in VisitDependentSizedArrayType()
816 AddStmt(T->getSizeExpr()); in VisitVariableArrayType()
884 AddStmt(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
/external/clang/lib/AST/
DStmtIterator.cpp24 if (vat->getSizeExpr()) in FindVA()
DTypePrinter.cpp486 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()
DASTDumper.cpp288 dumpStmt(T->getSizeExpr()); in VisitVariableArrayType()
294 dumpStmt(T->getSizeExpr()); in VisitDependentSizedArrayType()
301 dumpStmt(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
/external/llvm-project/clang/include/clang/AST/
DRecursiveASTVisitor.h905 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 …]
DTypeProperties.td110 let Read = [{ node->getSizeExpr() }];
135 let Read = [{ node->getSizeExpr() }];
148 let Read = [{ node->getSizeExpr() }];
186 let Read = [{ node->getSizeExpr() }];
216 let Read = [{ node->getSizeExpr() }];
DASTNodeTraverser.h334 Visit(T->getSizeExpr()); in VisitVariableArrayType()
338 Visit(T->getSizeExpr()); in VisitDependentSizedArrayType()
342 Visit(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
DType.h2936 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());
DCanonicalType.h470 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const Expr *, getSizeExpr)
/external/clang/lib/StaticAnalyzer/Checkers/
DVLASizeChecker.cpp95 const Expr *SE = VLA->getSizeExpr(); in checkPreStmt()
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h947 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()));
DCanonicalType.h452 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const Expr *, getSizeExpr)
DType.h2623 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/
DLiveVariables.cpp221 if (VAT->getSizeExpr()) in FindVA()
294 AddLiveStmt(val.liveStmts, LV.SSetFact, VA->getSizeExpr()); in Visit()
/external/llvm-project/clang/lib/Sema/
DSemaTemplateDeduction.cpp1782 = 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/
DVLASizeChecker.cpp84 const Expr *SizeE = VLA->getSizeExpr(); in checkVLA()
/external/llvm-project/clang/lib/Analysis/
DLiveVariables.cpp179 if (VAT->getSizeExpr()) in FindVA()
252 AddLiveExpr(val.liveExprs, LV.ESetFact, VA->getSizeExpr()); in Visit()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp1340 = 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/
DNotNullTerminatedResultCheck.cpp51 return DestVAT->getSizeExpr(); in getDestCapacityExpr()
56 return DestCTL.getSizeExpr(); in getDestCapacityExpr()
/external/llvm-project/clang/lib/CodeGen/
DCodeGenFunction.cpp1117 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/
DCodeGenFunction.cpp872 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/
DExprEngineCXX.cpp602 Expr *SizeExpr = FieldForCapture->getCapturedVLAType()->getSizeExpr(); in VisitLambdaExpr()

123