Lines Matching refs:UShort
1600 Byte::Byte(RValue<UShort> cast) in Byte()
2306 UShort::UShort(Argument<UShort> argument) in UShort() function in rr::UShort
2311 UShort::UShort(RValue<UInt> cast) in UShort() function in rr::UShort
2313 Value *integer = Nucleus::createTrunc(cast.value, UShort::getType()); in UShort()
2318 UShort::UShort(RValue<Int> cast) in UShort() function in rr::UShort
2320 Value *integer = Nucleus::createTrunc(cast.value, UShort::getType()); in UShort()
2325 UShort::UShort(unsigned short x) in UShort() function in rr::UShort
2330 UShort::UShort(RValue<UShort> rhs) in UShort() function in rr::UShort
2335 UShort::UShort(const UShort &rhs) in UShort() function in rr::UShort
2341 UShort::UShort(const Reference<UShort> &rhs) in UShort() function in rr::UShort
2347 RValue<UShort> UShort::operator=(RValue<UShort> rhs) in operator =()
2354 RValue<UShort> UShort::operator=(const UShort &rhs) in operator =()
2359 return RValue<UShort>(value); in operator =()
2362 RValue<UShort> UShort::operator=(const Reference<UShort> &rhs) in operator =()
2367 return RValue<UShort>(value); in operator =()
2370 RValue<UShort> operator+(RValue<UShort> lhs, RValue<UShort> rhs) in operator +()
2372 return RValue<UShort>(Nucleus::createAdd(lhs.value, rhs.value)); in operator +()
2375 RValue<UShort> operator-(RValue<UShort> lhs, RValue<UShort> rhs) in operator -()
2377 return RValue<UShort>(Nucleus::createSub(lhs.value, rhs.value)); in operator -()
2380 RValue<UShort> operator*(RValue<UShort> lhs, RValue<UShort> rhs) in operator *()
2382 return RValue<UShort>(Nucleus::createMul(lhs.value, rhs.value)); in operator *()
2385 RValue<UShort> operator/(RValue<UShort> lhs, RValue<UShort> rhs) in operator /()
2387 return RValue<UShort>(Nucleus::createUDiv(lhs.value, rhs.value)); in operator /()
2390 RValue<UShort> operator%(RValue<UShort> lhs, RValue<UShort> rhs) in operator %()
2392 return RValue<UShort>(Nucleus::createURem(lhs.value, rhs.value)); in operator %()
2395 RValue<UShort> operator&(RValue<UShort> lhs, RValue<UShort> rhs) in operator &()
2397 return RValue<UShort>(Nucleus::createAnd(lhs.value, rhs.value)); in operator &()
2400 RValue<UShort> operator|(RValue<UShort> lhs, RValue<UShort> rhs) in operator |()
2402 return RValue<UShort>(Nucleus::createOr(lhs.value, rhs.value)); in operator |()
2405 RValue<UShort> operator^(RValue<UShort> lhs, RValue<UShort> rhs) in operator ^()
2407 return RValue<UShort>(Nucleus::createXor(lhs.value, rhs.value)); in operator ^()
2410 RValue<UShort> operator<<(RValue<UShort> lhs, RValue<UShort> rhs) in operator <<()
2412 return RValue<UShort>(Nucleus::createShl(lhs.value, rhs.value)); in operator <<()
2415 RValue<UShort> operator>>(RValue<UShort> lhs, RValue<UShort> rhs) in operator >>()
2417 return RValue<UShort>(Nucleus::createLShr(lhs.value, rhs.value)); in operator >>()
2420 RValue<UShort> operator+=(UShort &lhs, RValue<UShort> rhs) in operator +=()
2425 RValue<UShort> operator-=(UShort &lhs, RValue<UShort> rhs) in operator -=()
2430 RValue<UShort> operator*=(UShort &lhs, RValue<UShort> rhs) in operator *=()
2435 RValue<UShort> operator/=(UShort &lhs, RValue<UShort> rhs) in operator /=()
2440 RValue<UShort> operator%=(UShort &lhs, RValue<UShort> rhs) in operator %=()
2445 RValue<UShort> operator&=(UShort &lhs, RValue<UShort> rhs) in operator &=()
2450 RValue<UShort> operator|=(UShort &lhs, RValue<UShort> rhs) in operator |=()
2455 RValue<UShort> operator^=(UShort &lhs, RValue<UShort> rhs) in operator ^=()
2460 RValue<UShort> operator<<=(UShort &lhs, RValue<UShort> rhs) in operator <<=()
2465 RValue<UShort> operator>>=(UShort &lhs, RValue<UShort> rhs) in operator >>=()
2470 RValue<UShort> operator+(RValue<UShort> val) in operator +()
2475 RValue<UShort> operator-(RValue<UShort> val) in operator -()
2477 return RValue<UShort>(Nucleus::createNeg(val.value)); in operator -()
2480 RValue<UShort> operator~(RValue<UShort> val) in operator ~()
2482 return RValue<UShort>(Nucleus::createNot(val.value)); in operator ~()
2485 RValue<UShort> operator++(UShort &val, int) // Post-increment in operator ++()
2487 RValue<UShort> res = val; in operator ++()
2488 val += UShort(1); in operator ++()
2492 const UShort &operator++(UShort &val) // Pre-increment in operator ++()
2494 val += UShort(1); in operator ++()
2498 RValue<UShort> operator--(UShort &val, int) // Post-decrement in operator --()
2500 RValue<UShort> res = val; in operator --()
2501 val -= UShort(1); in operator --()
2505 const UShort &operator--(UShort &val) // Pre-decrement in operator --()
2507 val -= UShort(1); in operator --()
2511 RValue<Bool> operator<(RValue<UShort> lhs, RValue<UShort> rhs) in operator <()
2516 RValue<Bool> operator<=(RValue<UShort> lhs, RValue<UShort> rhs) in operator <=()
2521 RValue<Bool> operator>(RValue<UShort> lhs, RValue<UShort> rhs) in operator >()
2526 RValue<Bool> operator>=(RValue<UShort> lhs, RValue<UShort> rhs) in operator >=()
2531 RValue<Bool> operator!=(RValue<UShort> lhs, RValue<UShort> rhs) in operator !=()
2536 RValue<Bool> operator==(RValue<UShort> lhs, RValue<UShort> rhs) in operator ==()
2541 Type *UShort::getType() in getType()
3920 RValue<UShort> Extract(RValue<UShort4> val, int i) in Extract()
3922 return RValue<UShort>(Nucleus::createExtractElement(val.value, UShort::getType(), i)); in Extract()
3925 RValue<UShort4> Insert(RValue<UShort4> val, RValue<UShort> element, int i) in Insert()
3935 result = Insert(result, Extract(lhs, 0) << UShort(rhs), 0); in operator <<()
3936 result = Insert(result, Extract(lhs, 1) << UShort(rhs), 1); in operator <<()
3937 result = Insert(result, Extract(lhs, 2) << UShort(rhs), 2); in operator <<()
3938 result = Insert(result, Extract(lhs, 3) << UShort(rhs), 3); in operator <<()
3953 result = Insert(result, Extract(lhs, 0) >> UShort(rhs), 0); in operator >>()
3954 result = Insert(result, Extract(lhs, 1) >> UShort(rhs), 1); in operator >>()
3955 result = Insert(result, Extract(lhs, 2) >> UShort(rhs), 2); in operator >>()
3956 result = Insert(result, Extract(lhs, 3) >> UShort(rhs), 3); in operator >>()
4007 RValue<UShort> SaturateUnsigned(RValue<Int> x) in SaturateUnsigned()
4009 return UShort(IfThenElse(x > 0xFFFF, Int(0xFFFF), IfThenElse(x < 0, Int(0), x))); in SaturateUnsigned()
4069 result = Insert(result, UShort((UInt(Extract(x, 0)) * UInt(Extract(y, 0))) >> 16), 0); in MulHigh()
4070 result = Insert(result, UShort((UInt(Extract(x, 1)) * UInt(Extract(y, 1))) >> 16), 1); in MulHigh()
4071 result = Insert(result, UShort((UInt(Extract(x, 2)) * UInt(Extract(y, 2))) >> 16), 2); in MulHigh()
4072 result = Insert(result, UShort((UInt(Extract(x, 3)) * UInt(Extract(y, 3))) >> 16), 3); in MulHigh()
4275 RValue<UShort> Extract(RValue<UShort8> val, int i) in Extract()
4277 return RValue<UShort>(Nucleus::createExtractElement(val.value, UShort::getType(), i)); in Extract()
4280 RValue<UShort8> Insert(RValue<UShort8> val, RValue<UShort> element, int i) in Insert()
4290 result = Insert(result, Extract(lhs, 0) << UShort(rhs), 0); in operator <<()
4291 result = Insert(result, Extract(lhs, 1) << UShort(rhs), 1); in operator <<()
4292 result = Insert(result, Extract(lhs, 2) << UShort(rhs), 2); in operator <<()
4293 result = Insert(result, Extract(lhs, 3) << UShort(rhs), 3); in operator <<()
4294 result = Insert(result, Extract(lhs, 4) << UShort(rhs), 4); in operator <<()
4295 result = Insert(result, Extract(lhs, 5) << UShort(rhs), 5); in operator <<()
4296 result = Insert(result, Extract(lhs, 6) << UShort(rhs), 6); in operator <<()
4297 result = Insert(result, Extract(lhs, 7) << UShort(rhs), 7); in operator <<()
4312 result = Insert(result, Extract(lhs, 0) >> UShort(rhs), 0); in operator >>()
4313 result = Insert(result, Extract(lhs, 1) >> UShort(rhs), 1); in operator >>()
4314 result = Insert(result, Extract(lhs, 2) >> UShort(rhs), 2); in operator >>()
4315 result = Insert(result, Extract(lhs, 3) >> UShort(rhs), 3); in operator >>()
4316 result = Insert(result, Extract(lhs, 4) >> UShort(rhs), 4); in operator >>()
4317 result = Insert(result, Extract(lhs, 5) >> UShort(rhs), 5); in operator >>()
4318 result = Insert(result, Extract(lhs, 6) >> UShort(rhs), 6); in operator >>()
4319 result = Insert(result, Extract(lhs, 7) >> UShort(rhs), 7); in operator >>()
4396 Int::Int(RValue<UShort> cast) in Int()
4805 UInt::UInt(RValue<UShort> cast) in UInt()
6394 UShort fp16i((fp32i & 0x80000000) >> 16); // sign in Half()
6398 fp16i |= UShort(0x7FFF); in Half()
6407 fp16i |= UShort((abs + 0x00000FFF + ((abs >> 13) & 1)) >> 13); in Half()
6411 fp16i |= UShort((abs + 0xC8000000 + 0x00000FFF + ((abs >> 13) & 1)) >> 13); in Half()
6440 Int fp16i(As<UShort>(cast)); in Float()