| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | TypePrinter.cpp | 540 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 D | ASTStructuralEquivalence.cpp | 416 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 D | StmtIterator.cpp | 29 if (vat->getSizeExpr()) in FindVA()
|
| H A D | ODRHash.cpp | 730 AddStmt(T->getSizeExpr()); in VisitDependentSizedArrayType() 739 AddStmt(T->getSizeExpr()); in VisitVariableArrayType() 800 AddStmt(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
|
| H A D | ASTDumper.cpp | 146 dumpStmt(T->getSizeExpr()); in VisitVariableArrayType() 150 dumpStmt(T->getSizeExpr()); in VisitDependentSizedArrayType() 155 dumpStmt(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
|
| H A D | ItaniumMangle.cpp | 2876 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 D | ASTContext.cpp | 3213 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 D | Type.cpp | 847 return Ctx.getVariableArrayType(elementType, T->getSizeExpr(), in VisitVariableArrayType() 3973 cast<VariableArrayType>(arr)->getSizeExpr()) in hasSizedVLAType()
|
| H A D | MicrosoftMangle.cpp | 2507 Diags.Report(DSAT->getSizeExpr()->getExprLoc(), DiagID) in mangleArrayType()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | RecursiveASTVisitor.h | 977 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 D | Type.h | 2991 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 D | CanonicalType.h | 469 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const Expr *, getSizeExpr)
|
| H A D | TypeLoc.h | 1485 Expr *getSizeExpr() const { in getSizeExpr() function 1529 setSizeExpr(getTypePtr()->getSizeExpr()); in initializeLocal()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | VLASizeChecker.cpp | 95 const Expr *SE = VLA->getSizeExpr(); in checkPreStmt()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaTemplateDeduction.cpp | 1634 = 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 D | TreeTransform.h | 4661 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 D | LiveVariables.cpp | 228 if (VAT->getSizeExpr()) in FindVA() 301 AddLiveStmt(val.liveStmts, LV.SSetFact, VA->getSizeExpr()); in Visit()
|
| H A D | CFG.cpp | 1263 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 D | CodeGenFunction.cpp | 1145 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 D | CGStmt.cpp | 2259 EmitStoreThroughLValue(RValue::get(VLASizeMap[VAT->getSizeExpr()]), LV); in InitCapturedStruct() 2334 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in GenerateCapturedStmtFunction()
|
| H A D | CGExprCXX.cpp | 2268 EmitStoreThroughLValue(RValue::get(VLASizeMap[VAT->getSizeExpr()]), LV); in EmitLambdaExpr()
|
| H A D | CGStmtOpenMP.cpp | 263 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 D | ASTWriter.cpp | 254 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 D | ExprEngineCXX.cpp | 887 Expr *SizeExpr = FieldForCapture->getCapturedVLAType()->getSizeExpr(); in VisitLambdaExpr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 5308 return InnerMatcher.matches(*Node.getSizeExpr(), Finder, Builder); in AST_MATCHER_P()
|