Home
last modified time | relevance | path

Searched refs:typeExpr (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/
H A DNodes.h711 Expr *getTypeExpr() { return typeExpr; } in getTypeExpr()
715 AttrConstraintDecl(SMRange loc, Expr *typeExpr) in AttrConstraintDecl() argument
716 : Base(loc), typeExpr(typeExpr) {} in AttrConstraintDecl()
719 Expr *typeExpr; variable
786 Expr *getTypeExpr() { return typeExpr; } in getTypeExpr()
790 ValueConstraintDecl(SMRange loc, Expr *typeExpr) in ValueConstraintDecl() argument
791 : Base(loc), typeExpr(typeExpr) {} in ValueConstraintDecl()
794 Expr *typeExpr; variable
809 Expr *getTypeExpr() { return typeExpr; } in getTypeExpr()
814 : Base(loc), typeExpr(typeExpr) {} in ValueRangeConstraintDecl()
[all …]
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/AST/
H A DNodePrinter.cpp271 if (const auto *typeExpr = decl->getTypeExpr()) in printImpl() local
272 printChildren(typeExpr); in printImpl()
305 if (const auto *typeExpr = decl->getTypeExpr()) in printImpl() local
306 printChildren(typeExpr); in printImpl()
311 if (const auto *typeExpr = decl->getTypeExpr()) in printImpl() local
312 printChildren(typeExpr); in printImpl()
H A DNodes.cpp370 Expr *typeExpr) { in create() argument
372 AttrConstraintDecl(loc, typeExpr); in create()
416 Expr *typeExpr) { in create() argument
418 ValueConstraintDecl(loc, typeExpr); in create()
426 ValueRangeConstraintDecl::create(Context &ctx, SMRange loc, Expr *typeExpr) { in create() argument
428 ValueRangeConstraintDecl(loc, typeExpr); in create()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/
H A DParser.cpp1563 if (failed(typeExpr) || in parseTypeConstraintExpr()
1567 return typeExpr; in parseTypeConstraintExpr()
1653 typeExpr = *constraintExpr; in parseConstraint()
1654 typeConstraint = typeExpr->getLoc(); in parseConstraint()
1664 ast::Expr *typeExpr = nullptr; in parseConstraint() local
1694 ast::Expr *typeExpr = nullptr; in parseConstraint() local
1705 ast::Expr *typeExpr = nullptr; in parseConstraint() local
2641 ast::Type typeExprType = typeExpr->getType(); in validateTypeConstraintExpr()
2643 return emitError(typeExpr->getLoc(), in validateTypeConstraintExpr()
2651 ast::Type typeExprType = typeExpr->getType(); in validateTypeRangeConstraintExpr()
[all …]