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.cpp481 if (T->getSizeExpr()) in printVariableArrayAfter()
482 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printVariableArrayAfter()
516 if (T->getSizeExpr()) in printDependentSizedArrayAfter()
517 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedArrayAfter()
531 if (T->getSizeExpr()) in printDependentSizedExtVectorAfter()
532 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedExtVectorAfter()
DASTDumper.cpp286 dumpStmt(T->getSizeExpr()); in VisitVariableArrayType()
292 dumpStmt(T->getSizeExpr()); in VisitDependentSizedArrayType()
299 dumpStmt(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
DItaniumMangle.cpp2248 if (T->getSizeExpr()) in mangleType()
2249 mangleExpression(T->getSizeExpr()); in mangleType()
2255 mangleExpression(T->getSizeExpr()); in mangleType()
2490 mangleExpression(T->getSizeExpr()); in mangleType()
DASTImporter.cpp528 Array1->getSizeExpr(), Array2->getSizeExpr())) in IsStructurallyEquivalent()
541 Array1->getSizeExpr(), Array2->getSizeExpr())) in IsStructurallyEquivalent()
556 Vec1->getSizeExpr(), Vec2->getSizeExpr())) in IsStructurallyEquivalent()
1597 Expr *Size = Importer.Import(T->getSizeExpr()); in VisitVariableArrayType()
DASTContext.cpp2703 dat->getSizeExpr(), in getVariableArrayDecayedType()
2824 canonTy->getSizeExpr() == numElements) in getDependentSizedArrayType()
4179 VAT->getSizeExpr(), in getUnqualifiedArrayType()
4186 return getDependentSizedArrayType(unqualElementType, DSAT->getSizeExpr(), in getUnqualifiedArrayType()
4484 DSAT->getSizeExpr(), in getAsArrayType()
4491 VAT->getSizeExpr(), in getAsArrayType()
DType.cpp773 return Ctx.getVariableArrayType(elementType, T->getSizeExpr(), in VisitVariableArrayType()
3750 cast<VariableArrayType>(arr)->getSizeExpr()) in hasSizedVLAType()
DMicrosoftMangle.cpp2068 Diags.Report(DSAT->getSizeExpr()->getExprLoc(), DiagID) in mangleArrayType()
/external/clang/lib/StaticAnalyzer/Checkers/
DVLASizeChecker.cpp96 const Expr *SE = VLA->getSizeExpr(); in checkPreStmt()
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h874 TRY_TO(TraverseStmt(T->getSizeExpr()));
879 if (T->getSizeExpr())
880 TRY_TO(TraverseStmt(T->getSizeExpr()));
884 if (T->getSizeExpr())
885 TRY_TO(TraverseStmt(T->getSizeExpr()));
1057 TRY_TO(TraverseStmt(TL.getSizeExpr()));
1084 if (TL.getTypePtr()->getSizeExpr())
1085 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
DCanonicalType.h452 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const Expr *, getSizeExpr)
DType.h2590 Expr *getSizeExpr() const {
2646 Expr *getSizeExpr() const {
2667 getSizeModifier(), getIndexTypeCVRQualifiers(), getSizeExpr());
2698 Expr *getSizeExpr() const { return SizeExpr; }
2710 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()
2138 if (CFGBlock *newBlock = addStmt(VA->getSizeExpr())) in VisitDeclSubExpr()
3038 lastBlock = addStmt(VA->getSizeExpr()); in VisitUnaryExprOrTypeTraitExpr()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp1344 = getDeducedParameterFromExpr(DependentArrayParm->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
1362 if (DependentArrayArg->getSizeExpr()) in DeduceTemplateArgumentsByTypeMatch()
1364 DependentArrayArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch()
1613 = getDeducedParameterFromExpr(VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
1635 = getDeducedParameterFromExpr(VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
1639 return DeduceNonTypeTemplateArgument(S, NTTP, VectorArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch()
3261 getDeducedParameterFromExpr(ArrTy->getSizeExpr())) { in DeduceFromInitializerList()
4788 cast<DependentSizedArrayType>(T)->getSizeExpr(), in MarkUsedTemplateParameters()
4811 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
DTreeTransform.h4319 Expr *Size = TL.getSizeExpr(); in TransformConstantArrayType()
4369 = getDerived().TransformExpr(T->getSizeExpr()); in TransformVariableArrayType()
4378 Size != T->getSizeExpr()) { in TransformVariableArrayType()
4412 Expr *origSize = TL.getSizeExpr(); in TransformDependentSizedArrayType()
4413 if (!origSize) origSize = T->getSizeExpr(); in TransformDependentSizedArrayType()
4461 ExprResult Size = getDerived().TransformExpr(T->getSizeExpr()); in TransformDependentSizedExtVectorType()
4469 Size.get() != T->getSizeExpr()) { in TransformDependentSizedExtVectorType()
9210 if (DepArrayT->getSizeExpr()) { in TransformCXXNewExpr()
9211 ArraySize = DepArrayT->getSizeExpr(); in TransformCXXNewExpr()
DSemaDecl.cpp5063 if (!VLATy->getSizeExpr() || in TryToFixInvalidVariablyModifiedType()
5064 !VLATy->getSizeExpr()->EvaluateAsInt(Res, Context)) in TryToFixInvalidVariablyModifiedType()
5111 DstATL.setSizeExpr(SrcATL.getSizeExpr()); in FixInvalidVariablyModifiedTypeLoc()
6627 SourceRange SizeRange = VAT->getSizeExpr()->getSourceRange(); in CheckVariableDeclarationType()
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp821 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in StartFunction()
1579 llvm::Value *vlaSize = VLASizeMap[type->getSizeExpr()]; in getVLASize()
1668 if (const Expr *size = vat->getSizeExpr()) { in EmitVariablyModifiedType()
DCGStmt.cpp2100 EmitStoreThroughLValue(RValue::get(VLASizeMap[VAT->getSizeExpr()]), LV); in InitCapturedStruct()
2177 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in GenerateCapturedStmtFunction()
DCGStmtOpenMP.cpp33 auto *Val = VLASizeMap[VAT->getSizeExpr()]; in GenerateOpenMPCapturedVars()
159 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in GenerateOpenMPCapturedStmtFunction()
715 ->getSizeExpr()), in EmitOMPReductionClauseInit()
DCGExprCXX.cpp1942 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.cpp176 Writer.AddStmt(T->getSizeExpr()); in VisitVariableArrayType()
349 Writer.AddStmt(T->getSizeExpr()); in VisitDependentSizedArrayType()
510 Record.push_back(TL.getSizeExpr() ? 1 : 0); in VisitArrayTypeLoc()
511 if (TL.getSizeExpr()) in VisitArrayTypeLoc()
512 Writer.AddStmt(TL.getSizeExpr()); in VisitArrayTypeLoc()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h3912 return InnerMatcher.matches(*Node.getSizeExpr(), Finder, Builder); in AST_MATCHER_P()

12