| /freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
| HD | TypePrinter.cpp | 546 if (T->getSizeExpr()) in printVariableArrayAfter() 547 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printVariableArrayAfter() 584 if (T->getSizeExpr()) in printDependentSizedArrayAfter() 585 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedArrayAfter() 614 if (T->getSizeExpr()) in printDependentSizedExtVectorAfter() 615 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedExtVectorAfter() 677 if (T->getSizeExpr()) in printDependentVectorBefore() 678 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentVectorBefore() 684 if (T->getSizeExpr()) in printDependentVectorBefore() 685 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentVectorBefore() [all …]
|
| HD | StmtIterator.cpp | 28 if (vat->getSizeExpr()) in FindVA()
|
| HD | ASTStructuralEquivalence.cpp | 550 if (!IsStructurallyEquivalent(Context, Array1->getSizeExpr(), in IsStructurallyEquivalent() 551 Array2->getSizeExpr())) in IsStructurallyEquivalent() 563 if (!IsStructurallyEquivalent(Context, Array1->getSizeExpr(), in IsStructurallyEquivalent() 564 Array2->getSizeExpr())) in IsStructurallyEquivalent() 589 if (!IsStructurallyEquivalent(Context, Vec1->getSizeExpr(), in IsStructurallyEquivalent() 590 Vec2->getSizeExpr())) in IsStructurallyEquivalent() 603 if (!IsStructurallyEquivalent(Context, Vec1->getSizeExpr(), in IsStructurallyEquivalent() 604 Vec2->getSizeExpr())) in IsStructurallyEquivalent()
|
| HD | ODRHash.cpp | 807 AddStmt(T->getSizeExpr()); in VisitDependentSizedArrayType() 816 AddStmt(T->getSizeExpr()); in VisitVariableArrayType() 884 AddStmt(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
|
| HD | ItaniumMangle.cpp | 2965 if (T->getSizeExpr()) in mangleType() 2966 mangleExpression(T->getSizeExpr()); in mangleType() 2972 mangleExpression(T->getSizeExpr()); in mangleType() 3233 mangleExpression(T->getSizeExpr()); in mangleType() 3248 mangleExpression(T->getSizeExpr()); in mangleType()
|
| HD | ASTContext.cpp | 3465 cat->getSizeExpr(), in getVariableArrayDecayedType() 3475 dat->getSizeExpr(), in getVariableArrayDecayedType() 3596 canonTy->getSizeExpr() == numElements) in getDependentSizedArrayType() 5368 CAT->getSizeExpr(), CAT->getSizeModifier(), 0); in getUnqualifiedArrayType() 5377 VAT->getSizeExpr(), in getUnqualifiedArrayType() 5384 return getDependentSizedArrayType(unqualElementType, DSAT->getSizeExpr(), in getUnqualifiedArrayType() 5741 CAT->getSizeExpr(), in getAsArrayType() 5752 DSAT->getSizeExpr(), in getAsArrayType() 5759 VAT->getSizeExpr(), in getAsArrayType() 9231 Expr *E = VAT->getSizeExpr(); in mergeTypes() [all …]
|
| HD | Type.cpp | 902 return Ctx.getConstantArrayType(elementType, T->getSize(), T->getSizeExpr(), in VisitConstantArrayType() 915 return Ctx.getVariableArrayType(elementType, T->getSizeExpr(), in VisitVariableArrayType() 4112 cast<VariableArrayType>(arr)->getSizeExpr()) in hasSizedVLAType()
|
| HD | MicrosoftMangle.cpp | 2550 Diags.Report(DSAT->getSizeExpr()->getExprLoc(), DiagID) in mangleArrayType()
|
| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/ |
| HD | RecursiveASTVisitor.h | 970 if (T->getSizeExpr()) 971 TRY_TO(TraverseStmt(const_cast<Expr*>(T->getSizeExpr()))); 979 TRY_TO(TraverseStmt(T->getSizeExpr())); 984 if (T->getSizeExpr()) 985 TRY_TO(TraverseStmt(T->getSizeExpr())); 994 if (T->getSizeExpr()) 995 TRY_TO(TraverseStmt(T->getSizeExpr())); 1000 if (T->getSizeExpr()) 1001 TRY_TO(TraverseStmt(T->getSizeExpr())); 1196 TRY_TO(TraverseStmt(TL.getSizeExpr())); [all …]
|
| HD | TypeProperties.td | 110 let Read = [{ node->getSizeExpr() }]; 135 let Read = [{ node->getSizeExpr() }]; 148 let Read = [{ node->getSizeExpr() }]; 186 let Read = [{ node->getSizeExpr() }]; 216 let Read = [{ node->getSizeExpr() }];
|
| HD | ASTNodeTraverser.h | 315 Visit(T->getSizeExpr()); in VisitVariableArrayType() 319 Visit(T->getSizeExpr()); in VisitDependentSizedArrayType() 323 Visit(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
|
| HD | Type.h | 2959 const Expr *getSizeExpr() const { 2978 Profile(ID, Ctx, getElementType(), getSize(), getSizeExpr(), 3058 Expr *getSizeExpr() const { 3115 Expr *getSizeExpr() const { 3134 getSizeModifier(), getIndexTypeCVRQualifiers(), getSizeExpr()); 3210 Expr *getSizeExpr() const { return SizeExpr; } 3222 Profile(ID, Context, getElementType(), getSizeExpr()); 3325 Expr *getSizeExpr() const { return SizeExpr; } 3340 Profile(ID, Context, getElementType(), getSizeExpr(), getVectorKind());
|
| HD | CanonicalType.h | 468 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const Expr *, getSizeExpr)
|
| HD | TypeLoc.h | 1509 Expr *getSizeExpr() const { in getSizeExpr() function 1553 setSizeExpr(getTypePtr()->getSizeExpr()); in initializeLocal()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| HD | VLASizeChecker.cpp | 96 const Expr *SE = VLA->getSizeExpr(); in checkPreStmt()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
| HD | SemaTemplateDeduction.cpp | 1645 = getDeducedParameterFromExpr(Info, DependentArrayParm->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 1663 if (DependentArrayArg->getSizeExpr()) in DeduceTemplateArgumentsByTypeMatch() 1665 DependentArrayArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch() 1966 getDeducedParameterFromExpr(Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 1990 Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 1995 S, TemplateParams, NTTP, VectorArg->getSizeExpr(), Info, Deduced); in DeduceTemplateArgumentsByTypeMatch() 2019 = getDeducedParameterFromExpr(Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 2045 = getDeducedParameterFromExpr(Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch() 2050 VectorArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch() 3799 getDeducedParameterFromExpr(Info, DependentArrTy->getSizeExpr())) { in DeduceFromInitializerList() [all …]
|
| HD | TreeTransform.h | 4827 Expr *OldSize = TL.getSizeExpr(); in TransformConstantArrayType() 4829 OldSize = const_cast<Expr*>(T->getSizeExpr()); in TransformConstantArrayType() 4841 (T->getSizeExpr() && NewSize != OldSize)) { in TransformConstantArrayType() 4904 SizeResult = getDerived().TransformExpr(T->getSizeExpr()); in TransformVariableArrayType() 4918 Size != T->getSizeExpr()) { in TransformVariableArrayType() 4952 Expr *origSize = TL.getSizeExpr(); in TransformDependentSizedArrayType() 4953 if (!origSize) origSize = T->getSizeExpr(); in TransformDependentSizedArrayType() 4997 ExprResult Size = getDerived().TransformExpr(T->getSizeExpr()); in TransformDependentVectorType() 5004 Size.get() != T->getSizeExpr()) { in TransformDependentVectorType() 5039 ExprResult Size = getDerived().TransformExpr(T->getSizeExpr()); in TransformDependentSizedExtVectorType() [all …]
|
| HD | SemaInit.cpp | 1856 SemaRef.Diag(VAT->getSizeExpr()->getBeginLoc(), in CheckArrayType() 1858 << VAT->getSizeExpr()->getSourceRange(); in CheckArrayType() 8424 ConstantSource->getSizeExpr(), in Perform()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/ |
| HD | LiveVariables.cpp | 227 if (VAT->getSizeExpr()) in FindVA() 300 AddLiveStmt(val.liveStmts, LV.SSetFact, VA->getSizeExpr()); in Visit()
|
| HD | CFG.cpp | 1333 if (vat->getSizeExpr()) in FindVA() 2910 if (CFGBlock *newBlock = addStmt(VA->getSizeExpr())) in VisitDeclSubExpr() 4005 lastBlock = addStmt(VA->getSizeExpr()); in VisitUnaryExprOrTypeTraitExpr()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
| HD | CodeGenFunction.cpp | 1083 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in StartFunction() 1928 llvm::Value *vlaSize = VLASizeMap[type->getSizeExpr()]; in getVLASize() 1953 llvm::Value *VlaSize = VLASizeMap[Vla->getSizeExpr()]; in getVLAElements1D() 2033 if (const Expr *size = vat->getSizeExpr()) { in EmitVariablyModifiedType()
|
| HD | CGStmt.cpp | 2371 EmitStoreThroughLValue(RValue::get(VLASizeMap[VAT->getSizeExpr()]), LV); in InitCapturedStruct() 2446 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in GenerateCapturedStmtFunction()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| HD | ExprEngineCXX.cpp | 918 Expr *SizeExpr = FieldForCapture->getCapturedVLAType()->getSizeExpr(); in VisitLambdaExpr()
|
| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| HD | ASTMatchers.h | 5695 return InnerMatcher.matches(*Node.getSizeExpr(), Finder, Builder); in AST_MATCHER_P()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/ |
| HD | ASTWriter.cpp | 242 Record.push_back(TL.getSizeExpr() ? 1 : 0); in VisitArrayTypeLoc() 243 if (TL.getSizeExpr()) in VisitArrayTypeLoc() 244 Record.AddStmt(TL.getSizeExpr()); in VisitArrayTypeLoc()
|