Home
last modified time | relevance | path

Searched refs:nameDecl (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/
H A DNodes.h506 const OpNameDecl *nameDecl,
515 const OpNameDecl *getNameDecl() const { return nameDecl; } in getNameDecl()
546 OperationExpr(SMRange loc, Type type, const OpNameDecl *nameDecl, in OperationExpr() argument
549 : Base(loc, type), nameDecl(nameDecl), numOperands(numOperands), in OperationExpr()
554 const OpNameDecl *nameDecl; variable
731 const OpNameDecl *nameDecl = nullptr);
737 const OpNameDecl *getNameDecl() const { return nameDecl; } in getNameDecl()
740 explicit OpConstraintDecl(SMRange loc, const OpNameDecl *nameDecl) in OpConstraintDecl() argument
741 : Base(loc), nameDecl(nameDecl) {} in OpConstraintDecl()
744 const OpNameDecl *nameDecl; variable
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/AST/
H A DNodes.cpp380 const OpNameDecl *nameDecl) { in create() argument
381 if (!nameDecl) in create()
382 nameDecl = OpNameDecl::create(ctx, SMRange()); in create()
385 OpConstraintDecl(loc, nameDecl); in create()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/
H A DParser.cpp1585 const ast::Name &nameDecl = ast::Name::create(ctx, name, nameLoc); in defineVariableDecl() local
1590 return ast::VariableDecl::create(ctx, nameDecl, type, initExpr, in defineVariableDecl()
1593 if (failed(checkDefineNamedDecl(nameDecl))) in defineVariableDecl()
1597 ast::VariableDecl::create(ctx, nameDecl, type, initExpr, constraints); in defineVariableDecl()