Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Tools/PDLL/AST/
H A DNodes.cpp69 const NamedAttributeDecl, const OpNameDecl, const PatternDecl, in visit()
129 void visitImpl(const NamedAttributeDecl *decl) { visit(decl->getValue()); } in visitImpl()
304 ArrayRef<NamedAttributeDecl *> attributes) { in create()
306 OperationExpr::totalSizeToAlloc<Expr *, NamedAttributeDecl *>( in create()
477 NamedAttributeDecl *NamedAttributeDecl::create(Context &ctx, const Name &name, in create()
479 return new (ctx.getAllocator().Allocate<NamedAttributeDecl>()) in create()
480 NamedAttributeDecl(name, value); in create()
H A DNodePrinter.cpp97 void printImpl(const NamedAttributeDecl *decl);
179 const ValueRangeConstraintDecl, const NamedAttributeDecl, in print()
315 void NodePrinter::printImpl(const NamedAttributeDecl *decl) { in printImpl()
/llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/
H A DNodes.h26 class NamedAttributeDecl; variable
502 NamedAttributeDecl *> {
509 ArrayRef<NamedAttributeDecl *> attributes);
538 MutableArrayRef<NamedAttributeDecl *> getAttributes() { in getAttributes()
539 return {getTrailingObjects<NamedAttributeDecl *>(), numAttributes}; in getAttributes()
541 MutableArrayRef<NamedAttributeDecl *> getAttributes() const { in getAttributes()
563 friend llvm::TrailingObjects<OperationExpr, Expr *, NamedAttributeDecl *>;
945 class NamedAttributeDecl : public Node::NodeBase<NamedAttributeDecl, Decl> {
947 static NamedAttributeDecl *create(Context &ctx, const Name &name,
957 NamedAttributeDecl(const Name &name, Expr *value) in NamedAttributeDecl() function
[all …]
/llvm-project-15.0.7/mlir/test/mlir-pdll/Parser/
H A Dexpr.pdll192 // CHECK: |-NamedAttributeDecl {{.*}} Name<unitAttr>
194 // CHECK: `-NamedAttributeDecl {{.*}} Name<normal$Attr>
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/
H A DParser.cpp186 FailureOr<ast::NamedAttributeDecl *>
423 MutableArrayRef<ast::NamedAttributeDecl *> attributes,
1005 FailureOr<ast::NamedAttributeDecl *>
1034 return ast::NamedAttributeDecl::create(ctx, name, attrValue); in parseNamedAttributeDecl()
2050 SmallVector<ast::NamedAttributeDecl *> attributes; in parseOperationExpr()
2053 FailureOr<ast::NamedAttributeDecl *> decl = in parseOperationExpr()
2804 MutableArrayRef<ast::NamedAttributeDecl *> attributes, in createOperationExpr()
2814 for (ast::NamedAttributeDecl *attr : attributes) { in createOperationExpr()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/CodeGen/
H A DMLIRGen.cpp506 for (const ast::NamedAttributeDecl *attr : expr->getAttributes()) { in genExprImpl()