Lines Matching refs:srcBits
333 int srcBits = memrefType.getElementType().getIntOrFloatBitWidth(); in matchAndRewrite() local
334 bool isBool = srcBits == 1; in matchAndRewrite()
336 srcBits = typeConverter.getOptions().boolNumBits; in matchAndRewrite()
348 assert(dstBits % srcBits == 0); in matchAndRewrite()
352 if (srcBits == dstBits) { in matchAndRewrite()
366 srcBits, dstBits, rewriter); in matchAndRewrite()
376 Value offset = getOffsetForBitwidth(loc, lastDim, srcBits, dstBits, rewriter); in matchAndRewrite()
382 loc, dstType, rewriter.getIntegerAttr(dstType, (1 << srcBits) - 1)); in matchAndRewrite()
389 rewriter.getIntegerAttr(dstType, dstBits - srcBits); in matchAndRewrite()
446 int srcBits = memrefType.getElementType().getIntOrFloatBitWidth(); in matchAndRewrite() local
448 bool isBool = srcBits == 1; in matchAndRewrite()
450 srcBits = typeConverter.getOptions().boolNumBits; in matchAndRewrite()
463 assert(dstBits % srcBits == 0); in matchAndRewrite()
465 if (srcBits == dstBits) { in matchAndRewrite()
487 Value offset = getOffsetForBitwidth(loc, lastDim, srcBits, dstBits, rewriter); in matchAndRewrite()
492 loc, dstType, rewriter.getIntegerAttr(dstType, (1 << srcBits) - 1)); in matchAndRewrite()
502 srcBits, dstBits, rewriter); in matchAndRewrite()