Searched refs:OpConstraintDecl (Results 1 – 7 of 7) sorted by relevance
/llvm-project/mlir/test/mlir-pdll/Parser/ |
H A D | stmt.pdll | 42 // CHECK: `-OpConstraintDecl 58 // CHECK: `-OpConstraintDecl 60 // CHECK: `-OpConstraintDecl 77 // CHECK: `-OpConstraintDecl
|
H A D | include_td.pdll | 51 // CHECK: `-OpConstraintDecl
|
/llvm-project/mlir/lib/Tools/PDLL/AST/ |
H A D | Nodes.cpp | 65 const AttrConstraintDecl, const OpConstraintDecl, in visit() 124 void visitImpl(const OpConstraintDecl *decl) { visit(decl->getNameDecl()); } in visitImpl() 400 OpConstraintDecl *OpConstraintDecl::create(Context &ctx, SMRange loc, in create() 405 return new (ctx.getAllocator().Allocate<OpConstraintDecl>()) in create() 406 OpConstraintDecl(loc, nameDecl); in create() 409 std::optional<StringRef> OpConstraintDecl::getName() const { in getName()
|
H A D | NodePrinter.cpp | 93 void printImpl(const OpConstraintDecl *decl); 178 const AttrConstraintDecl, const OpConstraintDecl, in print() 288 void NodePrinter::printImpl(const OpConstraintDecl *decl) { in printImpl()
|
/llvm-project/mlir/include/mlir/Tools/PDLL/AST/ |
H A D | Nodes.h | 771 class OpConstraintDecl 772 : public Node::NodeBase<OpConstraintDecl, CoreConstraintDecl> { 774 static OpConstraintDecl *create(Context &ctx, SMRange loc, 784 explicit OpConstraintDecl(SMRange loc, const OpNameDecl *nameDecl) in OpConstraintDecl() function 1328 return isa<AttrConstraintDecl, OpConstraintDecl, TypeConstraintDecl, in classof()
|
/llvm-project/mlir/lib/Tools/PDLL/Parser/ |
H A D | Parser.cpp | 967 decls.push_back(createODSNativePDLLConstraintDecl<ast::OpConstraintDecl>( in processTdIncludeRecords() 1707 return ast::ConstraintRef(ast::OpConstraintDecl::create(ctx, loc, *opName), in parseConstraint() 2611 dyn_cast<ast::OpConstraintDecl>(ref.constraint)) { in validateVariableConstraint()
|
/llvm-project/mlir/lib/Tools/mlir-pdll-lsp-server/ |
H A D | PDLLServer.cpp | 557 .Case([&](const ast::OpConstraintDecl *opCst) { in buildHoverForCoreConstraint()
|