Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DTypePrinter.cpp554 if (T->getSizeExpr()) in printVariableArrayAfter()
555 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printVariableArrayAfter()
592 if (T->getSizeExpr()) in printDependentSizedArrayAfter()
593 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedArrayAfter()
622 if (T->getSizeExpr()) in printDependentSizedExtVectorAfter()
623 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentSizedExtVectorAfter()
703 if (T->getSizeExpr()) in printDependentVectorBefore()
704 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentVectorBefore()
710 if (T->getSizeExpr()) in printDependentVectorBefore()
711 T->getSizeExpr()->printPretty(OS, nullptr, Policy); in printDependentVectorBefore()
[all …]
H A DStmtIterator.cpp28 if (vat->getSizeExpr()) in FindVA()
H A DASTStructuralEquivalence.cpp771 if (!IsStructurallyEquivalent(Context, Array1->getSizeExpr(), in IsStructurallyEquivalent()
772 Array2->getSizeExpr())) in IsStructurallyEquivalent()
784 if (!IsStructurallyEquivalent(Context, Array1->getSizeExpr(), in IsStructurallyEquivalent()
785 Array2->getSizeExpr())) in IsStructurallyEquivalent()
810 if (!IsStructurallyEquivalent(Context, Vec1->getSizeExpr(), in IsStructurallyEquivalent()
811 Vec2->getSizeExpr())) in IsStructurallyEquivalent()
824 if (!IsStructurallyEquivalent(Context, Vec1->getSizeExpr(), in IsStructurallyEquivalent()
825 Vec2->getSizeExpr())) in IsStructurallyEquivalent()
H A DODRHash.cpp807 AddStmt(T->getSizeExpr()); in VisitDependentSizedArrayType()
816 AddStmt(T->getSizeExpr()); in VisitVariableArrayType()
884 AddStmt(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
H A DASTContext.cpp3560 cat->getSizeExpr(), in getVariableArrayDecayedType()
3570 dat->getSizeExpr(), in getVariableArrayDecayedType()
3691 canonTy->getSizeExpr() == numElements) in getDependentSizedArrayType()
5747 CAT->getSizeExpr(), CAT->getSizeModifier(), 0); in getUnqualifiedArrayType()
5756 VAT->getSizeExpr(), in getUnqualifiedArrayType()
5763 return getDependentSizedArrayType(unqualElementType, DSAT->getSizeExpr(), in getUnqualifiedArrayType()
6119 CAT->getSizeExpr(), in getAsArrayType()
6130 DSAT->getSizeExpr(), in getAsArrayType()
6137 VAT->getSizeExpr(), in getAsArrayType()
9842 Expr *E = VAT->getSizeExpr(); in mergeTypes()
[all …]
H A DItaniumMangle.cpp3298 if (T->getSizeExpr()) in mangleType()
3299 mangleExpression(T->getSizeExpr()); in mangleType()
3308 if (T->getSizeExpr()) in mangleType()
3309 mangleExpression(T->getSizeExpr()); in mangleType()
3679 mangleExpression(T->getSizeExpr()); in mangleType()
3694 mangleExpression(T->getSizeExpr()); in mangleType()
H A DType.cpp957 return Ctx.getConstantArrayType(elementType, T->getSize(), T->getSizeExpr(), in VisitConstantArrayType()
970 return Ctx.getVariableArrayType(elementType, T->getSizeExpr(), in VisitVariableArrayType()
4337 cast<VariableArrayType>(arr)->getSizeExpr()) in hasSizedVLAType()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DRecursiveASTVisitor.h918 if (T->getSizeExpr())
919 TRY_TO(TraverseStmt(const_cast<Expr*>(T->getSizeExpr())));
927 TRY_TO(TraverseStmt(T->getSizeExpr()));
932 if (T->getSizeExpr())
933 TRY_TO(TraverseStmt(T->getSizeExpr()));
942 if (T->getSizeExpr())
943 TRY_TO(TraverseStmt(T->getSizeExpr()));
948 if (T->getSizeExpr())
949 TRY_TO(TraverseStmt(T->getSizeExpr()));
1166 TRY_TO(TraverseStmt(TL.getSizeExpr()));
[all …]
H A DTypeProperties.td110 let Read = [{ node->getSizeExpr() }];
135 let Read = [{ node->getSizeExpr() }];
148 let Read = [{ node->getSizeExpr() }];
186 let Read = [{ node->getSizeExpr() }];
216 let Read = [{ node->getSizeExpr() }];
H A DASTNodeTraverser.h335 Visit(T->getSizeExpr()); in VisitVariableArrayType()
339 Visit(T->getSizeExpr()); in VisitDependentSizedArrayType()
343 Visit(T->getSizeExpr()); in VisitDependentSizedExtVectorType()
H A DType.h2947 const Expr *getSizeExpr() const {
2966 Profile(ID, Ctx, getElementType(), getSize(), getSizeExpr(),
3046 Expr *getSizeExpr() const {
3103 Expr *getSizeExpr() const {
3122 getSizeModifier(), getIndexTypeCVRQualifiers(), getSizeExpr());
3198 Expr *getSizeExpr() const { return SizeExpr; }
3210 Profile(ID, Context, getElementType(), getSizeExpr());
3315 Expr *getSizeExpr() const { return SizeExpr; }
3330 Profile(ID, Context, getElementType(), getSizeExpr(), getVectorKind());
H A DCanonicalType.h470 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const Expr *, getSizeExpr)
H A DTypeLoc.h1509 Expr *getSizeExpr() const { in getSizeExpr() function
1553 setSizeExpr(getTypePtr()->getSizeExpr()); in initializeLocal()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp1767 = getDeducedParameterFromExpr(Info, DependentArrayParm->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
1785 if (DependentArrayArg->getSizeExpr()) in DeduceTemplateArgumentsByTypeMatch()
1787 DependentArrayArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch()
2025 getDeducedParameterFromExpr(Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
2049 Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
2054 S, TemplateParams, NTTP, VectorArg->getSizeExpr(), Info, Deduced); in DeduceTemplateArgumentsByTypeMatch()
2078 getDeducedParameterFromExpr(Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
2104 getDeducedParameterFromExpr(Info, VectorParam->getSizeExpr()); in DeduceTemplateArgumentsByTypeMatch()
2109 VectorArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch()
3998 getDeducedParameterFromExpr(Info, DependentArrTy->getSizeExpr())) { in DeduceFromInitializerList()
[all …]
H A DTreeTransform.h5102 Expr *OldSize = TL.getSizeExpr(); in TransformConstantArrayType()
5104 OldSize = const_cast<Expr*>(T->getSizeExpr()); in TransformConstantArrayType()
5116 (T->getSizeExpr() && NewSize != OldSize)) { in TransformConstantArrayType()
5179 SizeResult = getDerived().TransformExpr(T->getSizeExpr()); in TransformVariableArrayType()
5193 Size != T->getSizeExpr()) { in TransformVariableArrayType()
5227 Expr *origSize = TL.getSizeExpr(); in TransformDependentSizedArrayType()
5228 if (!origSize) origSize = T->getSizeExpr(); in TransformDependentSizedArrayType()
5272 ExprResult Size = getDerived().TransformExpr(T->getSizeExpr()); in TransformDependentVectorType()
5279 Size.get() != T->getSizeExpr()) { in TransformDependentVectorType()
5314 ExprResult Size = getDerived().TransformExpr(T->getSizeExpr()); in TransformDependentSizedExtVectorType()
[all …]
H A DSemaInit.cpp1899 SemaRef.Diag(VAT->getSizeExpr()->getBeginLoc(), in CheckArrayType()
1901 << VAT->getSizeExpr()->getSourceRange(); in CheckArrayType()
8684 ConstantSource->getSizeExpr(), in Perform()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DLiveVariables.cpp179 if (VAT->getSizeExpr()) in FindVA()
252 AddLiveExpr(val.liveExprs, LV.ESetFact, VA->getSizeExpr()); in Visit()
H A DCFG.cpp1331 if (vat->getSizeExpr()) in FindVA()
2853 if (CFGBlock *NewBlock = addStmt(VA->getSizeExpr())) in VisitDeclSubExpr()
2929 if (CFGBlock *newBlock = addStmt(VA->getSizeExpr())) in VisitDeclSubExpr()
4029 lastBlock = addStmt(VA->getSizeExpr()); in VisitUnaryExprOrTypeTraitExpr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DVLASizeChecker.cpp84 const Expr *SizeE = VLA->getSizeExpr(); in checkVLA()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1130 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in StartFunction()
2081 llvm::Value *vlaSize = VLASizeMap[type->getSizeExpr()]; in getVLASize()
2106 llvm::Value *VlaSize = VLASizeMap[Vla->getSizeExpr()]; in getVLAElements1D()
2188 if (const Expr *size = vat->getSizeExpr()) { in EmitVariablyModifiedType()
H A DCGStmt.cpp2740 VLASizeMap[VAT->getSizeExpr()] = ExprArg; in GenerateCapturedStmtFunction()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp1018 Expr *SizeExpr = FieldForCapture->getCapturedVLAType()->getSizeExpr(); in VisitLambdaExpr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp1352 Builder.markExprChild(L.getSizeExpr(), syntax::NodeRole::Size); in WalkUpFromArrayTypeLoc()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTWriter.cpp244 Record.push_back(TL.getSizeExpr() ? 1 : 0); in VisitArrayTypeLoc()
245 if (TL.getSizeExpr()) in VisitArrayTypeLoc()
246 Record.AddStmt(TL.getSizeExpr()); in VisitArrayTypeLoc()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6507 return InnerMatcher.matches(*Node.getSizeExpr(), Finder, Builder); in AST_MATCHER_P()

12