Lines Matching full:extract
912 Int x = Extract(v, 0);
924 Int x = Extract(v, 0);
926 Int y = Extract(v, 1);
1213 auto extract
1214 ::basicBlock->appendInst(extract);
2709 RValue<Byte> Extract(RValue<Byte8> val, int i)
2729 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 0)) + Int(Extract(y, 0)))), 0);
2730 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 1)) + Int(Extract(y, 1)))), 1);
2731 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 2)) + Int(Extract(y, 2)))), 2);
2732 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 3)) + Int(Extract(y, 3)))), 3);
2733 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 4)) + Int(Extract(y, 4)))), 4);
2734 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 5)) + Int(Extract(y, 5)))), 5);
2735 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 6)) + Int(Extract(y, 6)))), 6);
2736 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 7)) + Int(Extract(y, 7)))), 7);
2759 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 0)) - Int(Extract(y, 0)))), 0);
2760 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 1)) - Int(Extract(y, 1)))), 1);
2761 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 2)) - Int(Extract(y, 2)))), 2);
2762 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 3)) - Int(Extract(y, 3)))), 3);
2763 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 4)) - Int(Extract(y, 4)))), 4);
2764 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 5)) - Int(Extract(y, 5)))), 5);
2765 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 6)) - Int(Extract(y, 6)))), 6);
2766 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 7)) - Int(Extract(y, 7)))), 7);
2808 RValue<SByte> Extract(RValue<SByte8> val, int i)
2823 result = Insert(result, Extract(lhs, 0) >> SByte(rhs), 0);
2824 result = Insert(result, Extract(lhs, 1) >> SByte(rhs), 1);
2825 result = Insert(result, Extract(lhs, 2) >> SByte(rhs), 2);
2826 result = Insert(result, Extract(lhs, 3) >> SByte(rhs), 3);
2827 result = Insert(result, Extract(lhs, 4) >> SByte(rhs), 4);
2828 result = Insert(result, Extract(lhs, 5) >> SByte(rhs), 5);
2829 result = Insert(result, Extract(lhs, 6) >> SByte(rhs), 6);
2830 result = Insert(result, Extract(lhs, 7) >> SByte(rhs), 7);
2853 return Int(Extract(xx, 0)) | Int(Extract(xx, 1)) | Int(Extract(xx, 2)) | Int(Extract(xx, 3)) | Int(Extract(xx, 4)) | Int(Extract(xx, 5)) | Int(Extract(xx, 6)) | Int(Extract(xx, 7));
3056 result = Insert(result, SaturateSigned(Short(Int(Extract(x, 0)) + Int(Extract(y, 0)))), 0);
3057 result = Insert(result, SaturateSigned(Short(Int(Extract(x, 1)) + Int(Extract(y, 1)))), 1);
3058 result = Insert(result, SaturateSigned(Short(Int(Extract(x, 2)) + Int(Extract(y, 2)))), 2);
3059 result = Insert(result, SaturateSigned(Short(Int(Extract(x, 3)) + Int(Extract(y, 3)))), 3);
3060 result = Insert(result, SaturateSigned(Short(Int(Extract(x, 4)) + Int(Extract(y, 4)))), 4);
3061 result = Insert(result, SaturateSigned(Short(Int(Extract(x, 5)) + Int(Extract(y, 5)))), 5);
3062 result = Insert(result, SaturateSigned(Short(Int(Extract(x, 6)) + Int(Extract(y, 6)))), 6);
3063 result = Insert(result, SaturateSigned(Short(Int(Extract(x, 7)) + Int(Extract(y, 7)))), 7);
3086 result = Insert(result, SaturateSigned(Short(Int(Extract(x, 0)) - Int(Extract(y, 0)))), 0);
3087 result = Insert(result, SaturateSigned(Short(Int(Extract(x, 1)) - Int(Extract(y, 1)))), 1);
3088 result = Insert(result, SaturateSigned(Short(Int(Extract(x, 2)) - Int(Extract(y, 2)))), 2);
3089 result = Insert(result, SaturateSigned(Short(Int(Extract(x, 3)) - Int(Extract(y, 3)))), 3);
3090 result = Insert(result, SaturateSigned(Short(Int(Extract(x, 4)) - Int(Extract(y, 4)))), 4);
3091 result = Insert(result, SaturateSigned(Short(Int(Extract(x, 5)) - Int(Extract(y, 5)))), 5);
3092 result = Insert(result, SaturateSigned(Short(Int(Extract(x, 6)) - Int(Extract(y, 6)))), 6);
3093 result = Insert(result, SaturateSigned(Short(Int(Extract(x, 7)) - Int(Extract(y, 7)))), 7);
3129 return Int(Extract(xx, 0)) | Int(Extract(xx, 1)) | Int(Extract(xx, 2)) | Int(Extract(xx, 3)) | Int(Extract(xx, 4)) | Int(Extract(xx, 5)) | Int(Extract(xx, 6)) | Int(Extract(xx, 7));
3395 result = Insert(result, Extract(lhs, 0) << Short(rhs), 0);
3396 result = Insert(result, Extract(lhs, 1) << Short(rhs), 1);
3397 result = Insert(result, Extract(lhs, 2) << Short(rhs), 2);
3398 result = Insert(result, Extract(lhs, 3) << Short(rhs), 3);
3413 result = Insert(result, Extract(lhs, 0) >> Short(rhs), 0);
3414 result = Insert(result, Extract(lhs, 1) >> Short(rhs), 1);
3415 result = Insert(result, Extract(lhs, 2) >> Short(rhs), 2);
3416 result = Insert(result, Extract(lhs, 3) >> Short(rhs), 3);
3533 result = Insert(result, SaturateSigned(Int(Extract(x, 0)) + Int(Extract(y, 0))), 0);
3534 result = Insert(result, SaturateSigned(Int(Extract(x, 1)) + Int(Extract(y, 1))), 1);
3535 result = Insert(result, SaturateSigned(Int(Extract(x, 2)) + Int(Extract(y, 2))), 2);
3536 result = Insert(result, SaturateSigned(Int(Extract(x, 3)) + Int(Extract(y, 3))), 3);
3559 result = Insert(result, SaturateSigned(Int(Extract(x, 0)) - Int(Extract(y, 0))), 0);
3560 result = Insert(result, SaturateSigned(Int(Extract(x, 1)) - Int(Extract(y, 1))), 1);
3561 result = Insert(result, SaturateSigned(Int(Extract(x, 2)) - Int(Extract(y, 2))), 2);
3562 result = Insert(result, SaturateSigned(Int(Extract(x, 3)) - Int(Extract(y, 3))), 3);
3585 result = Insert(result, Short((Int(Extract(x, 0)) * Int(Extract(y, 0))) >> 16), 0);
3586 result = Insert(result, Short((Int(Extract(x, 1)) * Int(Extract(y, 1))) >> 16), 1);
3587 result = Insert(result, Short((Int(Extract(x, 2)) * Int(Extract(y, 2))) >> 16), 2);
3588 result = Insert(result, Short((Int(Extract(x, 3)) * Int(Extract(y, 3))) >> 16), 3);
3611 result = Insert(result, Int(Extract(x, 0)) * Int(Extract(y, 0)) + Int(Extract(x, 1)) * Int(Extract(y, 1)), 0);
3612 result = Insert(result, Int(Extract(x, 2)) * Int(Extract(y, 2)) + Int(Extract(x, 3)) * Int(Extract(y, 3)), 1);
3635 result = Insert(result, SaturateSigned(Extract(x, 0)), 0);
3636 result = Insert(result, SaturateSigned(Extract(x, 1)), 1);
3637 result = Insert(result, SaturateSigned(Extract(x, 2)), 2);
3638 result = Insert(result, SaturateSigned(Extract(x, 3)), 3);
3639 result = Insert(result, SaturateSigned(Extract(y, 0)), 4);
3640 result = Insert(result, SaturateSigned(Extract(y, 1)), 5);
3641 result = Insert(result, SaturateSigned(Extract(y, 2)), 6);
3642 result = Insert(result, SaturateSigned(Extract(y, 3)), 7);
3665 result = Insert(result, SaturateUnsigned(Extract(x, 0)), 0);
3666 result = Insert(result, SaturateUnsigned(Extract(x, 1)), 1);
3667 result = Insert(result, SaturateUnsigned(Extract(x, 2)), 2);
3668 result = Insert(result, SaturateUnsigned(Extract(x, 3)), 3);
3669 result = Insert(result, SaturateUnsigned(Extract(y, 0)), 4);
3670 result = Insert(result, SaturateUnsigned(Extract(y, 1)), 5);
3671 result = Insert(result, SaturateUnsigned(Extract(y, 2)), 6);
3672 result = Insert(result, SaturateUnsigned(Extract(y, 3)), 7);
3726 RValue<Short> Extract(RValue<Short4> val, int i)
3901 RValue<UShort> Extract(RValue<UShort4> val, int i)
3916 result = Insert(result, Extract(lhs, 0) << UShort(rhs), 0);
3917 result = Insert(result, Extract(lhs, 1) << UShort(rhs), 1);
3918 result = Insert(result, Extract(lhs, 2) << UShort(rhs), 2);
3919 result = Insert(result, Extract(lhs, 3) << UShort(rhs), 3);
3934 result = Insert(result, Extract(lhs, 0) >> UShort(rhs), 0);
3935 result = Insert(result, Extract(lhs, 1) >> UShort(rhs), 1);
3936 result = Insert(result, Extract(lhs, 2) >> UShort(rhs), 2);
3937 result = Insert(result, Extract(lhs, 3) >> UShort(rhs), 3);
3998 result = Insert(result, SaturateUnsigned(Int(Extract(x, 0)) + Int(Extract(y, 0))), 0);
3999 result = Insert(result, SaturateUnsigned(Int(Extract(x, 1)) + Int(Extract(y, 1))), 1);
4000 result = Insert(result, SaturateUnsigned(Int(Extract(x, 2)) + Int(Extract(y, 2))), 2);
4001 result = Insert(result, SaturateUnsigned(Int(Extract(x, 3)) + Int(Extract(y, 3))), 3);
4024 result = Insert(result, SaturateUnsigned(Int(Extract(x, 0)) - Int(Extract(y, 0))), 0);
4025 result = Insert(result, SaturateUnsigned(Int(Extract(x, 1)) - Int(Extract(y, 1))), 1);
4026 result = Insert(result, SaturateUnsigned(Int(Extract(x, 2)) - Int(Extract(y, 2))), 2);
4027 result = Insert(result, SaturateUnsigned(Int(Extract(x, 3)) - Int(Extract(y, 3))), 3);
4050 result = Insert(result, UShort((UInt(Extract(x, 0)) * UInt(Extract(y, 0))) >> 16), 0);
4051 result = Insert(result, UShort((UInt(Extract(x, 1)) * UInt(Extract(y, 1))) >> 16), 1);
4052 result = Insert(result, UShort((UInt(Extract(x, 2)) * UInt(Extract(y, 2))) >> 16), 2);
4053 result = Insert(result, UShort((UInt(Extract(x, 3)) * UInt(Extract(y, 3))) >> 16), 3);
4122 RValue<Short> Extract(RValue<Short8> val, int i)
4137 result = Insert(result, Extract(lhs, 0) << Short(rhs), 0);
4138 result = Insert(result, Extract(lhs, 1) << Short(rhs), 1);
4139 result = Insert(result, Extract(lhs, 2) << Short(rhs), 2);
4140 result = Insert(result, Extract(lhs, 3) << Short(rhs), 3);
4141 result = Insert(result, Extract(lhs, 4) << Short(rhs), 4);
4142 result = Insert(result, Extract(lhs, 5) << Short(rhs), 5);
4143 result = Insert(result, Extract(lhs, 6) << Short(rhs), 6);
4144 result = Insert(result, Extract(lhs, 7) << Short(rhs), 7);
4159 result = Insert(result, Extract(lhs, 0) >> Short(rhs), 0);
4160 result = Insert(result, Extract(lhs, 1) >> Short(rhs), 1);
4161 result = Insert(result, Extract(lhs, 2) >> Short(rhs), 2);
4162 result = Insert(result, Extract(lhs, 3) >> Short(rhs), 3);
4163 result = Insert(result, Extract(lhs, 4) >> Short(rhs), 4);
4164 result = Insert(result, Extract(lhs, 5) >> Short(rhs), 5);
4165 result = Insert(result, Extract(lhs, 6) >> Short(rhs), 6);
4166 result = Insert(result, Extract(lhs, 7) >> Short(rhs), 7);
4256 RValue<UShort> Extract(RValue<UShort8> val, int i)
4271 result = Insert(result, Extract(lhs, 0) << UShort(rhs), 0);
4272 result = Insert(result, Extract(lhs, 1) << UShort(rhs), 1);
4273 result = Insert(result, Extract(lhs, 2) << UShort(rhs), 2);
4274 result = Insert(result, Extract(lhs, 3) << UShort(rhs), 3);
4275 result = Insert(result, Extract(lhs, 4) << UShort(rhs), 4);
4276 result = Insert(result, Extract(lhs, 5) << UShort(rhs), 5);
4277 result = Insert(result, Extract(lhs, 6) << UShort(rhs), 6);
4278 result = Insert(result, Extract(lhs, 7) << UShort(rhs), 7);
4293 result = Insert(result, Extract(lhs, 0) >> UShort(rhs), 0);
4294 result = Insert(result, Extract(lhs, 1) >> UShort(rhs), 1);
4295 result = Insert(result, Extract(lhs, 2) >> UShort(rhs), 2);
4296 result = Insert(result, Extract(lhs, 3) >> UShort(rhs), 3);
4297 result = Insert(result, Extract(lhs, 4) >> UShort(rhs), 4);
4298 result = Insert(result, Extract(lhs, 5) >> UShort(rhs), 5);
4299 result = Insert(result, Extract
4300 result = Insert(result, Extract(lhs, 7) >> UShort(rhs), 7);
4386 *this = Extract(cast, 0);
5225 result = Insert(result, Extract(lhs, 0) << Int(rhs), 0);
5226 result = Insert(result, Extract(lhs, 1) << Int(rhs), 1);
5241 result = Insert(result, Extract(lhs, 0) >> Int(rhs), 0);
5242 result = Insert(result, Extract(lhs, 1) >> Int(rhs), 1);
5330 RValue<Int> Extract(RValue<Int2> val, int i)
5431 RValue<UInt> Extract(RValue<UInt2> val, int i)
5446 result = Insert(result, Extract(lhs, 0) << UInt(rhs), 0);
5447 result = Insert(result, Extract(lhs, 1) << UInt(rhs), 1);
5462 result = Insert(result, Extract(lhs, 0) >> UInt(rhs), 0);
5463 result = Insert(result, Extract(lhs, 1) >> UInt(rhs), 1);
5760 result = Insert(result, Extract(lhs, 0) << Int(rhs), 0);
5761 result = Insert(result, Extract(lhs, 1) << Int(rhs), 1);
5762 result = Insert(result, Extract(lhs, 2) << Int(rhs), 2);
5763 result = Insert(result, Extract(lhs, 3) << Int(rhs), 3);
5778 result = Insert(result, Extract(lhs, 0) >> Int(rhs), 0);
5779 result = Insert(result, Extract(lhs, 1) >> Int(rhs), 1);
5780 result = Insert(result, Extract(lhs, 2) >> Int(rhs), 2);
5781 result = Insert(result, Extract(lhs, 3) >> Int(rhs), 3);
5947 result = Insert(result, SaturateSigned(Extract(x, 0)), 0);
5948 result = Insert(result, SaturateSigned(Extract(x, 1)), 1);
5949 result = Insert(result, SaturateSigned(Extract(x, 2)), 2);
5950 result = Insert(result, SaturateSigned(Extract(x, 3)), 3);
5951 result = Insert(result, SaturateSigned(Extract(y, 0)), 4);
5952 result = Insert(result, SaturateSigned(Extract(y, 1)), 5);
5953 result = Insert(result, SaturateSigned(Extract(y, 2)), 6);
5954 result = Insert(result, SaturateSigned(Extract(y, 3)), 7);
5998 RValue<Int> Extract(RValue<Int4> x, int i)
6013 return Extract(xx, 0) | Extract(xx, 1) | Extract(xx, 2) | Extract(xx, 3);
6189 RValue<UInt> Extract(RValue<UInt4> x, int i)
6204 result = Insert(result, Extract(lhs, 0) << UInt(rhs), 0);
6205 result = Insert(result, Extract(lhs, 1) << UInt(rhs), 1);
6206 result = Insert(result, Extract(lhs, 2) << UInt(rhs), 2);
6207 result = Insert(result, Extract(lhs, 3) << UInt(rhs), 3);
6222 result = Insert(result, Extract(lhs, 0) >> UInt(rhs), 0);
6223 result = Insert(result, Extract(lhs, 1) >> UInt(rhs), 1);
6224 result = Insert(result, Extract(lhs, 2) >> UInt(rhs), 2);
6225 result = Insert(result, Extract(lhs, 3) >> UInt(rhs), 3);
6876 RValue<Float> Extract(RValue<Float4> x, int i)
6925 return Extract(xx, 0) | Extract(xx, 1) | Extract(xx, 2) | Extract(xx, 3);