• Home
  • Raw
  • Download

Lines Matching refs:UShort

2230 Type *UShort::type()  in type()
2837 RValue<UShort> Extract(RValue<UShort4> val, int i) in Extract()
2839 return RValue<UShort>(Nucleus::createExtractElement(val.value(), UShort::type(), i)); in Extract()
2842 RValue<UShort4> Insert(RValue<UShort4> val, RValue<UShort> element, int i) in Insert()
2854 result = Insert(result, Extract(lhs, 0) << UShort(rhs), 0); in operator <<()
2855 result = Insert(result, Extract(lhs, 1) << UShort(rhs), 1); in operator <<()
2856 result = Insert(result, Extract(lhs, 2) << UShort(rhs), 2); in operator <<()
2857 result = Insert(result, Extract(lhs, 3) << UShort(rhs), 3); in operator <<()
2873 result = Insert(result, Extract(lhs, 0) >> UShort(rhs), 0); in operator >>()
2874 result = Insert(result, Extract(lhs, 1) >> UShort(rhs), 1); in operator >>()
2875 result = Insert(result, Extract(lhs, 2) >> UShort(rhs), 2); in operator >>()
2876 result = Insert(result, Extract(lhs, 3) >> UShort(rhs), 3); in operator >>()
2913 RValue<UShort> SaturateUnsigned(RValue<Int> x) in SaturateUnsigned()
2916 return UShort(IfThenElse(x > 0xFFFF, Int(0xFFFF), IfThenElse(x < 0, Int(0), x))); in SaturateUnsigned()
2977 result = Insert(result, UShort((UInt(Extract(x, 0)) * UInt(Extract(y, 0))) >> 16), 0); in MulHigh()
2978 result = Insert(result, UShort((UInt(Extract(x, 1)) * UInt(Extract(y, 1))) >> 16), 1); in MulHigh()
2979 result = Insert(result, UShort((UInt(Extract(x, 2)) * UInt(Extract(y, 2))) >> 16), 2); in MulHigh()
2980 result = Insert(result, UShort((UInt(Extract(x, 3)) * UInt(Extract(y, 3))) >> 16), 3); in MulHigh()
3134 RValue<UShort> Extract(RValue<UShort8> val, int i) in Extract()
3137 return RValue<UShort>(Nucleus::createExtractElement(val.value(), UShort::type(), i)); in Extract()
3140 RValue<UShort8> Insert(RValue<UShort8> val, RValue<UShort> element, int i) in Insert()
3152 result = Insert(result, Extract(lhs, 0) << UShort(rhs), 0); in operator <<()
3153 result = Insert(result, Extract(lhs, 1) << UShort(rhs), 1); in operator <<()
3154 result = Insert(result, Extract(lhs, 2) << UShort(rhs), 2); in operator <<()
3155 result = Insert(result, Extract(lhs, 3) << UShort(rhs), 3); in operator <<()
3156 result = Insert(result, Extract(lhs, 4) << UShort(rhs), 4); in operator <<()
3157 result = Insert(result, Extract(lhs, 5) << UShort(rhs), 5); in operator <<()
3158 result = Insert(result, Extract(lhs, 6) << UShort(rhs), 6); in operator <<()
3159 result = Insert(result, Extract(lhs, 7) << UShort(rhs), 7); in operator <<()
3175 result = Insert(result, Extract(lhs, 0) >> UShort(rhs), 0); in operator >>()
3176 result = Insert(result, Extract(lhs, 1) >> UShort(rhs), 1); in operator >>()
3177 result = Insert(result, Extract(lhs, 2) >> UShort(rhs), 2); in operator >>()
3178 result = Insert(result, Extract(lhs, 3) >> UShort(rhs), 3); in operator >>()
3179 result = Insert(result, Extract(lhs, 4) >> UShort(rhs), 4); in operator >>()
3180 result = Insert(result, Extract(lhs, 5) >> UShort(rhs), 5); in operator >>()
3181 result = Insert(result, Extract(lhs, 6) >> UShort(rhs), 6); in operator >>()
3182 result = Insert(result, Extract(lhs, 7) >> UShort(rhs), 7); in operator >>()