Home
last modified time | relevance | path

Searched refs:AccessChainOp (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVCanonicalization.cpp88 : public OpRewritePattern<spirv::AccessChainOp> {
89 using OpRewritePattern<spirv::AccessChainOp>::OpRewritePattern;
91 LogicalResult matchAndRewrite(spirv::AccessChainOp accessChainOp, in matchAndRewrite()
93 auto parentAccessChainOp = dyn_cast_or_null<spirv::AccessChainOp>( in matchAndRewrite()
105 rewriter.replaceOpWithNewOp<spirv::AccessChainOp>( in matchAndRewrite()
113 void spirv::AccessChainOp::getCanonicalizationPatterns( in getCanonicalizationPatterns()
DSPIRVLowering.cpp604 spirv::AccessChainOp mlir::spirv::getElementPtr( in getElementPtr()
643 return builder.create<spirv::AccessChainOp>(loc, basePtr, linearizedIndices); in getElementPtr()
DSPIRVOps.cpp954 void spirv::AccessChainOp::build(OpBuilder &builder, OperationState &state, in build()
1007 static void print(spirv::AccessChainOp op, OpAsmPrinter &printer) { in print()
1008 printer << spirv::AccessChainOp::getOperationName() << ' ' << op.base_ptr() in print()
1013 static LogicalResult verify(spirv::AccessChainOp accessChainOp) { in verify()
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/
DSPIRVLowering.h88 class AccessChainOp; variable
125 spirv::AccessChainOp getElementPtr(SPIRVTypeConverter &typeConverter,
/external/llvm-project/mlir/lib/Conversion/StandardToSPIRV/
DConvertStandardToSPIRV.cpp163 spirv::AccessChainOp op, in adjustAccessChainForBitwidth()
178 return builder.create<spirv::AccessChainOp>(loc, t, op.base_ptr(), indices); in adjustAccessChainForBitwidth()
840 spirv::AccessChainOp accessChainOp = in matchAndRewrite()
961 spirv::AccessChainOp accessChainOp = in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Transforms/
DLowerABIAttributesPass.cpp211 auto loadPtr = rewriter.create<spirv::AccessChainOp>( in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertSPIRVToLLVM.cpp302 class AccessChainPattern : public SPIRVToLLVMConversion<spirv::AccessChainOp> {
304 using SPIRVToLLVMConversion<spirv::AccessChainOp>::SPIRVToLLVMConversion;
307 matchAndRewrite(spirv::AccessChainOp op, ArrayRef<Value> operands, in matchAndRewrite()