Home
last modified time | relevance | path

Searched refs:srcSize (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/Tensor/IR/
H A DTensorTilingInterfaceImpl.cpp144 auto srcSize = b.createOrFold<tensor::DimOp>(loc, padOp.getSource(), dim); in bubbleUpPadSlice() local
166 Value newOffset = hasLowPad ? min(max(sub(offset, low), zero), srcSize) in bubbleUpPadSlice()
167 : min(offset, srcSize); in bubbleUpPadSlice()
190 ? min(max(add(sub(offset, low), length), zero), srcSize) in bubbleUpPadSlice()
191 : min(add(offset, length), srcSize); in bubbleUpPadSlice()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp886 uint64_t srcSize = DL.getTypeAllocSize(srcAlloca->getAllocatedType()) * in performCallSlotOptzn() local
889 if (cpySize < srcSize) in performCallSlotOptzn()
1006 MemoryLocation(srcAlloca, LocationSize::precise(srcSize)); in performCallSlotOptzn()
1013 cast<ConstantInt>(II->getArgOperand(0))->uge(srcSize)) in performCallSlotOptzn()
1050 ModRefInfo MR = AA->getModRefInfo(C, cpyDest, LocationSize::precise(srcSize)); in performCallSlotOptzn()
1053 MR = AA->callCapturesBefore(C, cpyDest, LocationSize::precise(srcSize), DT); in performCallSlotOptzn()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DTransforms.cpp770 auto srcSize = rewriter.createOrFold<tensor::DimOp>( in matchAndRewrite() local
774 padOp.getLoc(), srcSize, getIdxValue(padOp.getMixedLowPad()[dim])); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/
H A DTosaToLinalg.cpp935 int64_t srcSize = srcShape[currSrcDim]; in createReassociationMapsForCollapse() local
936 while (srcSize < dstSize && currSrcDim < srcShape.size()) { in createReassociationMapsForCollapse()
939 srcSize *= srcShape[currSrcDim]; in createReassociationMapsForCollapse()
941 if (srcSize == dstSize) { in createReassociationMapsForCollapse()