Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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-15.0.7/mlir/lib/Tools/PDLL/AST/
H A DNodes.cpp64 const AttrConstraintDecl, const OpConstraintDecl, in visit()
119 void visitImpl(const OpConstraintDecl *decl) { visit(decl->getNameDecl()); } in visitImpl()
379 OpConstraintDecl *OpConstraintDecl::create(Context &ctx, SMRange loc, in create()
384 return new (ctx.getAllocator().Allocate<OpConstraintDecl>()) in create()
385 OpConstraintDecl(loc, nameDecl); in create()
388 Optional<StringRef> OpConstraintDecl::getName() const { in getName()
H A DNodePrinter.cpp91 void printImpl(const OpConstraintDecl *decl);
176 const AttrConstraintDecl, const OpConstraintDecl, in print()
275 void NodePrinter::printImpl(const OpConstraintDecl *decl) { in printImpl()
/llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/
H A DNodes.h727 class OpConstraintDecl
728 : public Node::NodeBase<OpConstraintDecl, CoreConstraintDecl> {
730 static OpConstraintDecl *create(Context &ctx, SMRange loc,
740 explicit OpConstraintDecl(SMRange loc, const OpNameDecl *nameDecl) in OpConstraintDecl() function
1280 return isa<AttrConstraintDecl, OpConstraintDecl, TypeConstraintDecl, in classof()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/
H A DParser.cpp921 decls.push_back(createODSNativePDLLConstraintDecl<ast::OpConstraintDecl>( in processTdIncludeRecords()
1680 return ast::ConstraintRef(ast::OpConstraintDecl::create(ctx, loc, *opName), in parseConstraint()
2581 dyn_cast<ast::OpConstraintDecl>(ref.constraint)) { in validateVariableConstraint()
/llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/
H A DPDLLServer.cpp599 .Case([&](const ast::OpConstraintDecl *opCst) { in buildHoverForCoreConstraint()