Home
last modified time | relevance | path

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

12

/minix/external/bsd/llvm/dist/clang/lib/AST/
H A DStmtIterator.cpp24 if (vat->getSizeExpr()) in FindVA()
H A DTypePrinter.cpp477 if (T->getSizeExpr()) in printVariableArrayAfter()
478 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printVariableArrayAfter()
512 if (T->getSizeExpr()) in printDependentSizedArrayAfter()
513 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedArrayAfter()
527 if (T->getSizeExpr()) in printDependentSizedExtVectorAfter()
528 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedExtVectorAfter()
H A DItaniumMangle.cpp2085 if (T->getSizeExpr()) in mangleType()
2086 mangleExpression(T->getSizeExpr()); in mangleType()
2092 mangleExpression(T->getSizeExpr()); in mangleType()
2326 mangleExpression(T->getSizeExpr()); in mangleType()
H A DASTDumper.cpp282 dumpStmt(T->getSizeExpr()); in VisitVariableArrayType()
288 dumpStmt(T->getSizeExpr()); in VisitDependentSizedArrayType()
295 dumpStmt(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
H A DASTImporter.cpp484 Array1->getSizeExpr(), Array2->getSizeExpr())) in IsStructurallyEquivalent()
497 Array1->getSizeExpr(), Array2->getSizeExpr())) in IsStructurallyEquivalent()
512 Vec1->getSizeExpr(), Vec2->getSizeExpr())) in IsStructurallyEquivalent()
1553 Expr *Size = Importer.Import(T->getSizeExpr()); in VisitVariableArrayType()
H A DMicrosoftMangle.cpp1805 Diags.Report(VAT->getSizeExpr()->getExprLoc(), DiagID) in mangleArrayType()
1815 Diags.Report(DSAT->getSizeExpr()->getExprLoc(), DiagID) in mangleArrayType()
H A DASTContext.cpp2569 dat->getSizeExpr(), in getVariableArrayDecayedType()
3997 VAT->getSizeExpr(), in getUnqualifiedArrayType()
4004 return getDependentSizedArrayType(unqualElementType, DSAT->getSizeExpr(), in getUnqualifiedArrayType()
4303 DSAT->getSizeExpr(), in getAsArrayType()
4310 VAT->getSizeExpr(), in getAsArrayType()
H A DType.cpp2432 cast<VariableArrayType>(arr)->getSizeExpr()) in hasSizedVLAType()
/minix/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DVLASizeChecker.cpp96 const Expr *SE = VLA->getSizeExpr(); in checkPreStmt()
/minix/external/bsd/llvm/dist/clang/include/clang/AST/
H A DRecursiveASTVisitor.h914 TRY_TO(TraverseStmt(T->getSizeExpr()));
919 if (T->getSizeExpr())
920 TRY_TO(TraverseStmt(T->getSizeExpr()));
924 if (T->getSizeExpr())
925 TRY_TO(TraverseStmt(T->getSizeExpr()));
1094 TRY_TO(TraverseStmt(TL.getSizeExpr())); in TraverseArrayTypeLocHelper()
1121 if (TL.getTypePtr()->getSizeExpr())
1122 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
H A DDataRecursiveASTVisitor.h849 TRY_TO(TraverseStmt(T->getSizeExpr()));
854 if (T->getSizeExpr())
855 TRY_TO(TraverseStmt(T->getSizeExpr()));
859 if (T->getSizeExpr())
860 TRY_TO(TraverseStmt(T->getSizeExpr()));
1029 TRY_TO(TraverseStmt(TL.getSizeExpr())); in TraverseArrayTypeLocHelper()
1056 if (TL.getTypePtr()->getSizeExpr())
1057 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
H A DCanonicalType.h525 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const Expr *, getSizeExpr)
H A DType.h2439 Expr *getSizeExpr() const {
2495 Expr *getSizeExpr() const {
2516 getSizeModifier(), getIndexTypeCVRQualifiers(), getSizeExpr());
2545 Expr *getSizeExpr() const { return SizeExpr; }
2557 Profile(ID, Context, getElementType(), getSizeExpr());
H A DTypeLoc.h1299 Expr *getSizeExpr() const { in getSizeExpr() function
/minix/external/bsd/llvm/dist/clang/lib/Analysis/
H A DLiveVariables.cpp221 if (VAT->getSizeExpr()) in FindVA()
294 AddLiveStmt(val.liveStmts, LV.SSetFact, VA->getSizeExpr()); in Visit()
H A DCFG.cpp960 if (vat->getSizeExpr()) in FindVA()
2073 if (CFGBlock *newBlock = addStmt(VA->getSizeExpr())) in VisitDeclSubExpr()
2961 lastBlock = addStmt(VA->getSizeExpr()); in VisitUnaryExprOrTypeTraitExpr()
/minix/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp1380 = getDeducedParameterFromExpr(DependentArrayParm->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
1398 if (DependentArrayArg->getSizeExpr()) in DeduceTemplateArgumentsByTypeMatch()
1400 DependentArrayArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch()
1640 = getDeducedParameterFromExpr(VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
1662 = getDeducedParameterFromExpr(VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
1666 return DeduceNonTypeTemplateArgument(S, NTTP, VectorArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch()
4825 cast<DependentSizedArrayType>(T)->getSizeExpr(), in MarkUsedTemplateParameters()
4848 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
H A DTreeTransform.h4108 Expr *Size = TL.getSizeExpr(); in TransformConstantArrayType()
4158 = getDerived().TransformExpr(T->getSizeExpr()); in TransformVariableArrayType()
4167 Size != T->getSizeExpr()) { in TransformVariableArrayType()
4201 Expr *origSize = TL.getSizeExpr(); in TransformDependentSizedArrayType()
4202 if (!origSize) origSize = T->getSizeExpr(); in TransformDependentSizedArrayType()
4250 ExprResult Size = getDerived().TransformExpr(T->getSizeExpr()); in TransformDependentSizedExtVectorType()
4258 Size.get() != T->getSizeExpr()) { in TransformDependentSizedExtVectorType()
8500 if (DepArrayT->getSizeExpr()) { in TransformCXXNewExpr()
8501 ArraySize = DepArrayT->getSizeExpr(); in TransformCXXNewExpr()
H A DSemaDecl.cpp4745 if (!VLATy->getSizeExpr() || in TryToFixInvalidVariablyModifiedType()
4746 !VLATy->getSizeExpr()->EvaluateAsInt(Res, Context)) in TryToFixInvalidVariablyModifiedType()
4791 DstATL.setSizeExpr(SrcATL.getSizeExpr()); in FixInvalidVariablyModifiedTypeLoc()
6160 SourceRange SizeRange = VAT->getSizeExpr()->getSourceRange(); in CheckVariableDeclarationType()
H A DSemaInit.cpp1389 SemaRef.Diag(VAT->getSizeExpr()->getLocStart(), in CheckArrayType()
1391 << VAT->getSizeExpr()->getSourceRange(); in CheckArrayType()
/minix/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCodeGenFunction.cpp720 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in StartFunction()
1459 llvm::Value *vlaSize = VLASizeMap[type->getSizeExpr()]; in getVLASize()
1548 if (const Expr *size = vat->getSizeExpr()) { in EmitVariablyModifiedType()
H A DCGStmt.cpp2131 EmitStoreThroughLValue(RValue::get(VLASizeMap[VAT->getSizeExpr()]), LV); in InitCapturedStruct()
2208 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in GenerateCapturedStmtFunction()
H A DCGExprCXX.cpp1829 EmitStoreThroughLValue(RValue::get(VLASizeMap[VAT->getSizeExpr()]), LV); in EmitLambdaExpr()
/minix/external/bsd/llvm/dist/clang/lib/Serialization/
H A DASTWriter.cpp171 Writer.AddStmt(T->getSizeExpr()); in VisitVariableArrayType()
345 Writer.AddStmt(T->getSizeExpr()); in VisitDependentSizedArrayType()
503 Record.push_back(TL.getSizeExpr() ? 1 : 0); in VisitArrayTypeLoc()
504 if (TL.getSizeExpr()) in VisitArrayTypeLoc()
505 Writer.AddStmt(TL.getSizeExpr()); in VisitArrayTypeLoc()
/minix/external/bsd/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3361 return InnerMatcher.matches(*Node.getSizeExpr(), Finder, Builder); in AST_MATCHER_P()

12