Searched refs:lastDim (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/Conversion/MemRefToSPIRV/ |
| H A D | MemRefToSPIRV.cpp | 71 auto lastDim = op->getOperand(op.getNumOperands() - 1); in adjustAccessChainForBitwidth() local 75 indices.back() = builder.create<spirv::SDivOp>(loc, lastDim, idx); in adjustAccessChainForBitwidth() 375 Value lastDim = accessChainOp->getOperand(accessChainOp.getNumOperands() - 1); in matchAndRewrite() local 376 Value offset = getOffsetForBitwidth(loc, lastDim, srcBits, dstBits, rewriter); in matchAndRewrite() 486 Value lastDim = accessChainOp->getOperand(accessChainOp.getNumOperands() - 1); in matchAndRewrite() local 487 Value offset = getOffsetForBitwidth(loc, lastDim, srcBits, dstBits, rewriter); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/ExecutionEngine/ |
| H A D | SparseTensorUtils.cpp | 492 const uint64_t lastDim = getRank() - 1; in expInsert() local 494 cursor[lastDim] = index; in expInsert() 503 cursor[lastDim] = index; in expInsert() 504 insPath(cursor, lastDim, added[i - 1] + 1, values[index]); in expInsert()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | AsmPrinter.cpp | 2099 unsigned lastDim = vShape.size(); in printType() local 2100 unsigned lastFixedDim = lastDim - vectorTy.getNumScalableDims(); in printType() 2106 unsigned secondToLastDim = lastDim - 1; in printType()
|