Home
last modified time | relevance | path

Searched refs:OperationExpr (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/mlir/test/mlir-pdll/Parser/
H A Dexpr.pdll95 // CHECK: `-OperationExpr {{.*}} Type<Op<my_dialect.unregistered_foo>>
99 // CHECK: `-OperationExpr {{.*}} Type<Op<my_dialect.unregistered_bar>>
114 // OperationExpr
121 // CHECK: `-OperationExpr {{.*}} Type<Op>
143 // CHECK: `-OperationExpr {{.*}} Type<Op>
154 // CHECK: `-OperationExpr {{.*}} Type<Op<my_dialect.foo>>
163 // CHECK: `-OperationExpr {{.*}} Type<Op>
176 // CHECK: `-OperationExpr {{.*}} Type<Op>
180 // CHECK: `-OperationExpr {{.*}} Type<Op<my_dialect.bar>>
189 // CHECK: `-OperationExpr {{.*}} Type<Op>
[all …]
H A Dstmt.pdll167 // CHECK: `-OperationExpr {{.*}} Type<Op<my_dialect.foo>>
181 // CHECK: `-OperationExpr {{.*}} Type<Op<my_dialect.foo>>
196 // CHECK: |-OperationExpr {{.*}} Type<Op<my_dialect.some_op>>
200 // CHECK: `-OperationExpr {{.*}} Type<Op<my_dialect.foo>>
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/AST/
H A DNodes.cpp60 const MemberAccessExpr, const OperationExpr, const TupleExpr, in visit()
103 void visitImpl(const OperationExpr *expr) { in visitImpl()
300 OperationExpr *
301 OperationExpr::create(Context &ctx, SMRange loc, const ods::Operation *odsOp, in create()
306 OperationExpr::totalSizeToAlloc<Expr *, NamedAttributeDecl *>( in create()
309 ctx.getAllocator().Allocate(allocSize, alignof(OperationExpr)); in create()
312 OperationExpr *opExpr = new (rawData) in create()
313 OperationExpr(loc, resultType, name, operands.size(), resultTypes.size(), in create()
324 Optional<StringRef> OperationExpr::getName() const { in getName()
H A DNodePrinter.cpp86 void printImpl(const OperationExpr *expr);
172 const MemberAccessExpr, const OperationExpr, const TupleExpr, in print()
246 void NodePrinter::printImpl(const OperationExpr *expr) { in printImpl()
/llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/
H A DNodes.h499 class OperationExpr final
500 : public Node::NodeBase<OperationExpr, Expr>,
501 private llvm::TrailingObjects<OperationExpr, Expr *,
504 static OperationExpr *create(Context &ctx, SMRange loc,
526 return const_cast<OperationExpr *>(this)->getOperands(); in getOperands()
534 return const_cast<OperationExpr *>(this)->getResultTypes(); in getResultTypes()
542 return const_cast<OperationExpr *>(this)->getAttributes(); in getAttributes()
546 OperationExpr(SMRange loc, Type type, const OpNameDecl *nameDecl, in OperationExpr() function
563 friend llvm::TrailingObjects<OperationExpr, Expr *, NamedAttributeDecl *>;
1287 OperationExpr, TupleExpr, TypeExpr>(node); in classof()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/CodeGen/
H A DMLIRGen.cpp99 Value genExprImpl(const ast::OperationExpr *expr);
380 const ast::OperationExpr, const ast::TypeExpr>( in genSingleExpr()
494 Value CodeGen::genExprImpl(const ast::OperationExpr *expr) { in genExprImpl()
/llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/
H A DPDLLServer.cpp380 void getInlayHintsFor(const ast::OperationExpr *expr,
1235 .Case<ast::VariableDecl, ast::CallExpr, ast::OperationExpr>( in getInlayHints()
1255 if (isa<ast::OperationExpr>(expr)) in getInlayHintsFor()
1286 void PDLDocument::getInlayHintsFor(const ast::OperationExpr *expr, in getInlayHintsFor()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/
H A DParser.cpp419 FailureOr<ast::OperationExpr *>
2800 FailureOr<ast::OperationExpr *> Parser::createOperationExpr( in createOperationExpr()
2841 return ast::OperationExpr::create(ctx, loc, odsOp, name, operands, results, in createOperationExpr()