|
template<class AttrElementT , class ElementValueT = typename AttrElementT::ValueType, class CalculationT = function_ref<ElementValueT(ElementValueT)>> |
static Attribute | constFoldUnaryOp (ArrayRef< Attribute > operands, const CalculationT &calculate) |
|
template<class AttrElementT , class ElementValueT = typename AttrElementT::ValueType, class CalculationT = function_ref< ElementValueT(ElementValueT, ElementValueT, ElementValueT)>> |
static Attribute | constFoldTernaryOp (ArrayRef< Attribute > operands, const CalculationT &calculate) |
|
template<class Op > |
static OpFoldResult | foldSigPtrExtractOp (Op op, ArrayRef< Attribute > operands) |
|
template<class Op > |
static OpFoldResult | foldSigPtrArraySliceOp (Op op, ArrayRef< Attribute > operands) |
|
template<class Op > |
static LogicalResult | canonicalizeSigPtrArraySliceOp (Op op, PatternRewriter &rewriter) |
|
template<class SigPtrType > |
static LogicalResult | inferReturnTypesOfStructExtractOp (MLIRContext *context, std::optional< Location > loc, ValueRange operands, DictionaryAttr attrs, mlir::OpaqueProperties properties, mlir::RegionRange regions, SmallVectorImpl< Type > &results) |
|
static ParseResult | parseArgumentList (OpAsmParser &parser, SmallVectorImpl< OpAsmParser::Argument > &args, SmallVectorImpl< Type > &argTypes) |
| Parse an argument list of an entity operation. More...
|
|
static ParseResult | parseEntitySignature (OpAsmParser &parser, OperationState &result, SmallVectorImpl< OpAsmParser::Argument > &args, SmallVectorImpl< Type > &argTypes) |
| parse an entity signature with syntax: (arg0 : T0, arg1 : T1, <...>) -> (out0 : T0, out1 : T1, <...>) More...
|
|
static void | printArgumentList (OpAsmPrinter &printer, std::vector< BlockArgument > args) |
|
static ParseResult | parseProcArgumentList (OpAsmParser &parser, SmallVectorImpl< Type > &argTypes, SmallVectorImpl< OpAsmParser::Argument > &argNames) |
|
static void | printProcArguments (OpAsmPrinter &p, Operation *op, ArrayRef< Type > types, uint64_t numIns) |
| Print the signature of the proc unit. More...
|
|
template<class AttrElementT , class ElementValueT = typename AttrElementT::ValueType, class CalculationT = function_ref< ElementValueT(ElementValueT, ElementValueT, ElementValueT)>>
static Attribute constFoldTernaryOp |
( |
ArrayRef< Attribute > |
operands, |
|
|
const CalculationT & |
calculate |
|
) |
| |
|
static |