MLIR  21.0.0git
Functions
XeGPUUtils.cpp File Reference
#include "mlir/Dialect/XeGPU/Utils/XeGPUUtils.h"
#include "mlir/Dialect/SCF/Transforms/Patterns.h"
#include "mlir/Dialect/Utils/IndexingUtils.h"
#include "mlir/Dialect/XeGPU/IR/XeGPU.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/Operation.h"
#include "mlir/IR/ValueRange.h"
#include "mlir/Interfaces/LoopLikeInterface.h"
#include "mlir/Transforms/DialectConversion.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/FormatVariadic.h"
#include <cstdint>
#include <numeric>

Go to the source code of this file.

Functions

static SmallVector< ValueflattenValues (ArrayRef< ValueRange > values)
 convert ArrayRef<ValueRange> into SmallVector<Value> More...
 
template void xegpu::setLayoutAttr< mlir::OpResult > (const mlir::OpResult &result, const mlir::xegpu::LayoutAttr layout)
 
template void xegpu::setLayoutAttr< mlir::OpOperand > (const mlir::OpOperand &operand, const mlir::xegpu::LayoutAttr layout)
 

Function Documentation

◆ flattenValues()

static SmallVector<Value> flattenValues ( ArrayRef< ValueRange values)
static

convert ArrayRef<ValueRange> into SmallVector<Value>

Definition at line 30 of file XeGPUUtils.cpp.

◆ xegpu::setLayoutAttr< mlir::OpOperand >()

template void xegpu::setLayoutAttr< mlir::OpOperand > ( const mlir::OpOperand operand,
const mlir::xegpu::LayoutAttr  layout 
)

◆ xegpu::setLayoutAttr< mlir::OpResult >()

template void xegpu::setLayoutAttr< mlir::OpResult > ( const mlir::OpResult result,
const mlir::xegpu::LayoutAttr  layout 
)