Home
last modified time | relevance | path

Searched refs:LetStmt (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/mlir/test/mlir-pdll/Parser/
H A Dstmt.pdll9 // CHECK: |-LetStmt
32 // LetStmt
36 // CHECK: LetStmt
55 // CHECK: LetStmt
72 // CHECK: LetStmt
90 // CHECK: LetStmt
108 // CHECK: LetStmt
126 // CHECK: LetStmt
144 // CHECK: LetStmt
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/AST/
H A DNodes.cpp55 const CompoundStmt, const EraseStmt, const LetStmt, in visit()
83 void visitImpl(const LetStmt *stmt) { visit(stmt->getVarDecl()); } in visitImpl()
202 LetStmt *LetStmt::create(Context &ctx, SMRange loc, VariableDecl *varDecl) { in create()
203 return new (ctx.getAllocator().Allocate<LetStmt>()) LetStmt(loc, varDecl); in create()
H A DNodePrinter.cpp77 void printImpl(const LetStmt *stmt);
167 const CompoundStmt, const EraseStmt, const LetStmt, const ReplaceStmt, in print()
198 void NodePrinter::printImpl(const LetStmt *stmt) { in printImpl()
/llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/
H A DNodes.h210 class LetStmt final : public Node::NodeBase<LetStmt, Stmt> {
212 static LetStmt *create(Context &ctx, SMRange loc, VariableDecl *varDecl);
218 LetStmt(SMRange loc, VariableDecl *varDecl) : Base(loc), varDecl(varDecl) {} in LetStmt() function
1295 return isa<CompoundStmt, LetStmt, OpRewriteStmt, Expr>(node); in classof()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/CodeGen/
H A DMLIRGen.cpp63 void genImpl(const ast::LetStmt *stmt);
179 .Case<const ast::CompoundStmt, const ast::EraseStmt, const ast::LetStmt, in gen()
221 void CodeGen::genImpl(const ast::LetStmt *stmt) { genVar(stmt->getVarDecl()); } in genImpl()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/
H A DParser.cpp334 FailureOr<ast::LetStmt *> parseLetStmt();
2280 FailureOr<ast::LetStmt *> Parser::parseLetStmt() { in parseLetStmt()
2337 return ast::LetStmt::create(ctx, loc, *varDecl); in parseLetStmt()