Lines Matching refs:dstAttr
65 auto dstAttr = builder.getIntegerAttr(dstType, srcAttr.getInt()); in convertIntegerAttr() local
67 << dstAttr << "' for type '" << dstType << "'\n"); in convertIntegerAttr()
68 return dstAttr; in convertIntegerAttr()
630 FloatAttr dstAttr = convertFloatAttr( in matchAndRewrite() local
632 if (!dstAttr) in matchAndRewrite()
634 elements.push_back(dstAttr); in matchAndRewrite()
640 IntegerAttr dstAttr = in matchAndRewrite() local
643 if (!dstAttr) in matchAndRewrite()
645 elements.push_back(dstAttr); in matchAndRewrite()
684 auto dstAttr = srcAttr; in matchAndRewrite() local
689 dstAttr = convertFloatAttr(srcAttr, dstType.cast<FloatType>(), rewriter); in matchAndRewrite()
690 if (!dstAttr) in matchAndRewrite()
694 rewriter.replaceOpWithNewOp<spirv::ConstantOp>(constOp, dstType, dstAttr); in matchAndRewrite()
702 auto dstAttr = convertBoolAttr(constOp.value(), rewriter); in matchAndRewrite() local
703 if (!dstAttr) in matchAndRewrite()
705 rewriter.replaceOpWithNewOp<spirv::ConstantOp>(constOp, dstType, dstAttr); in matchAndRewrite()
712 auto dstAttr = in matchAndRewrite() local
714 if (!dstAttr) in matchAndRewrite()
716 rewriter.replaceOpWithNewOp<spirv::ConstantOp>(constOp, dstType, dstAttr); in matchAndRewrite()