|
MLIR 24.0.0git
|
#include "mlir/Dialect/PDLInterp/IR/PDLInterp.h"#include "mlir/Dialect/PDL/IR/PDLTypes.h"#include "mlir/IR/BuiltinTypes.h"#include "mlir/Interfaces/FunctionImplementation.h"#include "mlir/Dialect/PDLInterp/IR/PDLInterpOpsDialect.cpp.inc"#include "mlir/Dialect/PDLInterp/IR/PDLInterpOps.cpp.inc"Go to the source code of this file.
Macros | |
| #define | GET_OP_CLASSES |
Functions | |
| template<typename OpT> | |
| static LogicalResult | verifySwitchOp (OpT op) |
| static ParseResult | parseCreateOperationOpAttributes (OpAsmParser &p, SmallVectorImpl< OpAsmParser::UnresolvedOperand > &attrOperands, ArrayAttr &attrNamesAttr) |
| static void | printCreateOperationOpAttributes (OpAsmPrinter &p, CreateOperationOp op, OperandRange attrArgs, ArrayAttr attrNames) |
| static ParseResult | parseCreateOperationOpResults (OpAsmParser &p, SmallVectorImpl< OpAsmParser::UnresolvedOperand > &resultOperands, SmallVectorImpl< Type > &resultTypes, UnitAttr &inferredResultTypes) |
| static void | printCreateOperationOpResults (OpAsmPrinter &p, CreateOperationOp op, OperandRange resultOperands, TypeRange resultTypes, UnitAttr inferredResultTypes) |
| static Type | getGetValueTypeOpValueType (Type type) |
| Given the result type of a GetValueTypeOp, return the expected input type. | |
| static ParseResult | parseRangeType (OpAsmParser &p, TypeRange argumentTypes, Type &resultType) |
| static void | printRangeType (OpAsmPrinter &p, CreateRangeOp op, TypeRange argumentTypes, Type resultType) |
| #define GET_OP_CLASSES |
Definition at line 311 of file PDLInterp.cpp.
Given the result type of a GetValueTypeOp, return the expected input type.
Definition at line 231 of file PDLInterp.cpp.
References mlir::Type::getContext().
|
static |
Definition at line 59 of file PDLInterp.cpp.
References ArrayAttr(), mlir::Builder::getArrayAttr(), mlir::AsmParser::getBuilder(), mlir::AsmParser::parseAttribute(), mlir::AsmParser::parseCommaSeparatedList(), mlir::AsmParser::parseEqual(), mlir::OpAsmParser::parseOperand(), mlir::AsmParser::parseOptionalLBrace(), mlir::AsmParser::parseRBrace(), and success().
|
static |
Definition at line 95 of file PDLInterp.cpp.
References mlir::AsmParser::getBuilder(), mlir::Builder::getUnitAttr(), mlir::AsmParser::parseColonTypeList(), mlir::AsmParser::parseGreater(), mlir::AsmParser::parseKeyword(), mlir::AsmParser::parseLParen(), mlir::OpAsmParser::parseOperandList(), mlir::AsmParser::parseOptionalArrow(), mlir::AsmParser::parseOptionalLess(), mlir::AsmParser::parseRParen(), and success().
|
static |
Definition at line 241 of file PDLInterp.cpp.
References mlir::pdl::getRangeElementTypeOrSelf(), mlir::AsmParser::parseColonType(), and success().
|
static |
Definition at line 83 of file PDLInterp.cpp.
References ArrayAttr().
|
static |
Definition at line 115 of file PDLInterp.cpp.
|
static |
Definition at line 253 of file PDLInterp.cpp.
|
static |
Definition at line 24 of file PDLInterp.cpp.
References success().