|
MLIR 24.0.0git
|
#include "mlir/Dialect/LLVMIR/NVVMTcgen05Ops.h"#include "IR/NVVMOps.h"#include "mlir/IR/BuiltinTypes.h"#include "mlir/IR/Diagnostics.h"#include "mlir/IR/Operation.h"#include "mlir/IR/Types.h"#include "mlir/Target/LLVMIR/ModuleTranslation.h"#include "llvm/IR/IRBuilder.h"#include "llvm/IR/IntrinsicsNVPTX.h"#include "llvm/IR/NVVMIntrinsicUtils.h"#include "llvm/Support/Casting.h"#include "llvm/Support/FormatVariadic.h"#include <array>#include <cassert>#include <cmath>#include "mlir/Dialect/LLVMIR/NVVMTcgen05Ops.cpp.inc"Go to the source code of this file.
Macros | |
| #define | TCGEN05_CP_IMPL(shape_mc, src_fmt, cg) |
| #define | TCGEN05_CP_2CTA(shape_mc, src_fmt, is_2cta) |
| #define | GET_TCGEN05_CP_ID(shape_mc, src_fmt, is_2cta) |
| #define | TCGEN05LDRED(SHAPE, NUM, TYPE) |
| #define | GET_OP_CLASSES |
Functions | |
| static llvm::nvvm::CTAGroupKind | getNVVMCtaGroupKind (NVVM::CTAGroupKind ctaGroup) |
| static llvm::Value * | packValInto64Bits (llvm::IRBuilderBase &builder, llvm::Value *result, llvm::Value *field, unsigned sizeInBits, unsigned start) |
| Packs the given field into the result. | |
| static unsigned | isValidVectorLength (NVVM::Tcgen05LdStShape shape, unsigned vecLen) |
| static llvm::nvvm::Tcgen05MMAKind | getNVVMTcgen05MMAKind (NVVM::Tcgen05MMAKind kind) |
| static LogicalResult | verifyTcgen05MMAOp (bool isATensor, mlir::Value disableOutputLane, NVVM::CTAGroupKind ctaGroup, bool hasAShift, NVVM::Tcgen05MMACollectorOp collectorOp, Location loc) |
| static LogicalResult | verifyTcgen05MMABlockScaleOp (NVVM::Tcgen05MMACollectorOp collectorOp, NVVM::Tcgen05MMAKind kind, NVVM::Tcgen05MMABlockScale blockScale, Location loc) |
| #define GET_OP_CLASSES |
Definition at line 1158 of file NVVMTcgen05Ops.cpp.
| #define GET_TCGEN05_CP_ID | ( | shape_mc, | |
| src_fmt, | |||
| is_2cta ) |
Definition at line 195 of file NVVMTcgen05Ops.cpp.
| #define TCGEN05_CP_2CTA | ( | shape_mc, | |
| src_fmt, | |||
| is_2cta ) |
Definition at line 191 of file NVVMTcgen05Ops.cpp.
| #define TCGEN05_CP_IMPL | ( | shape_mc, | |
| src_fmt, | |||
| cg ) |
Definition at line 188 of file NVVMTcgen05Ops.cpp.
| #define TCGEN05LDRED | ( | SHAPE, | |
| NUM, | |||
| TYPE ) |
Definition at line 1035 of file NVVMTcgen05Ops.cpp.
|
static |
Definition at line 40 of file NVVMTcgen05Ops.cpp.
|
static |
Definition at line 280 of file NVVMTcgen05Ops.cpp.
Definition at line 229 of file NVVMTcgen05Ops.cpp.
|
static |
Packs the given field into the result.
The result is 64-bits and each field can be 32-bits or narrower.
Definition at line 83 of file NVVMTcgen05Ops.cpp.
References result.
|
static |
Definition at line 720 of file NVVMTcgen05Ops.cpp.
References mlir::emitError(), and success().
|
static |
Definition at line 449 of file NVVMTcgen05Ops.cpp.
References mlir::emitError(), mlir::Value::getType(), and success().