Go to the source code of this file.
|
| | mlir |
| | Include the generated interface declarations.
|
| |
◆ DEBUG_TYPE
| #define DEBUG_TYPE "linalg-specialization" |
◆ GEN_PASS_DEF_LINALGSPECIALIZEGENERICOPSPASS
| #define GEN_PASS_DEF_LINALGSPECIALIZEGENERICOPSPASS |
◆ REPLACE_BINARY_OP
| #define REPLACE_BINARY_OP |
( |
|
NEWOP, |
|
|
|
OPERANDS_SWAP |
|
) |
| |
Value: (rewriter.replaceOpWithNewOp<NEWOP>( \
genericOp, \
ValueRange{genericOp.getDpsInputs()[(OPERANDS_SWAP) ? 1 : 0], \
genericOp.getDpsInputs()[(OPERANDS_SWAP) ? 0 : 1]}, \
ValueRange{genericOp.getDpsInits()[0]}))
Definition at line 30 of file Specialize.cpp.
◆ REPLACE_UNARY_OP
| #define REPLACE_UNARY_OP |
( |
|
NEWOP | ) |
|
Value: (rewriter.replaceOpWithNewOp<NEWOP>(genericOp, \
ValueRange{genericOp.getDpsInputs()[0]}, \
ValueRange{genericOp.getDpsInits()[0]}))
Definition at line 37 of file Specialize.cpp.
◆ areBinOpsSwapped()
| static bool areBinOpsSwapped |
( |
GenericOp |
genericOp | ) |
|
|
static |