Searched refs:floatOne (Results 1 – 3 of 3) sorted by relevance
4 const float floatOne = 1;12 ok = ok && (int(floatOne) == intOne);13 ok = ok && (float(intOne) == floatOne);21 ok = ok && (half4(int4One) == half4(half(floatOne))); // cast(vector) == splat(cast(scalar))22 ok = ok && (half4(intOne) == half4(float4(floatOne))); // splatcast(sclr) == cast(splat(sclr))
37 auto floatOne = rewriter.getFloatAttr(floatType, 1.0); in matchAndRewrite() local39 Value one = rewriter.create<ConstantOp>(loc, floatOne); in matchAndRewrite()
2504 auto floatOne = rewriter.getFloatAttr(floatType, 1.0); in matchAndRewrite() local2511 SplatElementsAttr::get(resultType.cast<ShapedType>(), floatOne)); in matchAndRewrite()2513 one = rewriter.create<LLVM::ConstantOp>(loc, operandType, floatOne); in matchAndRewrite()2530 floatOne); in matchAndRewrite()