Searched refs:AttributeExpr (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/AST/ |
| H A D | Nodes.cpp | 59 const AttributeExpr, const CallExpr, const DeclRefExpr, in visit() 95 void visitImpl(const AttributeExpr *expr) {} in visitImpl() 253 AttributeExpr *AttributeExpr::create(Context &ctx, SMRange loc, in create() 255 return new (ctx.getAllocator().Allocate<AttributeExpr>()) in create() 256 AttributeExpr(ctx, loc, copyStringWithNull(ctx, value)); in create()
|
| H A D | NodePrinter.cpp | 82 void printImpl(const AttributeExpr *expr); 171 const AttributeExpr, const CallExpr, const DeclRefExpr, in print() 219 void NodePrinter::printImpl(const AttributeExpr *expr) { in printImpl()
|
| /llvm-project-15.0.7/mlir/test/mlir-pdll/Parser/ |
| H A D | expr.pdll | 8 // CHECK: `-AttributeExpr {{.*}} Value<"10: i32"> 193 // CHECK: `-AttributeExpr {{.*}} Value<"unit">
|
| /llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/ |
| H A D | Nodes.h | 366 class AttributeExpr : public Node::NodeBase<AttributeExpr, Expr> { 368 static AttributeExpr *create(Context &ctx, SMRange loc, StringRef value); 375 AttributeExpr(Context &ctx, SMRange loc, StringRef value) in AttributeExpr() function 1286 return isa<AttributeExpr, CallExpr, DeclRefExpr, MemberAccessExpr, in classof()
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/CodeGen/ |
| H A D | MLIRGen.cpp | 95 Value genExprImpl(const ast::AttributeExpr *expr); 379 .Case<const ast::AttributeExpr, const ast::MemberAccessExpr, in genSingleExpr() 399 Value CodeGen::genExprImpl(const ast::AttributeExpr *expr) { in genExprImpl()
|
| /llvm-project-15.0.7/mlir/test/mlir-pdll/CodeGen/MLIR/ |
| H A D | expr.pdll | 4 // AttributeExpr
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/ |
| H A D | Parser.cpp | 1031 attrValue = ast::AttributeExpr::create(ctx, name.getLoc(), "unit"); in parseNamedAttributeDecl() 1840 return ast::AttributeExpr::create(ctx, loc, attrExpr); in parseAttributeExpr()
|