Home
last modified time | relevance | path

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

12

/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()
DItaniumMangle.cpp2630 if (T->getSizeExpr()) in mangleType()
2631 mangleExpression(T->getSizeExpr()); in mangleType()
2637 mangleExpression(T->getSizeExpr()); in mangleType()
2872 mangleExpression(T->getSizeExpr()); in mangleType()
DASTImporter.cpp583 Array1->getSizeExpr(), Array2->getSizeExpr())) in IsStructurallyEquivalent()
596 Array1->getSizeExpr(), Array2->getSizeExpr())) in IsStructurallyEquivalent()
611 Vec1->getSizeExpr(), Vec2->getSizeExpr())) in IsStructurallyEquivalent()
1680 Expr *Size = Importer.Import(T->getSizeExpr()); in VisitVariableArrayType()
DASTContext.cpp2713 dat->getSizeExpr(), in getVariableArrayDecayedType()
2834 canonTy->getSizeExpr() == numElements) in getDependentSizedArrayType()
4233 VAT->getSizeExpr(), in getUnqualifiedArrayType()
4240 return getDependentSizedArrayType(unqualElementType, DSAT->getSizeExpr(), in getUnqualifiedArrayType()
4538 DSAT->getSizeExpr(), in getAsArrayType()
4545 VAT->getSizeExpr(), in getAsArrayType()
DType.cpp773 return Ctx.getVariableArrayType(elementType, T->getSizeExpr(), in VisitVariableArrayType()
3750 cast<VariableArrayType>(arr)->getSizeExpr()) in hasSizedVLAType()
DMicrosoftMangle.cpp2144 Diags.Report(DSAT->getSizeExpr()->getExprLoc(), DiagID) in mangleArrayType()
/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());
DTypeLoc.h1381 Expr *getSizeExpr() const { in getSizeExpr() function
/external/clang/lib/Analysis/
DLiveVariables.cpp221 if (VAT->getSizeExpr()) in FindVA()
294 AddLiveStmt(val.liveStmts, LV.SSetFact, VA->getSizeExpr()); in Visit()
DCFG.cpp1008 if (vat->getSizeExpr()) in FindVA()
2139 if (CFGBlock *newBlock = addStmt(VA->getSizeExpr())) in VisitDeclSubExpr()
3052 lastBlock = addStmt(VA->getSizeExpr()); in VisitUnaryExprOrTypeTraitExpr()
/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()
DTreeTransform.h4425 Expr *Size = TL.getSizeExpr(); in TransformConstantArrayType()
4475 = getDerived().TransformExpr(T->getSizeExpr()); in TransformVariableArrayType()
4484 Size != T->getSizeExpr()) { in TransformVariableArrayType()
4518 Expr *origSize = TL.getSizeExpr(); in TransformDependentSizedArrayType()
4519 if (!origSize) origSize = T->getSizeExpr(); in TransformDependentSizedArrayType()
4567 ExprResult Size = getDerived().TransformExpr(T->getSizeExpr()); in TransformDependentSizedExtVectorType()
4575 Size.get() != T->getSizeExpr()) { in TransformDependentSizedExtVectorType()
9517 if (DepArrayT->getSizeExpr()) { in TransformCXXNewExpr()
9518 ArraySize = DepArrayT->getSizeExpr(); in TransformCXXNewExpr()
DSemaDecl.cpp5198 if (!VLATy->getSizeExpr() || in TryToFixInvalidVariablyModifiedType()
5199 !VLATy->getSizeExpr()->EvaluateAsInt(Res, Context)) in TryToFixInvalidVariablyModifiedType()
5246 DstATL.setSizeExpr(SrcATL.getSizeExpr()); in FixInvalidVariablyModifiedTypeLoc()
6906 SourceRange SizeRange = VAT->getSizeExpr()->getSourceRange(); in CheckVariableDeclarationType()
/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()
DCGStmt.cpp2165 EmitStoreThroughLValue(RValue::get(VLASizeMap[VAT->getSizeExpr()]), LV); in InitCapturedStruct()
2241 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in GenerateCapturedStmtFunction()
DCGStmtOpenMP.cpp135 auto *Val = VLASizeMap[VAT->getSizeExpr()]; in GenerateOpenMPCapturedVars()
284 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in GenerateOpenMPCapturedStmtFunction()
984 ->getSizeExpr()), in EmitOMPReductionClauseInit()
1073 ->getSizeExpr()), in EmitOMPReductionClauseInit()
DCGExprCXX.cpp1950 EmitStoreThroughLValue(RValue::get(VLASizeMap[VAT->getSizeExpr()]), LV); in EmitLambdaExpr()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp602 Expr *SizeExpr = FieldForCapture->getCapturedVLAType()->getSizeExpr(); in VisitLambdaExpr()
/external/clang/lib/Serialization/
DASTWriter.cpp200 Record.AddStmt(T->getSizeExpr()); in VisitVariableArrayType()
379 Record.AddStmt(T->getSizeExpr()); in VisitDependentSizedArrayType()
544 Record.push_back(TL.getSizeExpr() ? 1 : 0); in VisitArrayTypeLoc()
545 if (TL.getSizeExpr()) in VisitArrayTypeLoc()
546 Record.AddStmt(TL.getSizeExpr()); in VisitArrayTypeLoc()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h4527 return InnerMatcher.matches(*Node.getSizeExpr(), Finder, Builder); in AST_MATCHER_P()

12