Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DTypePrinter.cpp540 if (T->getSizeExpr()) in printVariableArrayAfter()
541 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printVariableArrayAfter()
578 if (T->getSizeExpr()) in printDependentSizedArrayAfter()
579 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedArrayAfter()
608 if (T->getSizeExpr()) in printDependentSizedExtVectorAfter()
609 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedExtVectorAfter()
671 if (T->getSizeExpr()) in printDependentVectorBefore()
672 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentVectorBefore()
678 if (T->getSizeExpr()) in printDependentVectorBefore()
679 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentVectorBefore()
[all …]
H A DASTStructuralEquivalence.cpp416 if (!IsStructurallyEquivalent(Context, Array1->getSizeExpr(), in IsStructurallyEquivalent()
417 Array2->getSizeExpr())) in IsStructurallyEquivalent()
429 if (!IsStructurallyEquivalent(Context, Array1->getSizeExpr(), in IsStructurallyEquivalent()
430 Array2->getSizeExpr())) in IsStructurallyEquivalent()
455 if (!IsStructurallyEquivalent(Context, Vec1->getSizeExpr(), in IsStructurallyEquivalent()
456 Vec2->getSizeExpr())) in IsStructurallyEquivalent()
469 if (!IsStructurallyEquivalent(Context, Vec1->getSizeExpr(), in IsStructurallyEquivalent()
470 Vec2->getSizeExpr())) in IsStructurallyEquivalent()
H A DStmtIterator.cpp29 if (vat->getSizeExpr()) in FindVA()
H A DODRHash.cpp730 AddStmt(T->getSizeExpr()); in VisitDependentSizedArrayType()
739 AddStmt(T->getSizeExpr()); in VisitVariableArrayType()
800 AddStmt(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
H A DASTDumper.cpp146 dumpStmt(T->getSizeExpr()); in VisitVariableArrayType()
150 dumpStmt(T->getSizeExpr()); in VisitDependentSizedArrayType()
155 dumpStmt(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
H A DItaniumMangle.cpp2876 if (T->getSizeExpr()) in mangleType()
2877 mangleExpression(T->getSizeExpr()); in mangleType()
2883 mangleExpression(T->getSizeExpr()); in mangleType()
3144 mangleExpression(T->getSizeExpr()); in mangleType()
3159 mangleExpression(T->getSizeExpr()); in mangleType()
H A DASTContext.cpp3213 dat->getSizeExpr(), in getVariableArrayDecayedType()
3334 canonTy->getSizeExpr() == numElements) in getDependentSizedArrayType()
5085 VAT->getSizeExpr(), in getUnqualifiedArrayType()
5092 return getDependentSizedArrayType(unqualElementType, DSAT->getSizeExpr(), in getUnqualifiedArrayType()
5453 DSAT->getSizeExpr(), in getAsArrayType()
5460 VAT->getSizeExpr(), in getAsArrayType()
8922 Expr *E = VAT->getSizeExpr(); in mergeTypes()
H A DType.cpp847 return Ctx.getVariableArrayType(elementType, T->getSizeExpr(), in VisitVariableArrayType()
3973 cast<VariableArrayType>(arr)->getSizeExpr()) in hasSizedVLAType()
H A DMicrosoftMangle.cpp2507 Diags.Report(DSAT->getSizeExpr()->getExprLoc(), DiagID) in mangleArrayType()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DRecursiveASTVisitor.h977 TRY_TO(TraverseStmt(T->getSizeExpr()));
982 if (T->getSizeExpr())
983 TRY_TO(TraverseStmt(T->getSizeExpr()));
992 if (T->getSizeExpr())
993 TRY_TO(TraverseStmt(T->getSizeExpr()));
998 if (T->getSizeExpr())
999 TRY_TO(TraverseStmt(T->getSizeExpr()));
1183 TRY_TO(TraverseStmt(TL.getSizeExpr()));
1215 if (TL.getTypePtr()->getSizeExpr())
1216 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
[all …]
H A DType.h2991 Expr *getSizeExpr() const {
3048 Expr *getSizeExpr() const {
3067 getSizeModifier(), getIndexTypeCVRQualifiers(), getSizeExpr());
3143 Expr *getSizeExpr() const { return SizeExpr; }
3155 Profile(ID, Context, getElementType(), getSizeExpr());
3258 Expr *getSizeExpr() const { return SizeExpr; }
3273 Profile(ID, Context, getElementType(), getSizeExpr(), getVectorKind());
H A DCanonicalType.h469 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const Expr *, getSizeExpr)
H A DTypeLoc.h1485 Expr *getSizeExpr() const { in getSizeExpr() function
1529 setSizeExpr(getTypePtr()->getSizeExpr()); in initializeLocal()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DVLASizeChecker.cpp95 const Expr *SE = VLA->getSizeExpr(); in checkPreStmt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp1634 = getDeducedParameterFromExpr(Info, DependentArrayParm->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
1652 if (DependentArrayArg->getSizeExpr()) in DeduceTemplateArgumentsByTypeMatch()
1654 DependentArrayArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch()
1955 getDeducedParameterFromExpr(Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
1979 Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
1984 S, TemplateParams, NTTP, VectorArg->getSizeExpr(), Info, Deduced); in DeduceTemplateArgumentsByTypeMatch()
2008 = getDeducedParameterFromExpr(Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
2034 = getDeducedParameterFromExpr(Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
2039 VectorArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch()
3721 getDeducedParameterFromExpr(Info, DependentArrTy->getSizeExpr())) { in DeduceFromInitializerList()
[all …]
H A DTreeTransform.h4661 Expr *Size = TL.getSizeExpr(); in TransformConstantArrayType()
4714 SizeResult = getDerived().TransformExpr(T->getSizeExpr()); in TransformVariableArrayType()
4727 Size != T->getSizeExpr()) { in TransformVariableArrayType()
4761 Expr *origSize = TL.getSizeExpr(); in TransformDependentSizedArrayType()
4762 if (!origSize) origSize = T->getSizeExpr(); in TransformDependentSizedArrayType()
4806 ExprResult Size = getDerived().TransformExpr(T->getSizeExpr()); in TransformDependentVectorType()
4813 Size.get() != T->getSizeExpr()) { in TransformDependentVectorType()
4848 ExprResult Size = getDerived().TransformExpr(T->getSizeExpr()); in TransformDependentSizedExtVectorType()
4856 Size.get() != T->getSizeExpr()) { in TransformDependentSizedExtVectorType()
10331 if (DepArrayT->getSizeExpr()) { in TransformCXXNewExpr()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DLiveVariables.cpp228 if (VAT->getSizeExpr()) in FindVA()
301 AddLiveStmt(val.liveStmts, LV.SSetFact, VA->getSizeExpr()); in Visit()
H A DCFG.cpp1263 if (vat->getSizeExpr()) in FindVA()
2733 if (CFGBlock *newBlock = addStmt(VA->getSizeExpr())) in VisitDeclSubExpr()
3798 lastBlock = addStmt(VA->getSizeExpr()); in VisitUnaryExprOrTypeTraitExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1145 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in StartFunction()
1990 llvm::Value *vlaSize = VLASizeMap[type->getSizeExpr()]; in getVLASize()
2015 llvm::Value *VlaSize = VLASizeMap[Vla->getSizeExpr()]; in getVLAElements1D()
2095 if (const Expr *size = vat->getSizeExpr()) { in EmitVariablyModifiedType()
H A DCGStmt.cpp2259 EmitStoreThroughLValue(RValue::get(VLASizeMap[VAT->getSizeExpr()]), LV); in InitCapturedStruct()
2334 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in GenerateCapturedStmtFunction()
H A DCGExprCXX.cpp2268 EmitStoreThroughLValue(RValue::get(VLASizeMap[VAT->getSizeExpr()]), LV); in EmitLambdaExpr()
H A DCGStmtOpenMP.cpp263 llvm::Value *Val = VLASizeMap[VAT->getSizeExpr()]; in GenerateOpenMPCapturedVars()
504 VLASizes.try_emplace(Args[Cnt], VAT->getSizeExpr(), ExprArg); in emitOutlinedFunctionPrologue()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriter.cpp254 Record.AddStmt(T->getSizeExpr()); in VisitVariableArrayType()
444 Record.AddStmt(T->getSizeExpr()); in VisitDependentSizedArrayType()
453 Record.AddStmt(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
460 Record.AddStmt(const_cast<Expr*>(T->getSizeExpr())); in VisitDependentVectorType()
647 Record.push_back(TL.getSizeExpr() ? 1 : 0); in VisitArrayTypeLoc()
648 if (TL.getSizeExpr()) in VisitArrayTypeLoc()
649 Record.AddStmt(TL.getSizeExpr()); in VisitArrayTypeLoc()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp887 Expr *SizeExpr = FieldForCapture->getCapturedVLAType()->getSizeExpr(); in VisitLambdaExpr()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5308 return InnerMatcher.matches(*Node.getSizeExpr(), Finder, Builder); in AST_MATCHER_P()

12