Searched refs:TupleExpr (Results 1 – 8 of 8) sorted by relevance
/llvm-project/mlir/test/mlir-pdll/Parser/ |
H A D | rewrite.pdll | 41 // CHECK: `-TupleExpr {{.*}} Type<Tuple<result1: Value, result2: Attr>> 43 // CHECK: | `-TupleExpr {{.*}} Type<Tuple<Value, Attr>> 45 // CHECK: `-TupleExpr {{.*}} Type<Tuple<Value, Attr>>
|
H A D | constraint.pdll | 48 // CHECK: `-TupleExpr {{.*}} Type<Tuple<result1: Value, result2: Attr>> 50 // CHECK: | `-TupleExpr {{.*}} Type<Tuple<Value, Attr>> 52 // CHECK: `-TupleExpr {{.*}} Type<Tuple<Value, Attr>>
|
H A D | expr.pdll | 261 // TupleExpr 266 // CHECK: `-TupleExpr {{.*}} Type<Tuple<>> 268 // CHECK: `-TupleExpr {{.*}} Type<Tuple<arg1: Attr, Value>>
|
/llvm-project/mlir/lib/Tools/PDLL/AST/ |
H A D | Nodes.cpp | 62 const TupleExpr, const TypeExpr, in visit() 117 void visitImpl(const TupleExpr *expr) { in visitImpl() 341 void *rawData = ctx.getAllocator().Allocate(allocSize, alignof(TupleExpr)); in create() 353 TupleExpr *TupleExpr::create(Context &ctx, SMRange loc, in create() 356 unsigned allocSize = TupleExpr::totalSizeToAlloc<Expr *>(elements.size()); in create() 357 void *rawData = ctx.getAllocator().Allocate(allocSize, alignof(TupleExpr)); in create() 363 TupleExpr *expr = new (rawData) TupleExpr(loc, type); in create()
|
H A D | NodePrinter.cpp | 89 void printImpl(const TupleExpr *expr); 175 const TupleExpr, const TypeExpr, in print() 270 void NodePrinter::printImpl(const TupleExpr *expr) { in printImpl()
|
/llvm-project/mlir/include/mlir/Tools/PDLL/AST/ |
H A D | Nodes.h | 618 class TupleExpr final : public Node::NodeBase<TupleExpr, Expr>, 619 private llvm::TrailingObjects<TupleExpr, Expr *> { 621 static TupleExpr *create(Context &ctx, SMRange loc, ArrayRef<Expr *> elements, 629 return const_cast<TupleExpr *>(this)->getElements(); in getElements() 636 TupleExpr(SMRange loc, TupleType type) : Base(loc, type) {} in TupleExpr() function 639 friend class llvm::TrailingObjects<TupleExpr, Expr *>; 1335 OperationExpr, RangeExpr, TupleExpr, TypeExpr>(node); in classof()
|
/llvm-project/mlir/lib/Tools/PDLL/CodeGen/ |
H A D | MLIRGen.cpp | 102 SmallVector<Value> genExprImpl(const ast::TupleExpr *expr); 388 .Case<const ast::CallExpr, const ast::DeclRefExpr, const ast::TupleExpr>( in genSingleExpr() 398 .Case<const ast::CallExpr, const ast::DeclRefExpr, const ast::TupleExpr>( in genExpr() 535 SmallVector<Value> CodeGen::genExprImpl(const ast::TupleExpr *expr) { in genExprImpl()
|
/llvm-project/mlir/lib/Tools/PDLL/Parser/ |
H A D | Parser.cpp | 442 FailureOr<ast::TupleExpr *> createTupleExpr(SMRange loc, 725 expr = ast::TupleExpr::create(ctx, expr->getLoc(), newExprs, in convertTupleExpressionTo() 3044 FailureOr<ast::TupleExpr *> 3055 return ast::TupleExpr::create(ctx, loc, elements, elementNames); in createTupleExpr()
|