#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.
|
| 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) |
◆ GET_OP_CLASSES
◆ GET_OP_LIST
◆ getGetValueTypeOpValueType()
| Type getGetValueTypeOpValueType |
( |
Type | type | ) |
|
|
static |
◆ parseCreateOperationOpAttributes()
◆ parseCreateOperationOpResults()
Definition at line 102 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().
◆ parseRangeType()
◆ printCreateOperationOpAttributes()
◆ printCreateOperationOpResults()
◆ printRangeType()
◆ verifySwitchOp()
template<typename OpT>
| LogicalResult verifySwitchOp |
( |
OpT | op | ) |
|
|
static |