Home
last modified time | relevance | path

Searched refs:OpConstraintDecl (Results 1 – 7 of 7) sorted by relevance

/llvm-project/mlir/test/mlir-pdll/Parser/
H A Dstmt.pdll42 // CHECK: `-OpConstraintDecl
58 // CHECK: `-OpConstraintDecl
60 // CHECK: `-OpConstraintDecl
77 // CHECK: `-OpConstraintDecl
H A Dinclude_td.pdll51 // CHECK: `-OpConstraintDecl
/llvm-project/mlir/lib/Tools/PDLL/AST/
H A DNodes.cpp65 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 DNodePrinter.cpp93 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 DNodes.h771 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 DParser.cpp967 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 DPDLLServer.cpp557 .Case([&](const ast::OpConstraintDecl *opCst) { in buildHoverForCoreConstraint()