My Project
|
#include "mlir/Dialect/SPIRV/LayoutUtils.h"
#include "mlir/Dialect/SPIRV/SPIRVDialect.h"
#include "mlir/Dialect/SPIRV/SPIRVLowering.h"
#include "mlir/Dialect/SPIRV/SPIRVOps.h"
#include "mlir/Dialect/StandardOps/Ops.h"
#include "mlir/IR/AffineMap.h"
#include "llvm/ADT/SetVector.h"
#include "StandardToSPIRV.cpp.inc"
Namespaces | |
mlir | |
Macros | |
#define | DISPATCH(cmpPredicate, spirvOp) |
#define | DISPATCH(cmpPredicate, spirvOp) |
Functions | |
spirv::AccessChainOp | getElementPtr (OpBuilder &builder, SPIRVTypeConverter &typeConverter, Location loc, MemRefType origBaseType, Value basePtr, ArrayRef< Value > indices) |
void | mlir::populateStandardToSPIRVPatterns (MLIRContext *context, SPIRVTypeConverter &typeConverter, OwningRewritePatternList &patterns) |
#define DISPATCH | ( | cmpPredicate, | |
spirvOp | |||
) |
#define DISPATCH | ( | cmpPredicate, | |
spirvOp | |||
) |
spirv::AccessChainOp getElementPtr | ( | OpBuilder & | builder, |
SPIRVTypeConverter & | typeConverter, | ||
Location | loc, | ||
MemRefType | origBaseType, | ||
Value | basePtr, | ||
ArrayRef< Value > | indices | ||
) |
Performs the index computation to get to the element pointed to by indices
using the layout map of baseType
.