MLIR  20.0.0git
Macros | Functions
AMDGPUDialect.cpp File Reference
#include "mlir/Dialect/AMDGPU/IR/AMDGPUDialect.h"
#include "mlir/Dialect/Arith/IR/Arith.h"
#include "mlir/Dialect/GPU/IR/GPUDialect.h"
#include "mlir/Dialect/LLVMIR/ROCDLDialect.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/IR/Diagnostics.h"
#include "mlir/IR/DialectImplementation.h"
#include "mlir/IR/Matchers.h"
#include "mlir/IR/OpImplementation.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/IR/TypeUtilities.h"
#include "llvm/ADT/TypeSwitch.h"
#include <limits>
#include <optional>
#include "mlir/Dialect/AMDGPU/IR/AMDGPUDialect.cpp.inc"
#include "mlir/Dialect/AMDGPU/IR/AMDGPU.cpp.inc"
#include "mlir/Dialect/AMDGPU/IR/AMDGPUAttributes.cpp.inc"
#include "mlir/Dialect/AMDGPU/IR/AMDGPUEnums.cpp.inc"

Go to the source code of this file.

Macros

#define GET_OP_LIST
 
#define GET_ATTRDEF_LIST
 
#define GET_ATTRDEF_CLASSES
 
#define GET_OP_CLASSES
 

Functions

template<typename T >
static LogicalResult verifyRawBufferOp (T &op)
 
static std::optional< uint32_t > getConstantUint32 (Value v)
 
template<typename OpType >
static bool staticallyOutOfBounds (OpType op)
 

Macro Definition Documentation

◆ GET_ATTRDEF_CLASSES

#define GET_ATTRDEF_CLASSES

Definition at line 395 of file AMDGPUDialect.cpp.

◆ GET_ATTRDEF_LIST

#define GET_ATTRDEF_LIST

◆ GET_OP_CLASSES

#define GET_OP_CLASSES

Definition at line 398 of file AMDGPUDialect.cpp.

◆ GET_OP_LIST

#define GET_OP_LIST

Function Documentation

◆ getConstantUint32()

static std::optional<uint32_t> getConstantUint32 ( Value  v)
static

◆ staticallyOutOfBounds()

template<typename OpType >
static bool staticallyOutOfBounds ( OpType  op)
static

Definition at line 124 of file AMDGPUDialect.cpp.

References getConstantUint32(), mlir::getStridesAndOffset(), and max().

◆ verifyRawBufferOp()

template<typename T >
static LogicalResult verifyRawBufferOp ( T &  op)
static

Definition at line 66 of file AMDGPUDialect.cpp.