MLIR 23.0.0git
IndexIntrinsicsOpLowering.h File Reference

Go to the source code of this file.

Classes

struct  mlir::gpu::index_lowering::OpLowering< Op, XOp, YOp, ZOp >

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::gpu
namespace  mlir::gpu::index_lowering

Typedefs

using mlir::gpu::index_lowering::IndexKind = gpu::DimensionKind

Enumerations

enum class  mlir::gpu::index_lowering::IntrType : uint32_t { mlir::gpu::index_lowering::None = 0 , mlir::gpu::index_lowering::Id = 1 , mlir::gpu::index_lowering::Dim = 2 }

Functions

LLVM::ConstantRangeAttr mlir::gpu::index_lowering::getIndexOpRange (Operation *op, gpu::Dimension dim, std::optional< uint32_t > opUpperBound, IndexKind indexKind, IntrType intrType, unsigned bitWidth)
 Returns a ConstantRangeAttr for a GPU index op, or nullptr if no bounds are found.