#include "mlir/Dialect/LLVMIR/LLVMTypes.h"
#include "mlir/IR/DialectImplementation.h"
#include "mlir/IR/OpDefinition.h"
#include "mlir/IR/TypeUtilities.h"
#include "mlir/Transforms/FoldUtils.h"
#include "llvm/ADT/TypeSwitch.h"
#include "aie/Dialect/AIEVec/AIEVecUtils.h"
#include "aie/Dialect/AIEVec/IR/AIEVecOps.h"
#include "aie/Dialect/AIEVec/IR/AIEVecEnums.cpp.inc"
#include "aie/Dialect/AIEVec/IR/AIEVecOpsDialect.cpp.inc"
#include "aie/Dialect/AIEVec/IR/AIEVecAttributes.cpp.inc"
#include "aie/Dialect/AIEVec/IR/AIEVecOps.cpp.inc"
Go to the source code of this file.
|
template<typename T > |
void | printAccumulator (OpAsmPrinter &p, T op) |
|
template<> |
void | printAccumulator (OpAsmPrinter &p, aievec::FMAElemOp op) |
|
template<> |
void | printAccumulator (OpAsmPrinter &p, aievec::MulElemOp op) |
|
template<typename T > |
void | elideFMSubAttr (T op, SmallVector< StringRef, 4 > &elidedAttrs) |
|
template<> |
void | elideFMSubAttr (aievec::FMAElemOp op, SmallVector< StringRef, 4 > &elidedAttrs) |
|
template<> |
void | elideFMSubAttr (aievec::MulElemOp op, SmallVector< StringRef, 4 > &elidedAttrs) |
|
template<typename T > |
LogicalResult | verifyMulFMAElemOp (T op) |
|
ParseResult | parseMulFMAElemOp (OpAsmParser &parser, OperationState &result, bool isFMAElemOp=true) |
|
template<typename T > |
LogicalResult | verifyPackUnpackOp (T op) |
|
ParseResult | parsePackUnpackOp (OpAsmParser &parser, OperationState &result) |
|
template<> |
void | printAccumulator (OpAsmPrinter &p, aievec::FMAConvOp op) |
|
template<> |
void | printAccumulator (OpAsmPrinter &p, aievec::MulConvOp op) |
|
template<> |
void | elideFMSubAttr (FMAConvOp op, SmallVector< StringRef, 4 > &elidedAttrs) |
|
template<> |
void | elideFMSubAttr (MulConvOp op, SmallVector< StringRef, 4 > &elidedAttrs) |
|
template<typename T > |
LogicalResult | verifyMulFMAConvOp (T op) |
|
ParseResult | parseMulFMAConvOp (OpAsmParser &parser, OperationState &result, bool isFMAConvOp=true) |
|
◆ GET_ATTRDEF_CLASSES
#define GET_ATTRDEF_CLASSES |
◆ GET_ATTRDEF_LIST
◆ GET_OP_CLASSES
◆ GET_OP_LIST
◆ elideFMSubAttr() [1/5]
template<>
void elideFMSubAttr |
( |
aievec::FMAElemOp |
op, |
|
|
SmallVector< StringRef, 4 > & |
elidedAttrs |
|
) |
| |
|
inline |
◆ elideFMSubAttr() [2/5]
template<>
void elideFMSubAttr |
( |
aievec::MulElemOp |
op, |
|
|
SmallVector< StringRef, 4 > & |
elidedAttrs |
|
) |
| |
|
inline |
◆ elideFMSubAttr() [3/5]
template<>
void elideFMSubAttr |
( |
FMAConvOp |
op, |
|
|
SmallVector< StringRef, 4 > & |
elidedAttrs |
|
) |
| |
|
inline |
◆ elideFMSubAttr() [4/5]
template<>
void elideFMSubAttr |
( |
MulConvOp |
op, |
|
|
SmallVector< StringRef, 4 > & |
elidedAttrs |
|
) |
| |
|
inline |
◆ elideFMSubAttr() [5/5]
template<typename T >
void elideFMSubAttr |
( |
T |
op, |
|
|
SmallVector< StringRef, 4 > & |
elidedAttrs |
|
) |
| |
◆ parseMulFMAConvOp()
ParseResult parseMulFMAConvOp |
( |
OpAsmParser & |
parser, |
|
|
OperationState & |
result, |
|
|
bool |
isFMAConvOp = true |
|
) |
| |
◆ parseMulFMAElemOp()
ParseResult parseMulFMAElemOp |
( |
OpAsmParser & |
parser, |
|
|
OperationState & |
result, |
|
|
bool |
isFMAElemOp = true |
|
) |
| |
◆ parsePackUnpackOp()
ParseResult parsePackUnpackOp |
( |
OpAsmParser & |
parser, |
|
|
OperationState & |
result |
|
) |
| |
◆ printAccumulator() [1/5]
template<>
void printAccumulator |
( |
OpAsmPrinter & |
p, |
|
|
aievec::FMAConvOp |
op |
|
) |
| |
|
inline |
◆ printAccumulator() [2/5]
template<>
void printAccumulator |
( |
OpAsmPrinter & |
p, |
|
|
aievec::FMAElemOp |
op |
|
) |
| |
|
inline |
◆ printAccumulator() [3/5]
template<>
void printAccumulator |
( |
OpAsmPrinter & |
p, |
|
|
aievec::MulConvOp |
op |
|
) |
| |
|
inline |
◆ printAccumulator() [4/5]
template<>
void printAccumulator |
( |
OpAsmPrinter & |
p, |
|
|
aievec::MulElemOp |
op |
|
) |
| |
|
inline |
◆ printAccumulator() [5/5]
template<typename T >
void printAccumulator |
( |
OpAsmPrinter & |
p, |
|
|
T |
op |
|
) |
| |
◆ verifyMulFMAConvOp()
template<typename T >
LogicalResult verifyMulFMAConvOp |
( |
T |
op | ) |
|
◆ verifyMulFMAElemOp()
template<typename T >
LogicalResult verifyMulFMAElemOp |
( |
T |
op | ) |
|
◆ verifyPackUnpackOp()
template<typename T >
LogicalResult verifyPackUnpackOp |
( |
T |
op | ) |
|