Lines Matching refs:RValue
199 Bool::Bool(RValue<Bool> rhs) in Bool()
216 RValue<Bool> Bool::operator=(RValue<Bool> rhs) in operator =()
223 RValue<Bool> Bool::operator=(const Bool &rhs) in operator =()
228 return RValue<Bool>(value); in operator =()
231 RValue<Bool> Bool::operator=(const Reference<Bool> &rhs) in operator =()
236 return RValue<Bool>(value); in operator =()
239 RValue<Bool> operator!(RValue<Bool> val) in operator !()
241 return RValue<Bool>(Nucleus::createNot(val.value)); in operator !()
244 RValue<Bool> operator&&(RValue<Bool> lhs, RValue<Bool> rhs) in operator &&()
246 return RValue<Bool>(Nucleus::createAnd(lhs.value, rhs.value)); in operator &&()
249 RValue<Bool> operator||(RValue<Bool> lhs, RValue<Bool> rhs) in operator ||()
251 return RValue<Bool>(Nucleus::createOr(lhs.value, rhs.value)); in operator ||()
254 RValue<Bool> operator!=(RValue<Bool> lhs, RValue<Bool> rhs) in operator !=()
256 return RValue<Bool>(Nucleus::createICmpNE(lhs.value, rhs.value)); in operator !=()
259 RValue<Bool> operator==(RValue<Bool> lhs, RValue<Bool> rhs) in operator ==()
261 return RValue<Bool>(Nucleus::createICmpEQ(lhs.value, rhs.value)); in operator ==()
269 Byte::Byte(RValue<Int> cast) in Byte()
276 Byte::Byte(RValue<UInt> cast) in Byte()
283 Byte::Byte(RValue<UShort> cast) in Byte()
300 Byte::Byte(RValue<Byte> rhs) in Byte()
317 RValue<Byte> Byte::operator=(RValue<Byte> rhs) in operator =()
324 RValue<Byte> Byte::operator=(const Byte &rhs) in operator =()
329 return RValue<Byte>(value); in operator =()
332 RValue<Byte> Byte::operator=(const Reference<Byte> &rhs) in operator =()
337 return RValue<Byte>(value); in operator =()
340 RValue<Byte> operator+(RValue<Byte> lhs, RValue<Byte> rhs) in operator +()
342 return RValue<Byte>(Nucleus::createAdd(lhs.value, rhs.value)); in operator +()
345 RValue<Byte> operator-(RValue<Byte> lhs, RValue<Byte> rhs) in operator -()
347 return RValue<Byte>(Nucleus::createSub(lhs.value, rhs.value)); in operator -()
350 RValue<Byte> operator*(RValue<Byte> lhs, RValue<Byte> rhs) in operator *()
352 return RValue<Byte>(Nucleus::createMul(lhs.value, rhs.value)); in operator *()
355 RValue<Byte> operator/(RValue<Byte> lhs, RValue<Byte> rhs) in operator /()
357 return RValue<Byte>(Nucleus::createUDiv(lhs.value, rhs.value)); in operator /()
360 RValue<Byte> operator%(RValue<Byte> lhs, RValue<Byte> rhs) in operator %()
362 return RValue<Byte>(Nucleus::createURem(lhs.value, rhs.value)); in operator %()
365 RValue<Byte> operator&(RValue<Byte> lhs, RValue<Byte> rhs) in operator &()
367 return RValue<Byte>(Nucleus::createAnd(lhs.value, rhs.value)); in operator &()
370 RValue<Byte> operator|(RValue<Byte> lhs, RValue<Byte> rhs) in operator |()
372 return RValue<Byte>(Nucleus::createOr(lhs.value, rhs.value)); in operator |()
375 RValue<Byte> operator^(RValue<Byte> lhs, RValue<Byte> rhs) in operator ^()
377 return RValue<Byte>(Nucleus::createXor(lhs.value, rhs.value)); in operator ^()
380 RValue<Byte> operator<<(RValue<Byte> lhs, RValue<Byte> rhs) in operator <<()
382 return RValue<Byte>(Nucleus::createShl(lhs.value, rhs.value)); in operator <<()
385 RValue<Byte> operator>>(RValue<Byte> lhs, RValue<Byte> rhs) in operator >>()
387 return RValue<Byte>(Nucleus::createLShr(lhs.value, rhs.value)); in operator >>()
390 RValue<Byte> operator+=(Byte &lhs, RValue<Byte> rhs) in operator +=()
395 RValue<Byte> operator-=(Byte &lhs, RValue<Byte> rhs) in operator -=()
400 RValue<Byte> operator*=(Byte &lhs, RValue<Byte> rhs) in operator *=()
405 RValue<Byte> operator/=(Byte &lhs, RValue<Byte> rhs) in operator /=()
410 RValue<Byte> operator%=(Byte &lhs, RValue<Byte> rhs) in operator %=()
415 RValue<Byte> operator&=(Byte &lhs, RValue<Byte> rhs) in operator &=()
420 RValue<Byte> operator|=(Byte &lhs, RValue<Byte> rhs) in operator |=()
425 RValue<Byte> operator^=(Byte &lhs, RValue<Byte> rhs) in operator ^=()
430 RValue<Byte> operator<<=(Byte &lhs, RValue<Byte> rhs) in operator <<=()
435 RValue<Byte> operator>>=(Byte &lhs, RValue<Byte> rhs) in operator >>=()
440 RValue<Byte> operator+(RValue<Byte> val) in operator +()
445 RValue<Byte> operator-(RValue<Byte> val) in operator -()
447 return RValue<Byte>(Nucleus::createNeg(val.value)); in operator -()
450 RValue<Byte> operator~(RValue<Byte> val) in operator ~()
452 return RValue<Byte>(Nucleus::createNot(val.value)); in operator ~()
455 RValue<Byte> operator++(Byte &val, int) // Post-increment in operator ++()
457 RValue<Byte> res = val; in operator ++()
473 RValue<Byte> operator--(Byte &val, int) // Post-decrement in operator --()
475 RValue<Byte> res = val; in operator --()
491 RValue<Bool> operator<(RValue<Byte> lhs, RValue<Byte> rhs) in operator <()
493 return RValue<Bool>(Nucleus::createICmpULT(lhs.value, rhs.value)); in operator <()
496 RValue<Bool> operator<=(RValue<Byte> lhs, RValue<Byte> rhs) in operator <=()
498 return RValue<Bool>(Nucleus::createICmpULE(lhs.value, rhs.value)); in operator <=()
501 RValue<Bool> operator>(RValue<Byte> lhs, RValue<Byte> rhs) in operator >()
503 return RValue<Bool>(Nucleus::createICmpUGT(lhs.value, rhs.value)); in operator >()
506 RValue<Bool> operator>=(RValue<Byte> lhs, RValue<Byte> rhs) in operator >=()
508 return RValue<Bool>(Nucleus::createICmpUGE(lhs.value, rhs.value)); in operator >=()
511 RValue<Bool> operator!=(RValue<Byte> lhs, RValue<Byte> rhs) in operator !=()
513 return RValue<Bool>(Nucleus::createICmpNE(lhs.value, rhs.value)); in operator !=()
516 RValue<Bool> operator==(RValue<Byte> lhs, RValue<Byte> rhs) in operator ==()
518 return RValue<Bool>(Nucleus::createICmpEQ(lhs.value, rhs.value)); in operator ==()
526 SByte::SByte(RValue<Int> cast) in SByte()
533 SByte::SByte(RValue<Short> cast) in SByte()
545 SByte::SByte(RValue<SByte> rhs) in SByte()
562 RValue<SByte> SByte::operator=(RValue<SByte> rhs) in operator =()
569 RValue<SByte> SByte::operator=(const SByte &rhs) in operator =()
574 return RValue<SByte>(value); in operator =()
577 RValue<SByte> SByte::operator=(const Reference<SByte> &rhs) in operator =()
582 return RValue<SByte>(value); in operator =()
585 RValue<SByte> operator+(RValue<SByte> lhs, RValue<SByte> rhs) in operator +()
587 return RValue<SByte>(Nucleus::createAdd(lhs.value, rhs.value)); in operator +()
590 RValue<SByte> operator-(RValue<SByte> lhs, RValue<SByte> rhs) in operator -()
592 return RValue<SByte>(Nucleus::createSub(lhs.value, rhs.value)); in operator -()
595 RValue<SByte> operator*(RValue<SByte> lhs, RValue<SByte> rhs) in operator *()
597 return RValue<SByte>(Nucleus::createMul(lhs.value, rhs.value)); in operator *()
600 RValue<SByte> operator/(RValue<SByte> lhs, RValue<SByte> rhs) in operator /()
602 return RValue<SByte>(Nucleus::createSDiv(lhs.value, rhs.value)); in operator /()
605 RValue<SByte> operator%(RValue<SByte> lhs, RValue<SByte> rhs) in operator %()
607 return RValue<SByte>(Nucleus::createSRem(lhs.value, rhs.value)); in operator %()
610 RValue<SByte> operator&(RValue<SByte> lhs, RValue<SByte> rhs) in operator &()
612 return RValue<SByte>(Nucleus::createAnd(lhs.value, rhs.value)); in operator &()
615 RValue<SByte> operator|(RValue<SByte> lhs, RValue<SByte> rhs) in operator |()
617 return RValue<SByte>(Nucleus::createOr(lhs.value, rhs.value)); in operator |()
620 RValue<SByte> operator^(RValue<SByte> lhs, RValue<SByte> rhs) in operator ^()
622 return RValue<SByte>(Nucleus::createXor(lhs.value, rhs.value)); in operator ^()
625 RValue<SByte> operator<<(RValue<SByte> lhs, RValue<SByte> rhs) in operator <<()
627 return RValue<SByte>(Nucleus::createShl(lhs.value, rhs.value)); in operator <<()
630 RValue<SByte> operator>>(RValue<SByte> lhs, RValue<SByte> rhs) in operator >>()
632 return RValue<SByte>(Nucleus::createAShr(lhs.value, rhs.value)); in operator >>()
635 RValue<SByte> operator+=(SByte &lhs, RValue<SByte> rhs) in operator +=()
640 RValue<SByte> operator-=(SByte &lhs, RValue<SByte> rhs) in operator -=()
645 RValue<SByte> operator*=(SByte &lhs, RValue<SByte> rhs) in operator *=()
650 RValue<SByte> operator/=(SByte &lhs, RValue<SByte> rhs) in operator /=()
655 RValue<SByte> operator%=(SByte &lhs, RValue<SByte> rhs) in operator %=()
660 RValue<SByte> operator&=(SByte &lhs, RValue<SByte> rhs) in operator &=()
665 RValue<SByte> operator|=(SByte &lhs, RValue<SByte> rhs) in operator |=()
670 RValue<SByte> operator^=(SByte &lhs, RValue<SByte> rhs) in operator ^=()
675 RValue<SByte> operator<<=(SByte &lhs, RValue<SByte> rhs) in operator <<=()
680 RValue<SByte> operator>>=(SByte &lhs, RValue<SByte> rhs) in operator >>=()
685 RValue<SByte> operator+(RValue<SByte> val) in operator +()
690 RValue<SByte> operator-(RValue<SByte> val) in operator -()
692 return RValue<SByte>(Nucleus::createNeg(val.value)); in operator -()
695 RValue<SByte> operator~(RValue<SByte> val) in operator ~()
697 return RValue<SByte>(Nucleus::createNot(val.value)); in operator ~()
700 RValue<SByte> operator++(SByte &val, int) // Post-increment in operator ++()
702 RValue<SByte> res = val; in operator ++()
718 RValue<SByte> operator--(SByte &val, int) // Post-decrement in operator --()
720 RValue<SByte> res = val; in operator --()
736 RValue<Bool> operator<(RValue<SByte> lhs, RValue<SByte> rhs) in operator <()
738 return RValue<Bool>(Nucleus::createICmpSLT(lhs.value, rhs.value)); in operator <()
741 RValue<Bool> operator<=(RValue<SByte> lhs, RValue<SByte> rhs) in operator <=()
743 return RValue<Bool>(Nucleus::createICmpSLE(lhs.value, rhs.value)); in operator <=()
746 RValue<Bool> operator>(RValue<SByte> lhs, RValue<SByte> rhs) in operator >()
748 return RValue<Bool>(Nucleus::createICmpSGT(lhs.value, rhs.value)); in operator >()
751 RValue<Bool> operator>=(RValue<SByte> lhs, RValue<SByte> rhs) in operator >=()
753 return RValue<Bool>(Nucleus::createICmpSGE(lhs.value, rhs.value)); in operator >=()
756 RValue<Bool> operator!=(RValue<SByte> lhs, RValue<SByte> rhs) in operator !=()
758 return RValue<Bool>(Nucleus::createICmpNE(lhs.value, rhs.value)); in operator !=()
761 RValue<Bool> operator==(RValue<SByte> lhs, RValue<SByte> rhs) in operator ==()
763 return RValue<Bool>(Nucleus::createICmpEQ(lhs.value, rhs.value)); in operator ==()
771 Short::Short(RValue<Int> cast) in Short()
783 Short::Short(RValue<Short> rhs) in Short()
800 RValue<Short> Short::operator=(RValue<Short> rhs) in operator =()
807 RValue<Short> Short::operator=(const Short &rhs) in operator =()
812 return RValue<Short>(value); in operator =()
815 RValue<Short> Short::operator=(const Reference<Short> &rhs) in operator =()
820 return RValue<Short>(value); in operator =()
823 RValue<Short> operator+(RValue<Short> lhs, RValue<Short> rhs) in operator +()
825 return RValue<Short>(Nucleus::createAdd(lhs.value, rhs.value)); in operator +()
828 RValue<Short> operator-(RValue<Short> lhs, RValue<Short> rhs) in operator -()
830 return RValue<Short>(Nucleus::createSub(lhs.value, rhs.value)); in operator -()
833 RValue<Short> operator*(RValue<Short> lhs, RValue<Short> rhs) in operator *()
835 return RValue<Short>(Nucleus::createMul(lhs.value, rhs.value)); in operator *()
838 RValue<Short> operator/(RValue<Short> lhs, RValue<Short> rhs) in operator /()
840 return RValue<Short>(Nucleus::createSDiv(lhs.value, rhs.value)); in operator /()
843 RValue<Short> operator%(RValue<Short> lhs, RValue<Short> rhs) in operator %()
845 return RValue<Short>(Nucleus::createSRem(lhs.value, rhs.value)); in operator %()
848 RValue<Short> operator&(RValue<Short> lhs, RValue<Short> rhs) in operator &()
850 return RValue<Short>(Nucleus::createAnd(lhs.value, rhs.value)); in operator &()
853 RValue<Short> operator|(RValue<Short> lhs, RValue<Short> rhs) in operator |()
855 return RValue<Short>(Nucleus::createOr(lhs.value, rhs.value)); in operator |()
858 RValue<Short> operator^(RValue<Short> lhs, RValue<Short> rhs) in operator ^()
860 return RValue<Short>(Nucleus::createXor(lhs.value, rhs.value)); in operator ^()
863 RValue<Short> operator<<(RValue<Short> lhs, RValue<Short> rhs) in operator <<()
865 return RValue<Short>(Nucleus::createShl(lhs.value, rhs.value)); in operator <<()
868 RValue<Short> operator>>(RValue<Short> lhs, RValue<Short> rhs) in operator >>()
870 return RValue<Short>(Nucleus::createAShr(lhs.value, rhs.value)); in operator >>()
873 RValue<Short> operator+=(Short &lhs, RValue<Short> rhs) in operator +=()
878 RValue<Short> operator-=(Short &lhs, RValue<Short> rhs) in operator -=()
883 RValue<Short> operator*=(Short &lhs, RValue<Short> rhs) in operator *=()
888 RValue<Short> operator/=(Short &lhs, RValue<Short> rhs) in operator /=()
893 RValue<Short> operator%=(Short &lhs, RValue<Short> rhs) in operator %=()
898 RValue<Short> operator&=(Short &lhs, RValue<Short> rhs) in operator &=()
903 RValue<Short> operator|=(Short &lhs, RValue<Short> rhs) in operator |=()
908 RValue<Short> operator^=(Short &lhs, RValue<Short> rhs) in operator ^=()
913 RValue<Short> operator<<=(Short &lhs, RValue<Short> rhs) in operator <<=()
918 RValue<Short> operator>>=(Short &lhs, RValue<Short> rhs) in operator >>=()
923 RValue<Short> operator+(RValue<Short> val) in operator +()
928 RValue<Short> operator-(RValue<Short> val) in operator -()
930 return RValue<Short>(Nucleus::createNeg(val.value)); in operator -()
933 RValue<Short> operator~(RValue<Short> val) in operator ~()
935 return RValue<Short>(Nucleus::createNot(val.value)); in operator ~()
938 RValue<Short> operator++(Short &val, int) // Post-increment in operator ++()
940 RValue<Short> res = val; in operator ++()
956 RValue<Short> operator--(Short &val, int) // Post-decrement in operator --()
958 RValue<Short> res = val; in operator --()
974 RValue<Bool> operator<(RValue<Short> lhs, RValue<Short> rhs) in operator <()
976 return RValue<Bool>(Nucleus::createICmpSLT(lhs.value, rhs.value)); in operator <()
979 RValue<Bool> operator<=(RValue<Short> lhs, RValue<Short> rhs) in operator <=()
981 return RValue<Bool>(Nucleus::createICmpSLE(lhs.value, rhs.value)); in operator <=()
984 RValue<Bool> operator>(RValue<Short> lhs, RValue<Short> rhs) in operator >()
986 return RValue<Bool>(Nucleus::createICmpSGT(lhs.value, rhs.value)); in operator >()
989 RValue<Bool> operator>=(RValue<Short> lhs, RValue<Short> rhs) in operator >=()
991 return RValue<Bool>(Nucleus::createICmpSGE(lhs.value, rhs.value)); in operator >=()
994 RValue<Bool> operator!=(RValue<Short> lhs, RValue<Short> rhs) in operator !=()
996 return RValue<Bool>(Nucleus::createICmpNE(lhs.value, rhs.value)); in operator !=()
999 RValue<Bool> operator==(RValue<Short> lhs, RValue<Short> rhs) in operator ==()
1001 return RValue<Bool>(Nucleus::createICmpEQ(lhs.value, rhs.value)); in operator ==()
1009 UShort::UShort(RValue<UInt> cast) in UShort()
1016 UShort::UShort(RValue<Int> cast) in UShort()
1028 UShort::UShort(RValue<UShort> rhs) in UShort()
1045 RValue<UShort> UShort::operator=(RValue<UShort> rhs) in operator =()
1052 RValue<UShort> UShort::operator=(const UShort &rhs) in operator =()
1057 return RValue<UShort>(value); in operator =()
1060 RValue<UShort> UShort::operator=(const Reference<UShort> &rhs) in operator =()
1065 return RValue<UShort>(value); in operator =()
1068 RValue<UShort> operator+(RValue<UShort> lhs, RValue<UShort> rhs) in operator +()
1070 return RValue<UShort>(Nucleus::createAdd(lhs.value, rhs.value)); in operator +()
1073 RValue<UShort> operator-(RValue<UShort> lhs, RValue<UShort> rhs) in operator -()
1075 return RValue<UShort>(Nucleus::createSub(lhs.value, rhs.value)); in operator -()
1078 RValue<UShort> operator*(RValue<UShort> lhs, RValue<UShort> rhs) in operator *()
1080 return RValue<UShort>(Nucleus::createMul(lhs.value, rhs.value)); in operator *()
1083 RValue<UShort> operator/(RValue<UShort> lhs, RValue<UShort> rhs) in operator /()
1085 return RValue<UShort>(Nucleus::createUDiv(lhs.value, rhs.value)); in operator /()
1088 RValue<UShort> operator%(RValue<UShort> lhs, RValue<UShort> rhs) in operator %()
1090 return RValue<UShort>(Nucleus::createURem(lhs.value, rhs.value)); in operator %()
1093 RValue<UShort> operator&(RValue<UShort> lhs, RValue<UShort> rhs) in operator &()
1095 return RValue<UShort>(Nucleus::createAnd(lhs.value, rhs.value)); in operator &()
1098 RValue<UShort> operator|(RValue<UShort> lhs, RValue<UShort> rhs) in operator |()
1100 return RValue<UShort>(Nucleus::createOr(lhs.value, rhs.value)); in operator |()
1103 RValue<UShort> operator^(RValue<UShort> lhs, RValue<UShort> rhs) in operator ^()
1105 return RValue<UShort>(Nucleus::createXor(lhs.value, rhs.value)); in operator ^()
1108 RValue<UShort> operator<<(RValue<UShort> lhs, RValue<UShort> rhs) in operator <<()
1110 return RValue<UShort>(Nucleus::createShl(lhs.value, rhs.value)); in operator <<()
1113 RValue<UShort> operator>>(RValue<UShort> lhs, RValue<UShort> rhs) in operator >>()
1115 return RValue<UShort>(Nucleus::createLShr(lhs.value, rhs.value)); in operator >>()
1118 RValue<UShort> operator+=(UShort &lhs, RValue<UShort> rhs) in operator +=()
1123 RValue<UShort> operator-=(UShort &lhs, RValue<UShort> rhs) in operator -=()
1128 RValue<UShort> operator*=(UShort &lhs, RValue<UShort> rhs) in operator *=()
1133 RValue<UShort> operator/=(UShort &lhs, RValue<UShort> rhs) in operator /=()
1138 RValue<UShort> operator%=(UShort &lhs, RValue<UShort> rhs) in operator %=()
1143 RValue<UShort> operator&=(UShort &lhs, RValue<UShort> rhs) in operator &=()
1148 RValue<UShort> operator|=(UShort &lhs, RValue<UShort> rhs) in operator |=()
1153 RValue<UShort> operator^=(UShort &lhs, RValue<UShort> rhs) in operator ^=()
1158 RValue<UShort> operator<<=(UShort &lhs, RValue<UShort> rhs) in operator <<=()
1163 RValue<UShort> operator>>=(UShort &lhs, RValue<UShort> rhs) in operator >>=()
1168 RValue<UShort> operator+(RValue<UShort> val) in operator +()
1173 RValue<UShort> operator-(RValue<UShort> val) in operator -()
1175 return RValue<UShort>(Nucleus::createNeg(val.value)); in operator -()
1178 RValue<UShort> operator~(RValue<UShort> val) in operator ~()
1180 return RValue<UShort>(Nucleus::createNot(val.value)); in operator ~()
1183 RValue<UShort> operator++(UShort &val, int) // Post-increment in operator ++()
1185 RValue<UShort> res = val; in operator ++()
1201 RValue<UShort> operator--(UShort &val, int) // Post-decrement in operator --()
1203 RValue<UShort> res = val; in operator --()
1219 RValue<Bool> operator<(RValue<UShort> lhs, RValue<UShort> rhs) in operator <()
1221 return RValue<Bool>(Nucleus::createICmpULT(lhs.value, rhs.value)); in operator <()
1224 RValue<Bool> operator<=(RValue<UShort> lhs, RValue<UShort> rhs) in operator <=()
1226 return RValue<Bool>(Nucleus::createICmpULE(lhs.value, rhs.value)); in operator <=()
1229 RValue<Bool> operator>(RValue<UShort> lhs, RValue<UShort> rhs) in operator >()
1231 return RValue<Bool>(Nucleus::createICmpUGT(lhs.value, rhs.value)); in operator >()
1234 RValue<Bool> operator>=(RValue<UShort> lhs, RValue<UShort> rhs) in operator >=()
1236 return RValue<Bool>(Nucleus::createICmpUGE(lhs.value, rhs.value)); in operator >=()
1239 RValue<Bool> operator!=(RValue<UShort> lhs, RValue<UShort> rhs) in operator !=()
1241 return RValue<Bool>(Nucleus::createICmpNE(lhs.value, rhs.value)); in operator !=()
1244 RValue<Bool> operator==(RValue<UShort> lhs, RValue<UShort> rhs) in operator ==()
1246 return RValue<Bool>(Nucleus::createICmpEQ(lhs.value, rhs.value)); in operator ==()
1249 Byte4::Byte4(RValue<Byte8> cast) in Byte4()
1254 Byte4::Byte4(RValue<UShort4> cast) in Byte4()
1260 Byte4::Byte4(RValue<Short4> cast) in Byte4()
1266 Byte4::Byte4(RValue<UInt4> cast) in Byte4()
1272 Byte4::Byte4(RValue<Int4> cast) in Byte4()
1278 Byte4::Byte4(RValue<Byte4> rhs) in Byte4()
1295 RValue<Byte4> Byte4::operator=(RValue<Byte4> rhs) in operator =()
1302 RValue<Byte4> Byte4::operator=(const Byte4 &rhs) in operator =()
1307 return RValue<Byte4>(value); in operator =()
1316 Byte8::Byte8(RValue<Byte8> rhs) in Byte8()
1333 RValue<Byte8> Byte8::operator=(RValue<Byte8> rhs) in operator =()
1340 RValue<Byte8> Byte8::operator=(const Byte8 &rhs) in operator =()
1345 return RValue<Byte8>(value); in operator =()
1348 RValue<Byte8> Byte8::operator=(const Reference<Byte8> &rhs) in operator =()
1353 return RValue<Byte8>(value); in operator =()
1356 RValue<Byte8> operator+(RValue<Byte8> lhs, RValue<Byte8> rhs) in operator +()
1358 return RValue<Byte8>(Nucleus::createAdd(lhs.value, rhs.value)); in operator +()
1361 RValue<Byte8> operator-(RValue<Byte8> lhs, RValue<Byte8> rhs) in operator -()
1363 return RValue<Byte8>(Nucleus::createSub(lhs.value, rhs.value)); in operator -()
1381 RValue<Byte8> operator&(RValue<Byte8> lhs, RValue<Byte8> rhs) in operator &()
1383 return RValue<Byte8>(Nucleus::createAnd(lhs.value, rhs.value)); in operator &()
1386 RValue<Byte8> operator|(RValue<Byte8> lhs, RValue<Byte8> rhs) in operator |()
1388 return RValue<Byte8>(Nucleus::createOr(lhs.value, rhs.value)); in operator |()
1391 RValue<Byte8> operator^(RValue<Byte8> lhs, RValue<Byte8> rhs) in operator ^()
1393 return RValue<Byte8>(Nucleus::createXor(lhs.value, rhs.value)); in operator ^()
1406 RValue<Byte8> operator+=(Byte8 &lhs, RValue<Byte8> rhs) in operator +=()
1411 RValue<Byte8> operator-=(Byte8 &lhs, RValue<Byte8> rhs) in operator -=()
1431 RValue<Byte8> operator&=(Byte8 &lhs, RValue<Byte8> rhs) in operator &=()
1436 RValue<Byte8> operator|=(Byte8 &lhs, RValue<Byte8> rhs) in operator |=()
1441 RValue<Byte8> operator^=(Byte8 &lhs, RValue<Byte8> rhs) in operator ^=()
1466 RValue<Byte8> operator~(RValue<Byte8> val) in operator ~()
1468 return RValue<Byte8>(Nucleus::createNot(val.value)); in operator ~()
1471 RValue<Byte8> Swizzle(RValue<Byte8> x, uint32_t select) in Swizzle()
1497 RValue<Short4> Unpack(RValue<Byte4> x) in Unpack()
1504 RValue<Short4> Unpack(RValue<Byte4> x, RValue<Byte4> y) in Unpack()
1509 RValue<Short4> UnpackLow(RValue<Byte8> x, RValue<Byte8> y) in UnpackLow()
1516 RValue<Short4> UnpackHigh(RValue<Byte8> x, RValue<Byte8> y) in UnpackHigh()
1520 auto lowHigh = RValue<Byte16>(Nucleus::createShuffleVector(x.value, y.value, shuffle)); in UnpackHigh()
1532 SByte8::SByte8(RValue<SByte8> rhs) in SByte8()
1549 RValue<SByte8> SByte8::operator=(RValue<SByte8> rhs) in operator =()
1556 RValue<SByte8> SByte8::operator=(const SByte8 &rhs) in operator =()
1561 return RValue<SByte8>(value); in operator =()
1564 RValue<SByte8> SByte8::operator=(const Reference<SByte8> &rhs) in operator =()
1569 return RValue<SByte8>(value); in operator =()
1572 RValue<SByte8> operator+(RValue<SByte8> lhs, RValue<SByte8> rhs) in operator +()
1574 return RValue<SByte8>(Nucleus::createAdd(lhs.value, rhs.value)); in operator +()
1577 RValue<SByte8> operator-(RValue<SByte8> lhs, RValue<SByte8> rhs) in operator -()
1579 return RValue<SByte8>(Nucleus::createSub(lhs.value, rhs.value)); in operator -()
1597 RValue<SByte8> operator&(RValue<SByte8> lhs, RValue<SByte8> rhs) in operator &()
1599 return RValue<SByte8>(Nucleus::createAnd(lhs.value, rhs.value)); in operator &()
1602 RValue<SByte8> operator|(RValue<SByte8> lhs, RValue<SByte8> rhs) in operator |()
1604 return RValue<SByte8>(Nucleus::createOr(lhs.value, rhs.value)); in operator |()
1607 RValue<SByte8> operator^(RValue<SByte8> lhs, RValue<SByte8> rhs) in operator ^()
1609 return RValue<SByte8>(Nucleus::createXor(lhs.value, rhs.value)); in operator ^()
1622 RValue<SByte8> operator+=(SByte8 &lhs, RValue<SByte8> rhs) in operator +=()
1627 RValue<SByte8> operator-=(SByte8 &lhs, RValue<SByte8> rhs) in operator -=()
1647 RValue<SByte8> operator&=(SByte8 &lhs, RValue<SByte8> rhs) in operator &=()
1652 RValue<SByte8> operator|=(SByte8 &lhs, RValue<SByte8> rhs) in operator |=()
1657 RValue<SByte8> operator^=(SByte8 &lhs, RValue<SByte8> rhs) in operator ^=()
1682 RValue<SByte8> operator~(RValue<SByte8> val) in operator ~()
1684 return RValue<SByte8>(Nucleus::createNot(val.value)); in operator ~()
1687 RValue<Short4> UnpackLow(RValue<SByte8> x, RValue<SByte8> y) in UnpackLow()
1694 RValue<Short4> UnpackHigh(RValue<SByte8> x, RValue<SByte8> y) in UnpackHigh()
1698 auto lowHigh = RValue<Byte16>(Nucleus::createShuffleVector(x.value, y.value, shuffle)); in UnpackHigh()
1702 Byte16::Byte16(RValue<Byte16> rhs) in Byte16()
1719 RValue<Byte16> Byte16::operator=(RValue<Byte16> rhs) in operator =()
1726 RValue<Byte16> Byte16::operator=(const Byte16 &rhs) in operator =()
1731 return RValue<Byte16>(value); in operator =()
1734 RValue<Byte16> Byte16::operator=(const Reference<Byte16> &rhs) in operator =()
1739 return RValue<Byte16>(value); in operator =()
1742 RValue<Byte16> Swizzle(RValue<Byte16> x, uint64_t select) in Swizzle()
1766 Short2::Short2(RValue<Short4> cast) in Short2()
1771 UShort2::UShort2(RValue<UShort4> cast) in UShort2()
1776 Short4::Short4(RValue<Int> cast) in Short4()
1781 Value *swizzle = Swizzle(RValue<Short4>(insert), 0x0000).value; in Short4()
1802 Short4::Short4(RValue<Short4> rhs) in Short4()
1819 Short4::Short4(RValue<UShort4> rhs) in Short4()
1834 RValue<Short4> Short4::operator=(RValue<Short4> rhs) in operator =()
1841 RValue<Short4> Short4::operator=(const Short4 &rhs) in operator =()
1846 return RValue<Short4>(value); in operator =()
1849 RValue<Short4> Short4::operator=(const Reference<Short4> &rhs) in operator =()
1854 return RValue<Short4>(value); in operator =()
1857 RValue<Short4> Short4::operator=(RValue<UShort4> rhs) in operator =()
1861 return RValue<Short4>(rhs); in operator =()
1864 RValue<Short4> Short4::operator=(const UShort4 &rhs) in operator =()
1869 return RValue<Short4>(value); in operator =()
1872 RValue<Short4> Short4::operator=(const Reference<UShort4> &rhs) in operator =()
1877 return RValue<Short4>(value); in operator =()
1880 RValue<Short4> operator+(RValue<Short4> lhs, RValue<Short4> rhs) in operator +()
1882 return RValue<Short4>(Nucleus::createAdd(lhs.value, rhs.value)); in operator +()
1885 RValue<Short4> operator-(RValue<Short4> lhs, RValue<Short4> rhs) in operator -()
1887 return RValue<Short4>(Nucleus::createSub(lhs.value, rhs.value)); in operator -()
1890 RValue<Short4> operator*(RValue<Short4> lhs, RValue<Short4> rhs) in operator *()
1892 return RValue<Short4>(Nucleus::createMul(lhs.value, rhs.value)); in operator *()
1905 RValue<Short4> operator&(RValue<Short4> lhs, RValue<Short4> rhs) in operator &()
1907 return RValue<Short4>(Nucleus::createAnd(lhs.value, rhs.value)); in operator &()
1910 RValue<Short4> operator|(RValue<Short4> lhs, RValue<Short4> rhs) in operator |()
1912 return RValue<Short4>(Nucleus::createOr(lhs.value, rhs.value)); in operator |()
1915 RValue<Short4> operator^(RValue<Short4> lhs, RValue<Short4> rhs) in operator ^()
1917 return RValue<Short4>(Nucleus::createXor(lhs.value, rhs.value)); in operator ^()
1920 RValue<Short4> operator+=(Short4 &lhs, RValue<Short4> rhs) in operator +=()
1925 RValue<Short4> operator-=(Short4 &lhs, RValue<Short4> rhs) in operator -=()
1930 RValue<Short4> operator*=(Short4 &lhs, RValue<Short4> rhs) in operator *=()
1945 RValue<Short4> operator&=(Short4 &lhs, RValue<Short4> rhs) in operator &=()
1950 RValue<Short4> operator|=(Short4 &lhs, RValue<Short4> rhs) in operator |=()
1955 RValue<Short4> operator^=(Short4 &lhs, RValue<Short4> rhs) in operator ^=()
1960 RValue<Short4> operator<<=(Short4 &lhs, unsigned char rhs) in operator <<=()
1965 RValue<Short4> operator>>=(Short4 &lhs, unsigned char rhs) in operator >>=()
1975 RValue<Short4> operator-(RValue<Short4> val) in operator -()
1977 return RValue<Short4>(Nucleus::createNeg(val.value)); in operator -()
1980 RValue<Short4> operator~(RValue<Short4> val) in operator ~()
1982 return RValue<Short4>(Nucleus::createNot(val.value)); in operator ~()
1985 RValue<Short4> RoundShort4(RValue<Float4> cast) in RoundShort4()
1987 RValue<Int4> int4 = RoundInt(cast); in RoundShort4()
1991 RValue<Int2> UnpackLow(RValue<Short4> x, RValue<Short4> y) in UnpackLow()
1997 RValue<Int2> UnpackHigh(RValue<Short4> x, RValue<Short4> y) in UnpackHigh()
2001 auto lowHigh = RValue<Short8>(Nucleus::createShuffleVector(x.value, y.value, shuffle)); in UnpackHigh()
2005 RValue<Short4> Swizzle(RValue<Short4> x, uint16_t select) in Swizzle()
2023 RValue<Short4> Insert(RValue<Short4> val, RValue<Short> element, int i) in Insert()
2025 return RValue<Short4>(Nucleus::createInsertElement(val.value, element.value, i)); in Insert()
2028 RValue<Short> Extract(RValue<Short4> val, int i) in Extract()
2030 return RValue<Short>(Nucleus::createExtractElement(val.value, Short::getType(), i)); in Extract()
2033 UShort4::UShort4(RValue<Int4> cast) in UShort4()
2050 UShort4::UShort4(RValue<UShort4> rhs) in UShort4()
2067 UShort4::UShort4(RValue<Short4> rhs) in UShort4()
2084 RValue<UShort4> UShort4::operator=(RValue<UShort4> rhs) in operator =()
2091 RValue<UShort4> UShort4::operator=(const UShort4 &rhs) in operator =()
2096 return RValue<UShort4>(value); in operator =()
2099 RValue<UShort4> UShort4::operator=(const Reference<UShort4> &rhs) in operator =()
2104 return RValue<UShort4>(value); in operator =()
2107 RValue<UShort4> UShort4::operator=(RValue<Short4> rhs) in operator =()
2111 return RValue<UShort4>(rhs); in operator =()
2114 RValue<UShort4> UShort4::operator=(const Short4 &rhs) in operator =()
2119 return RValue<UShort4>(value); in operator =()
2122 RValue<UShort4> UShort4::operator=(const Reference<Short4> &rhs) in operator =()
2127 return RValue<UShort4>(value); in operator =()
2130 RValue<UShort4> operator+(RValue<UShort4> lhs, RValue<UShort4> rhs) in operator +()
2132 return RValue<UShort4>(Nucleus::createAdd(lhs.value, rhs.value)); in operator +()
2135 RValue<UShort4> operator-(RValue<UShort4> lhs, RValue<UShort4> rhs) in operator -()
2137 return RValue<UShort4>(Nucleus::createSub(lhs.value, rhs.value)); in operator -()
2140 RValue<UShort4> operator*(RValue<UShort4> lhs, RValue<UShort4> rhs) in operator *()
2142 return RValue<UShort4>(Nucleus::createMul(lhs.value, rhs.value)); in operator *()
2145 RValue<UShort4> operator&(RValue<UShort4> lhs, RValue<UShort4> rhs) in operator &()
2147 return RValue<UShort4>(Nucleus::createAnd(lhs.value, rhs.value)); in operator &()
2150 RValue<UShort4> operator|(RValue<UShort4> lhs, RValue<UShort4> rhs) in operator |()
2152 return RValue<UShort4>(Nucleus::createOr(lhs.value, rhs.value)); in operator |()
2155 RValue<UShort4> operator^(RValue<UShort4> lhs, RValue<UShort4> rhs) in operator ^()
2157 return RValue<UShort4>(Nucleus::createXor(lhs.value, rhs.value)); in operator ^()
2160 RValue<UShort4> operator<<=(UShort4 &lhs, unsigned char rhs) in operator <<=()
2165 RValue<UShort4> operator>>=(UShort4 &lhs, unsigned char rhs) in operator >>=()
2170 RValue<UShort4> operator~(RValue<UShort4> val) in operator ~()
2172 return RValue<UShort4>(Nucleus::createNot(val.value)); in operator ~()
2187 Short8::Short8(RValue<Short8> rhs) in Short8()
2198 Short8::Short8(RValue<Short4> lo, RValue<Short4> hi) in Short8()
2206 RValue<Short8> Short8::operator=(RValue<Short8> rhs) in operator =()
2213 RValue<Short8> Short8::operator=(const Short8 &rhs) in operator =()
2218 return RValue<Short8>(value); in operator =()
2221 RValue<Short8> Short8::operator=(const Reference<Short8> &rhs) in operator =()
2226 return RValue<Short8>(value); in operator =()
2229 RValue<Short8> operator+(RValue<Short8> lhs, RValue<Short8> rhs) in operator +()
2231 return RValue<Short8>(Nucleus::createAdd(lhs.value, rhs.value)); in operator +()
2234 RValue<Short8> operator&(RValue<Short8> lhs, RValue<Short8> rhs) in operator &()
2236 return RValue<Short8>(Nucleus::createAnd(lhs.value, rhs.value)); in operator &()
2239 RValue<Int4> Abs(RValue<Int4> x) in Abs()
2258 UShort8::UShort8(RValue<UShort8> rhs) in UShort8()
2269 UShort8::UShort8(RValue<UShort4> lo, RValue<UShort4> hi) in UShort8()
2277 RValue<UShort8> UShort8::operator=(RValue<UShort8> rhs) in operator =()
2284 RValue<UShort8> UShort8::operator=(const UShort8 &rhs) in operator =()
2289 return RValue<UShort8>(value); in operator =()
2292 RValue<UShort8> UShort8::operator=(const Reference<UShort8> &rhs) in operator =()
2297 return RValue<UShort8>(value); in operator =()
2300 RValue<UShort8> operator&(RValue<UShort8> lhs, RValue<UShort8> rhs) in operator &()
2302 return RValue<UShort8>(Nucleus::createAnd(lhs.value, rhs.value)); in operator &()
2305 RValue<UShort8> operator+(RValue<UShort8> lhs, RValue<UShort8> rhs) in operator +()
2307 return RValue<UShort8>(Nucleus::createAdd(lhs.value, rhs.value)); in operator +()
2310 RValue<UShort8> operator*(RValue<UShort8> lhs, RValue<UShort8> rhs) in operator *()
2312 return RValue<UShort8>(Nucleus::createMul(lhs.value, rhs.value)); in operator *()
2315 RValue<UShort8> operator+=(UShort8 &lhs, RValue<UShort8> rhs) in operator +=()
2320 RValue<UShort8> operator~(RValue<UShort8> val) in operator ~()
2322 return RValue<UShort8>(Nucleus::createNot(val.value)); in operator ~()
2325 RValue<UShort8> Swizzle(RValue<UShort8> x, uint32_t select) in Swizzle()
2338 return RValue<UShort8>(Nucleus::createShuffleVector(x.value, x.value, swizzle)); in Swizzle()
2346 Int::Int(RValue<Byte> cast) in Int()
2353 Int::Int(RValue<SByte> cast) in Int()
2360 Int::Int(RValue<Short> cast) in Int()
2367 Int::Int(RValue<UShort> cast) in Int()
2374 Int::Int(RValue<Int2> cast) in Int()
2379 Int::Int(RValue<Long> cast) in Int()
2386 Int::Int(RValue<Float> cast) in Int()
2398 Int::Int(RValue<Int> rhs) in Int()
2403 Int::Int(RValue<UInt> rhs) in Int()
2432 RValue<Int> Int::operator=(int rhs) in operator =()
2434 return RValue<Int>(storeValue(Nucleus::createConstantInt(rhs))); in operator =()
2437 RValue<Int> Int::operator=(RValue<Int> rhs) in operator =()
2444 RValue<Int> Int::operator=(RValue<UInt> rhs) in operator =()
2448 return RValue<Int>(rhs); in operator =()
2451 RValue<Int> Int::operator=(const Int &rhs) in operator =()
2456 return RValue<Int>(value); in operator =()
2459 RValue<Int> Int::operator=(const Reference<Int> &rhs) in operator =()
2464 return RValue<Int>(value); in operator =()
2467 RValue<Int> Int::operator=(const UInt &rhs) in operator =()
2472 return RValue<Int>(value); in operator =()
2475 RValue<Int> Int::operator=(const Reference<UInt> &rhs) in operator =()
2480 return RValue<Int>(value); in operator =()
2483 RValue<Int> operator+(RValue<Int> lhs, RValue<Int> rhs) in operator +()
2485 return RValue<Int>(Nucleus::createAdd(lhs.value, rhs.value)); in operator +()
2488 RValue<Int> operator-(RValue<Int> lhs, RValue<Int> rhs) in operator -()
2490 return RValue<Int>(Nucleus::createSub(lhs.value, rhs.value)); in operator -()
2493 RValue<Int> operator*(RValue<Int> lhs, RValue<Int> rhs) in operator *()
2495 return RValue<Int>(Nucleus::createMul(lhs.value, rhs.value)); in operator *()
2498 RValue<Int> operator/(RValue<Int> lhs, RValue<Int> rhs) in operator /()
2500 return RValue<Int>(Nucleus::createSDiv(lhs.value, rhs.value)); in operator /()
2503 RValue<Int> operator%(RValue<Int> lhs, RValue<Int> rhs) in operator %()
2505 return RValue<Int>(Nucleus::createSRem(lhs.value, rhs.value)); in operator %()
2508 RValue<Int> operator&(RValue<Int> lhs, RValue<Int> rhs) in operator &()
2510 return RValue<Int>(Nucleus::createAnd(lhs.value, rhs.value)); in operator &()
2513 RValue<Int> operator|(RValue<Int> lhs, RValue<Int> rhs) in operator |()
2515 return RValue<Int>(Nucleus::createOr(lhs.value, rhs.value)); in operator |()
2518 RValue<Int> operator^(RValue<Int> lhs, RValue<Int> rhs) in operator ^()
2520 return RValue<Int>(Nucleus::createXor(lhs.value, rhs.value)); in operator ^()
2523 RValue<Int> operator<<(RValue<Int> lhs, RValue<Int> rhs) in operator <<()
2525 return RValue<Int>(Nucleus::createShl(lhs.value, rhs.value)); in operator <<()
2528 RValue<Int> operator>>(RValue<Int> lhs, RValue<Int> rhs) in operator >>()
2530 return RValue<Int>(Nucleus::createAShr(lhs.value, rhs.value)); in operator >>()
2533 RValue<Int> operator+=(Int &lhs, RValue<Int> rhs) in operator +=()
2538 RValue<Int> operator-=(Int &lhs, RValue<Int> rhs) in operator -=()
2543 RValue<Int> operator*=(Int &lhs, RValue<Int> rhs) in operator *=()
2548 RValue<Int> operator/=(Int &lhs, RValue<Int> rhs) in operator /=()
2553 RValue<Int> operator%=(Int &lhs, RValue<Int> rhs) in operator %=()
2558 RValue<Int> operator&=(Int &lhs, RValue<Int> rhs) in operator &=()
2563 RValue<Int> operator|=(Int &lhs, RValue<Int> rhs) in operator |=()
2568 RValue<Int> operator^=(Int &lhs, RValue<Int> rhs) in operator ^=()
2573 RValue<Int> operator<<=(Int &lhs, RValue<Int> rhs) in operator <<=()
2578 RValue<Int> operator>>=(Int &lhs, RValue<Int> rhs) in operator >>=()
2583 RValue<Int> operator+(RValue<Int> val) in operator +()
2588 RValue<Int> operator-(RValue<Int> val) in operator -()
2590 return RValue<Int>(Nucleus::createNeg(val.value)); in operator -()
2593 RValue<Int> operator~(RValue<Int> val) in operator ~()
2595 return RValue<Int>(Nucleus::createNot(val.value)); in operator ~()
2598 RValue<Bool> operator<(RValue<Int> lhs, RValue<Int> rhs) in operator <()
2600 return RValue<Bool>(Nucleus::createICmpSLT(lhs.value, rhs.value)); in operator <()
2603 RValue<Bool> operator<=(RValue<Int> lhs, RValue<Int> rhs) in operator <=()
2605 return RValue<Bool>(Nucleus::createICmpSLE(lhs.value, rhs.value)); in operator <=()
2608 RValue<Bool> operator>(RValue<Int> lhs, RValue<Int> rhs) in operator >()
2610 return RValue<Bool>(Nucleus::createICmpSGT(lhs.value, rhs.value)); in operator >()
2613 RValue<Bool> operator>=(RValue<Int> lhs, RValue<Int> rhs) in operator >=()
2615 return RValue<Bool>(Nucleus::createICmpSGE(lhs.value, rhs.value)); in operator >=()
2618 RValue<Bool> operator!=(RValue<Int> lhs, RValue<Int> rhs) in operator !=()
2620 return RValue<Bool>(Nucleus::createICmpNE(lhs.value, rhs.value)); in operator !=()
2623 RValue<Bool> operator==(RValue<Int> lhs, RValue<Int> rhs) in operator ==()
2625 return RValue<Bool>(Nucleus::createICmpEQ(lhs.value, rhs.value)); in operator ==()
2628 RValue<Int> Max(RValue<Int> x, RValue<Int> y) in Max()
2633 RValue<Int> Min(RValue<Int> x, RValue<Int> y) in Min()
2638 RValue<Int> Clamp(RValue<Int> x, RValue<Int> min, RValue<Int> max) in Clamp()
2643 Long::Long(RValue<Int> cast) in Long()
2650 Long::Long(RValue<UInt> cast) in Long()
2657 Long::Long(RValue<Long> rhs) in Long()
2662 RValue<Long> Long::operator=(int64_t rhs) in operator =()
2664 return RValue<Long>(storeValue(Nucleus::createConstantLong(rhs))); in operator =()
2667 RValue<Long> Long::operator=(RValue<Long> rhs) in operator =()
2674 RValue<Long> Long::operator=(const Long &rhs) in operator =()
2679 return RValue<Long>(value); in operator =()
2682 RValue<Long> Long::operator=(const Reference<Long> &rhs) in operator =()
2687 return RValue<Long>(value); in operator =()
2690 RValue<Long> operator+(RValue<Long> lhs, RValue<Long> rhs) in operator +()
2692 return RValue<Long>(Nucleus::createAdd(lhs.value, rhs.value)); in operator +()
2695 RValue<Long> operator-(RValue<Long> lhs, RValue<Long> rhs) in operator -()
2697 return RValue<Long>(Nucleus::createSub(lhs.value, rhs.value)); in operator -()
2700 RValue<Long> operator*(RValue<Long> lhs, RValue<Long> rhs) in operator *()
2702 return RValue<Long>(Nucleus::createMul(lhs.value, rhs.value)); in operator *()
2705 RValue<Long> operator>>(RValue<Long> lhs, RValue<Long> rhs) in operator >>()
2707 return RValue<Long>(Nucleus::createAShr(lhs.value, rhs.value)); in operator >>()
2710 RValue<Long> operator+=(Long &lhs, RValue<Long> rhs) in operator +=()
2715 RValue<Long> operator-=(Long &lhs, RValue<Long> rhs) in operator -=()
2720 RValue<Long> AddAtomic(RValue<Pointer<Long>> x, RValue<Long> y) in AddAtomic()
2722 return RValue<Long>(Nucleus::createAtomicAdd(x.value, y.value)); in AddAtomic()
2725 RValue<UInt> AddAtomic(RValue<Pointer<UInt>> x, RValue<UInt> y, std::memory_order memoryOrder) in AddAtomic()
2727 return RValue<UInt>(Nucleus::createAtomicAdd(x.value, y.value, memoryOrder)); in AddAtomic()
2730 RValue<UInt> SubAtomic(RValue<Pointer<UInt>> x, RValue<UInt> y, std::memory_order memoryOrder) in SubAtomic()
2732 return RValue<UInt>(Nucleus::createAtomicSub(x.value, y.value, memoryOrder)); in SubAtomic()
2735 RValue<UInt> AndAtomic(RValue<Pointer<UInt>> x, RValue<UInt> y, std::memory_order memoryOrder) in AndAtomic()
2737 return RValue<UInt>(Nucleus::createAtomicAnd(x.value, y.value, memoryOrder)); in AndAtomic()
2740 RValue<UInt> OrAtomic(RValue<Pointer<UInt>> x, RValue<UInt> y, std::memory_order memoryOrder) in OrAtomic()
2742 return RValue<UInt>(Nucleus::createAtomicOr(x.value, y.value, memoryOrder)); in OrAtomic()
2745 RValue<UInt> XorAtomic(RValue<Pointer<UInt>> x, RValue<UInt> y, std::memory_order memoryOrder) in XorAtomic()
2747 return RValue<UInt>(Nucleus::createAtomicXor(x.value, y.value, memoryOrder)); in XorAtomic()
2750 RValue<UInt> ExchangeAtomic(RValue<Pointer<UInt>> x, RValue<UInt> y, std::memory_order memoryOrder) in ExchangeAtomic()
2752 return RValue<UInt>(Nucleus::createAtomicExchange(x.value, y.value, memoryOrder)); in ExchangeAtomic()
2755 RValue<UInt> CompareExchangeAtomic(RValue<Pointer<UInt>> x, RValue<UInt> y, RValue<UInt> compare, s… in CompareExchangeAtomic()
2757 …return RValue<UInt>(Nucleus::createAtomicCompareExchange(x.value, y.value, compare.value, memoryOr… in CompareExchangeAtomic()
2765 UInt::UInt(RValue<UShort> cast) in UInt()
2772 UInt::UInt(RValue<Long> cast) in UInt()
2789 UInt::UInt(RValue<UInt> rhs) in UInt()
2794 UInt::UInt(RValue<Int> rhs) in UInt()
2823 RValue<UInt> UInt::operator=(unsigned int rhs) in operator =()
2825 return RValue<UInt>(storeValue(Nucleus::createConstantInt(rhs))); in operator =()
2828 RValue<UInt> UInt::operator=(RValue<UInt> rhs) in operator =()
2835 RValue<UInt> UInt::operator=(RValue<Int> rhs) in operator =()
2839 return RValue<UInt>(rhs); in operator =()
2842 RValue<UInt> UInt::operator=(const UInt &rhs) in operator =()
2847 return RValue<UInt>(value); in operator =()
2850 RValue<UInt> UInt::operator=(const Reference<UInt> &rhs) in operator =()
2855 return RValue<UInt>(value); in operator =()
2858 RValue<UInt> UInt::operator=(const Int &rhs) in operator =()
2863 return RValue<UInt>(value); in operator =()
2866 RValue<UInt> UInt::operator=(const Reference<Int> &rhs) in operator =()
2871 return RValue<UInt>(value); in operator =()
2874 RValue<UInt> operator+(RValue<UInt> lhs, RValue<UInt> rhs) in operator +()
2876 return RValue<UInt>(Nucleus::createAdd(lhs.value, rhs.value)); in operator +()
2879 RValue<UInt> operator-(RValue<UInt> lhs, RValue<UInt> rhs) in operator -()
2881 return RValue<UInt>(Nucleus::createSub(lhs.value, rhs.value)); in operator -()
2884 RValue<UInt> operator*(RValue<UInt> lhs, RValue<UInt> rhs) in operator *()
2886 return RValue<UInt>(Nucleus::createMul(lhs.value, rhs.value)); in operator *()
2889 RValue<UInt> operator/(RValue<UInt> lhs, RValue<UInt> rhs) in operator /()
2891 return RValue<UInt>(Nucleus::createUDiv(lhs.value, rhs.value)); in operator /()
2894 RValue<UInt> operator%(RValue<UInt> lhs, RValue<UInt> rhs) in operator %()
2896 return RValue<UInt>(Nucleus::createURem(lhs.value, rhs.value)); in operator %()
2899 RValue<UInt> operator&(RValue<UInt> lhs, RValue<UInt> rhs) in operator &()
2901 return RValue<UInt>(Nucleus::createAnd(lhs.value, rhs.value)); in operator &()
2904 RValue<UInt> operator|(RValue<UInt> lhs, RValue<UInt> rhs) in operator |()
2906 return RValue<UInt>(Nucleus::createOr(lhs.value, rhs.value)); in operator |()
2909 RValue<UInt> operator^(RValue<UInt> lhs, RValue<UInt> rhs) in operator ^()
2911 return RValue<UInt>(Nucleus::createXor(lhs.value, rhs.value)); in operator ^()
2914 RValue<UInt> operator<<(RValue<UInt> lhs, RValue<UInt> rhs) in operator <<()
2916 return RValue<UInt>(Nucleus::createShl(lhs.value, rhs.value)); in operator <<()
2919 RValue<UInt> operator>>(RValue<UInt> lhs, RValue<UInt> rhs) in operator >>()
2921 return RValue<UInt>(Nucleus::createLShr(lhs.value, rhs.value)); in operator >>()
2924 RValue<UInt> operator+=(UInt &lhs, RValue<UInt> rhs) in operator +=()
2929 RValue<UInt> operator-=(UInt &lhs, RValue<UInt> rhs) in operator -=()
2934 RValue<UInt> operator*=(UInt &lhs, RValue<UInt> rhs) in operator *=()
2939 RValue<UInt> operator/=(UInt &lhs, RValue<UInt> rhs) in operator /=()
2944 RValue<UInt> operator%=(UInt &lhs, RValue<UInt> rhs) in operator %=()
2949 RValue<UInt> operator&=(UInt &lhs, RValue<UInt> rhs) in operator &=()
2954 RValue<UInt> operator|=(UInt &lhs, RValue<UInt> rhs) in operator |=()
2959 RValue<UInt> operator^=(UInt &lhs, RValue<UInt> rhs) in operator ^=()
2964 RValue<UInt> operator<<=(UInt &lhs, RValue<UInt> rhs) in operator <<=()
2969 RValue<UInt> operator>>=(UInt &lhs, RValue<UInt> rhs) in operator >>=()
2974 RValue<UInt> operator+(RValue<UInt> val) in operator +()
2979 RValue<UInt> operator-(RValue<UInt> val) in operator -()
2981 return RValue<UInt>(Nucleus::createNeg(val.value)); in operator -()
2984 RValue<UInt> operator~(RValue<UInt> val) in operator ~()
2986 return RValue<UInt>(Nucleus::createNot(val.value)); in operator ~()
2989 RValue<UInt> Max(RValue<UInt> x, RValue<UInt> y) in Max()
2994 RValue<UInt> Min(RValue<UInt> x, RValue<UInt> y) in Min()
2999 RValue<UInt> Clamp(RValue<UInt> x, RValue<UInt> min, RValue<UInt> max) in Clamp()
3004 RValue<Bool> operator<(RValue<UInt> lhs, RValue<UInt> rhs) in operator <()
3006 return RValue<Bool>(Nucleus::createICmpULT(lhs.value, rhs.value)); in operator <()
3009 RValue<Bool> operator<=(RValue<UInt> lhs, RValue<UInt> rhs) in operator <=()
3011 return RValue<Bool>(Nucleus::createICmpULE(lhs.value, rhs.value)); in operator <=()
3014 RValue<Bool> operator>(RValue<UInt> lhs, RValue<UInt> rhs) in operator >()
3016 return RValue<Bool>(Nucleus::createICmpUGT(lhs.value, rhs.value)); in operator >()
3019 RValue<Bool> operator>=(RValue<UInt> lhs, RValue<UInt> rhs) in operator >=()
3021 return RValue<Bool>(Nucleus::createICmpUGE(lhs.value, rhs.value)); in operator >=()
3024 RValue<Bool> operator!=(RValue<UInt> lhs, RValue<UInt> rhs) in operator !=()
3026 return RValue<Bool>(Nucleus::createICmpNE(lhs.value, rhs.value)); in operator !=()
3029 RValue<Bool> operator==(RValue<UInt> lhs, RValue<UInt> rhs) in operator ==()
3031 return RValue<Bool>(Nucleus::createICmpEQ(lhs.value, rhs.value)); in operator ==()
3034 Int2::Int2(RValue<Int4> cast) in Int2()
3045 Int2::Int2(RValue<Int2> rhs) in Int2()
3062 Int2::Int2(RValue<Int> lo, RValue<Int> hi) in Int2()
3070 RValue<Int2> Int2::operator=(RValue<Int2> rhs) in operator =()
3077 RValue<Int2> Int2::operator=(const Int2 &rhs) in operator =()
3082 return RValue<Int2>(value); in operator =()
3085 RValue<Int2> Int2::operator=(const Reference<Int2> &rhs) in operator =()
3090 return RValue<Int2>(value); in operator =()
3093 RValue<Int2> operator+(RValue<Int2> lhs, RValue<Int2> rhs) in operator +()
3095 return RValue<Int2>(Nucleus::createAdd(lhs.value, rhs.value)); in operator +()
3098 RValue<Int2> operator-(RValue<Int2> lhs, RValue<Int2> rhs) in operator -()
3100 return RValue<Int2>(Nucleus::createSub(lhs.value, rhs.value)); in operator -()
3118 RValue<Int2> operator&(RValue<Int2> lhs, RValue<Int2> rhs) in operator &()
3120 return RValue<Int2>(Nucleus::createAnd(lhs.value, rhs.value)); in operator &()
3123 RValue<Int2> operator|(RValue<Int2> lhs, RValue<Int2> rhs) in operator |()
3125 return RValue<Int2>(Nucleus::createOr(lhs.value, rhs.value)); in operator |()
3128 RValue<Int2> operator^(RValue<Int2> lhs, RValue<Int2> rhs) in operator ^()
3130 return RValue<Int2>(Nucleus::createXor(lhs.value, rhs.value)); in operator ^()
3133 RValue<Int2> operator+=(Int2 &lhs, RValue<Int2> rhs) in operator +=()
3138 RValue<Int2> operator-=(Int2 &lhs, RValue<Int2> rhs) in operator -=()
3158 RValue<Int2> operator&=(Int2 &lhs, RValue<Int2> rhs) in operator &=()
3163 RValue<Int2> operator|=(Int2 &lhs, RValue<Int2> rhs) in operator |=()
3168 RValue<Int2> operator^=(Int2 &lhs, RValue<Int2> rhs) in operator ^=()
3173 RValue<Int2> operator<<=(Int2 &lhs, unsigned char rhs) in operator <<=()
3178 RValue<Int2> operator>>=(Int2 &lhs, unsigned char rhs) in operator >>=()
3193 RValue<Int2> operator~(RValue<Int2> val) in operator ~()
3195 return RValue<Int2>(Nucleus::createNot(val.value)); in operator ~()
3198 RValue<Short4> UnpackLow(RValue<Int2> x, RValue<Int2> y) in UnpackLow()
3205 RValue<Short4> UnpackHigh(RValue<Int2> x, RValue<Int2> y) in UnpackHigh()
3209 auto lowHigh = RValue<Int4>(Nucleus::createShuffleVector(x.value, y.value, shuffle)); in UnpackHigh()
3213 RValue<Int> Extract(RValue<Int2> val, int i) in Extract()
3215 return RValue<Int>(Nucleus::createExtractElement(val.value, Int::getType(), i)); in Extract()
3218 RValue<Int2> Insert(RValue<Int2> val, RValue<Int> element, int i) in Insert()
3220 return RValue<Int2>(Nucleus::createInsertElement(val.value, element.value, i)); in Insert()
3229 UInt2::UInt2(RValue<UInt2> rhs) in UInt2()
3246 RValue<UInt2> UInt2::operator=(RValue<UInt2> rhs) in operator =()
3253 RValue<UInt2> UInt2::operator=(const UInt2 &rhs) in operator =()
3258 return RValue<UInt2>(value); in operator =()
3261 RValue<UInt2> UInt2::operator=(const Reference<UInt2> &rhs) in operator =()
3266 return RValue<UInt2>(value); in operator =()
3269 RValue<UInt2> operator+(RValue<UInt2> lhs, RValue<UInt2> rhs) in operator +()
3271 return RValue<UInt2>(Nucleus::createAdd(lhs.value, rhs.value)); in operator +()
3274 RValue<UInt2> operator-(RValue<UInt2> lhs, RValue<UInt2> rhs) in operator -()
3276 return RValue<UInt2>(Nucleus::createSub(lhs.value, rhs.value)); in operator -()
3294 RValue<UInt2> operator&(RValue<UInt2> lhs, RValue<UInt2> rhs) in operator &()
3296 return RValue<UInt2>(Nucleus::createAnd(lhs.value, rhs.value)); in operator &()
3299 RValue<UInt2> operator|(RValue<UInt2> lhs, RValue<UInt2> rhs) in operator |()
3301 return RValue<UInt2>(Nucleus::createOr(lhs.value, rhs.value)); in operator |()
3304 RValue<UInt2> operator^(RValue<UInt2> lhs, RValue<UInt2> rhs) in operator ^()
3306 return RValue<UInt2>(Nucleus::createXor(lhs.value, rhs.value)); in operator ^()
3309 RValue<UInt2> operator+=(UInt2 &lhs, RValue<UInt2> rhs) in operator +=()
3314 RValue<UInt2> operator-=(UInt2 &lhs, RValue<UInt2> rhs) in operator -=()
3334 RValue<UInt2> operator&=(UInt2 &lhs, RValue<UInt2> rhs) in operator &=()
3339 RValue<UInt2> operator|=(UInt2 &lhs, RValue<UInt2> rhs) in operator |=()
3344 RValue<UInt2> operator^=(UInt2 &lhs, RValue<UInt2> rhs) in operator ^=()
3349 RValue<UInt2> operator<<=(UInt2 &lhs, unsigned char rhs) in operator <<=()
3354 RValue<UInt2> operator>>=(UInt2 &lhs, unsigned char rhs) in operator >>=()
3369 RValue<UInt2> operator~(RValue<UInt2> val) in operator ~()
3371 return RValue<UInt2>(Nucleus::createNot(val.value)); in operator ~()
3374 RValue<UInt> Extract(RValue<UInt2> val, int i) in Extract()
3376 return RValue<UInt>(Nucleus::createExtractElement(val.value, UInt::getType(), i)); in Extract()
3379 RValue<UInt2> Insert(RValue<UInt2> val, RValue<UInt> element, int i) in Insert()
3381 return RValue<UInt2>(Nucleus::createInsertElement(val.value, element.value, i)); in Insert()
3389 Int4::Int4(RValue<Float4> cast) in Int4()
3427 Int4::Int4(RValue<Int4> rhs) in Int4()
3447 Int4::Int4(RValue<UInt4> rhs) in Int4()
3467 Int4::Int4(RValue<Int2> lo, RValue<Int2> hi) in Int4()
3479 *this = RValue<Int>(rhs.loadValue()); in Int4()
3485 *this = RValue<Int>(rhs.loadValue()); in Int4()
3488 RValue<Int4> Int4::operator=(RValue<Int4> rhs) in operator =()
3495 RValue<Int4> Int4::operator=(const Int4 &rhs) in operator =()
3500 return RValue<Int4>(value); in operator =()
3503 RValue<Int4> Int4::operator=(const Reference<Int4> &rhs) in operator =()
3508 return RValue<Int4>(value); in operator =()
3511 RValue<Int4> operator+(RValue<Int4> lhs, RValue<Int4> rhs) in operator +()
3513 return RValue<Int4>(Nucleus::createAdd(lhs.value, rhs.value)); in operator +()
3516 RValue<Int4> operator-(RValue<Int4> lhs, RValue<Int4> rhs) in operator -()
3518 return RValue<Int4>(Nucleus::createSub(lhs.value, rhs.value)); in operator -()
3521 RValue<Int4> operator*(RValue<Int4> lhs, RValue<Int4> rhs) in operator *()
3523 return RValue<Int4>(Nucleus::createMul(lhs.value, rhs.value)); in operator *()
3526 RValue<Int4> operator/(RValue<Int4> lhs, RValue<Int4> rhs) in operator /()
3528 return RValue<Int4>(Nucleus::createSDiv(lhs.value, rhs.value)); in operator /()
3531 RValue<Int4> operator%(RValue<Int4> lhs, RValue<Int4> rhs) in operator %()
3533 return RValue<Int4>(Nucleus::createSRem(lhs.value, rhs.value)); in operator %()
3536 RValue<Int4> operator&(RValue<Int4> lhs, RValue<Int4> rhs) in operator &()
3538 return RValue<Int4>(Nucleus::createAnd(lhs.value, rhs.value)); in operator &()
3541 RValue<Int4> operator|(RValue<Int4> lhs, RValue<Int4> rhs) in operator |()
3543 return RValue<Int4>(Nucleus::createOr(lhs.value, rhs.value)); in operator |()
3546 RValue<Int4> operator^(RValue<Int4> lhs, RValue<Int4> rhs) in operator ^()
3548 return RValue<Int4>(Nucleus::createXor(lhs.value, rhs.value)); in operator ^()
3551 RValue<Int4> operator<<(RValue<Int4> lhs, RValue<Int4> rhs) in operator <<()
3553 return RValue<Int4>(Nucleus::createShl(lhs.value, rhs.value)); in operator <<()
3556 RValue<Int4> operator>>(RValue<Int4> lhs, RValue<Int4> rhs) in operator >>()
3558 return RValue<Int4>(Nucleus::createAShr(lhs.value, rhs.value)); in operator >>()
3561 RValue<Int4> operator+=(Int4 &lhs, RValue<Int4> rhs) in operator +=()
3566 RValue<Int4> operator-=(Int4 &lhs, RValue<Int4> rhs) in operator -=()
3571 RValue<Int4> operator*=(Int4 &lhs, RValue<Int4> rhs) in operator *=()
3586 RValue<Int4> operator&=(Int4 &lhs, RValue<Int4> rhs) in operator &=()
3591 RValue<Int4> operator|=(Int4 &lhs, RValue<Int4> rhs) in operator |=()
3596 RValue<Int4> operator^=(Int4 &lhs, RValue<Int4> rhs) in operator ^=()
3601 RValue<Int4> operator<<=(Int4 &lhs, unsigned char rhs) in operator <<=()
3606 RValue<Int4> operator>>=(Int4 &lhs, unsigned char rhs) in operator >>=()
3611 RValue<Int4> operator+(RValue<Int4> val) in operator +()
3616 RValue<Int4> operator-(RValue<Int4> val) in operator -()
3618 return RValue<Int4>(Nucleus::createNeg(val.value)); in operator -()
3621 RValue<Int4> operator~(RValue<Int4> val) in operator ~()
3623 return RValue<Int4>(Nucleus::createNot(val.value)); in operator ~()
3626 RValue<Int> Extract(RValue<Int4> x, int i) in Extract()
3628 return RValue<Int>(Nucleus::createExtractElement(x.value, Int::getType(), i)); in Extract()
3631 RValue<Int4> Insert(RValue<Int4> x, RValue<Int> element, int i) in Insert()
3633 return RValue<Int4>(Nucleus::createInsertElement(x.value, element.value, i)); in Insert()
3636 RValue<Int4> Swizzle(RValue<Int4> x, uint16_t select) in Swizzle()
3638 return RValue<Int4>(createSwizzle4(x.value, select)); in Swizzle()
3641 RValue<Int4> Shuffle(RValue<Int4> x, RValue<Int4> y, unsigned short select) in Shuffle()
3643 return RValue<Int4>(createShuffle4(x.value, y.value, select)); in Shuffle()
3681 UInt4::UInt4(RValue<UInt4> rhs) in UInt4()
3701 UInt4::UInt4(RValue<Int4> rhs) in UInt4()
3721 UInt4::UInt4(RValue<UInt2> lo, RValue<UInt2> hi) in UInt4()
3733 *this = RValue<UInt>(rhs.loadValue()); in UInt4()
3739 *this = RValue<UInt>(rhs.loadValue()); in UInt4()
3742 RValue<UInt4> UInt4::operator=(RValue<UInt4> rhs) in operator =()
3749 RValue<UInt4> UInt4::operator=(const UInt4 &rhs) in operator =()
3754 return RValue<UInt4>(value); in operator =()
3757 RValue<UInt4> UInt4::operator=(const Reference<UInt4> &rhs) in operator =()
3762 return RValue<UInt4>(value); in operator =()
3765 RValue<UInt4> operator+(RValue<UInt4> lhs, RValue<UInt4> rhs) in operator +()
3767 return RValue<UInt4>(Nucleus::createAdd(lhs.value, rhs.value)); in operator +()
3770 RValue<UInt4> operator-(RValue<UInt4> lhs, RValue<UInt4> rhs) in operator -()
3772 return RValue<UInt4>(Nucleus::createSub(lhs.value, rhs.value)); in operator -()
3775 RValue<UInt4> operator*(RValue<UInt4> lhs, RValue<UInt4> rhs) in operator *()
3777 return RValue<UInt4>(Nucleus::createMul(lhs.value, rhs.value)); in operator *()
3780 RValue<UInt4> operator/(RValue<UInt4> lhs, RValue<UInt4> rhs) in operator /()
3782 return RValue<UInt4>(Nucleus::createUDiv(lhs.value, rhs.value)); in operator /()
3785 RValue<UInt4> operator%(RValue<UInt4> lhs, RValue<UInt4> rhs) in operator %()
3787 return RValue<UInt4>(Nucleus::createURem(lhs.value, rhs.value)); in operator %()
3790 RValue<UInt4> operator&(RValue<UInt4> lhs, RValue<UInt4> rhs) in operator &()
3792 return RValue<UInt4>(Nucleus::createAnd(lhs.value, rhs.value)); in operator &()
3795 RValue<UInt4> operator|(RValue<UInt4> lhs, RValue<UInt4> rhs) in operator |()
3797 return RValue<UInt4>(Nucleus::createOr(lhs.value, rhs.value)); in operator |()
3800 RValue<UInt4> operator^(RValue<UInt4> lhs, RValue<UInt4> rhs) in operator ^()
3802 return RValue<UInt4>(Nucleus::createXor(lhs.value, rhs.value)); in operator ^()
3805 RValue<UInt4> operator<<(RValue<UInt4> lhs, RValue<UInt4> rhs) in operator <<()
3807 return RValue<UInt4>(Nucleus::createShl(lhs.value, rhs.value)); in operator <<()
3810 RValue<UInt4> operator>>(RValue<UInt4> lhs, RValue<UInt4> rhs) in operator >>()
3812 return RValue<UInt4>(Nucleus::createLShr(lhs.value, rhs.value)); in operator >>()
3815 RValue<UInt4> operator+=(UInt4 &lhs, RValue<UInt4> rhs) in operator +=()
3820 RValue<UInt4> operator-=(UInt4 &lhs, RValue<UInt4> rhs) in operator -=()
3825 RValue<UInt4> operator*=(UInt4 &lhs, RValue<UInt4> rhs) in operator *=()
3840 RValue<UInt4> operator&=(UInt4 &lhs, RValue<UInt4> rhs) in operator &=()
3845 RValue<UInt4> operator|=(UInt4 &lhs, RValue<UInt4> rhs) in operator |=()
3850 RValue<UInt4> operator^=(UInt4 &lhs, RValue<UInt4> rhs) in operator ^=()
3855 RValue<UInt4> operator<<=(UInt4 &lhs, unsigned char rhs) in operator <<=()
3860 RValue<UInt4> operator>>=(UInt4 &lhs, unsigned char rhs) in operator >>=()
3865 RValue<UInt4> operator+(RValue<UInt4> val) in operator +()
3870 RValue<UInt4> operator-(RValue<UInt4> val) in operator -()
3872 return RValue<UInt4>(Nucleus::createNeg(val.value)); in operator -()
3875 RValue<UInt4> operator~(RValue<UInt4> val) in operator ~()
3877 return RValue<UInt4>(Nucleus::createNot(val.value)); in operator ~()
3880 RValue<UInt> Extract(RValue<UInt4> x, int i) in Extract()
3882 return RValue<UInt>(Nucleus::createExtractElement(x.value, Int::getType(), i)); in Extract()
3885 RValue<UInt4> Insert(RValue<UInt4> x, RValue<UInt> element, int i) in Insert()
3887 return RValue<UInt4>(Nucleus::createInsertElement(x.value, element.value, i)); in Insert()
3890 RValue<UInt4> Swizzle(RValue<UInt4> x, uint16_t select) in Swizzle()
3892 return RValue<UInt4>(createSwizzle4(x.value, select)); in Swizzle()
3895 RValue<UInt4> Shuffle(RValue<UInt4> x, RValue<UInt4> y, unsigned short select) in Shuffle()
3897 return RValue<UInt4>(createShuffle4(x.value, y.value, select)); in Shuffle()
3900 Half::Half(RValue<Float> cast) in Half()
3928 Float::Float(RValue<Int> cast) in Float()
3935 Float::Float(RValue<UInt> cast) in Float()
3937 RValue<Float> result = Float(Int(cast & UInt(0x7FFFFFFF))) + in Float()
3943 Float::Float(RValue<Half> cast) in Float()
4011 Float::Float(RValue<Float> rhs) in Float()
4033 RValue<Float> Float::operator=(RValue<Float> rhs) in operator =()
4040 RValue<Float> Float::operator=(const Float &rhs) in operator =()
4045 return RValue<Float>(value); in operator =()
4048 RValue<Float> Float::operator=(const Reference<Float> &rhs) in operator =()
4053 return RValue<Float>(value); in operator =()
4056 RValue<Float> operator+(RValue<Float> lhs, RValue<Float> rhs) in operator +()
4058 return RValue<Float>(Nucleus::createFAdd(lhs.value, rhs.value)); in operator +()
4061 RValue<Float> operator-(RValue<Float> lhs, RValue<Float> rhs) in operator -()
4063 return RValue<Float>(Nucleus::createFSub(lhs.value, rhs.value)); in operator -()
4066 RValue<Float> operator*(RValue<Float> lhs, RValue<Float> rhs) in operator *()
4068 return RValue<Float>(Nucleus::createFMul(lhs.value, rhs.value)); in operator *()
4071 RValue<Float> operator/(RValue<Float> lhs, RValue<Float> rhs) in operator /()
4073 return RValue<Float>(Nucleus::createFDiv(lhs.value, rhs.value)); in operator /()
4076 RValue<Float> operator+=(Float &lhs, RValue<Float> rhs) in operator +=()
4081 RValue<Float> operator-=(Float &lhs, RValue<Float> rhs) in operator -=()
4086 RValue<Float> operator*=(Float &lhs, RValue<Float> rhs) in operator *=()
4091 RValue<Float> operator/=(Float &lhs, RValue<Float> rhs) in operator /=()
4096 RValue<Float> operator+(RValue<Float> val) in operator +()
4101 RValue<Float> operator-(RValue<Float> val) in operator -()
4103 return RValue<Float>(Nucleus::createFNeg(val.value)); in operator -()
4106 RValue<Bool> operator<(RValue<Float> lhs, RValue<Float> rhs) in operator <()
4108 return RValue<Bool>(Nucleus::createFCmpOLT(lhs.value, rhs.value)); in operator <()
4111 RValue<Bool> operator<=(RValue<Float> lhs, RValue<Float> rhs) in operator <=()
4113 return RValue<Bool>(Nucleus::createFCmpOLE(lhs.value, rhs.value)); in operator <=()
4116 RValue<Bool> operator>(RValue<Float> lhs, RValue<Float> rhs) in operator >()
4118 return RValue<Bool>(Nucleus::createFCmpOGT(lhs.value, rhs.value)); in operator >()
4121 RValue<Bool> operator>=(RValue<Float> lhs, RValue<Float> rhs) in operator >=()
4123 return RValue<Bool>(Nucleus::createFCmpOGE(lhs.value, rhs.value)); in operator >=()
4126 RValue<Bool> operator!=(RValue<Float> lhs, RValue<Float> rhs) in operator !=()
4128 return RValue<Bool>(Nucleus::createFCmpONE(lhs.value, rhs.value)); in operator !=()
4131 RValue<Bool> operator==(RValue<Float> lhs, RValue<Float> rhs) in operator ==()
4133 return RValue<Bool>(Nucleus::createFCmpOEQ(lhs.value, rhs.value)); in operator ==()
4136 RValue<Float> Abs(RValue<Float> x) in Abs()
4141 RValue<Float> Max(RValue<Float> x, RValue<Float> y) in Max()
4146 RValue<Float> Min(RValue<Float> x, RValue<Float> y) in Min()
4151 Float2::Float2(RValue<Float4> cast) in Float2()
4156 Float4::Float4(RValue<Byte4> cast) in Float4()
4165 Float4::Float4(RValue<SByte4> cast) in Float4()
4174 Float4::Float4(RValue<Short4> cast) in Float4()
4178 storeValue(Nucleus::createSIToFP(RValue<Int4>(c).value, Float4::getType())); in Float4()
4181 Float4::Float4(RValue<UShort4> cast) in Float4()
4185 storeValue(Nucleus::createSIToFP(RValue<Int4>(c).value, Float4::getType())); in Float4()
4188 Float4::Float4(RValue<Int4> cast) in Float4()
4196 Float4::Float4(RValue<UInt4> cast) in Float4()
4199 RValue<Float4> result = Float4(Int4(cast & UInt4(0x7FFFFFFF))) + in Float4()
4254 Float4::Float4(RValue<Float4> rhs) in Float4()
4277 *this = RValue<Float>(rhs.loadValue()); in Float4()
4283 *this = RValue<Float>(rhs.loadValue()); in Float4()
4286 RValue<Float4> Float4::operator=(float x) in operator =()
4291 RValue<Float4> Float4::operator=(RValue<Float4> rhs) in operator =()
4298 RValue<Float4> Float4::operator=(const Float4 &rhs) in operator =()
4303 return RValue<Float4>(value); in operator =()
4306 RValue<Float4> Float4::operator=(const Reference<Float4> &rhs) in operator =()
4311 return RValue<Float4>(value); in operator =()
4314 RValue<Float4> Float4::operator=(RValue<Float> rhs) in operator =()
4319 RValue<Float4> Float4::operator=(const Float &rhs) in operator =()
4324 RValue<Float4> Float4::operator=(const Reference<Float> &rhs) in operator =()
4329 RValue<Float4> operator+(RValue<Float4> lhs, RValue<Float4> rhs) in operator +()
4331 return RValue<Float4>(Nucleus::createFAdd(lhs.value, rhs.value)); in operator +()
4334 RValue<Float4> operator-(RValue<Float4> lhs, RValue<Float4> rhs) in operator -()
4336 return RValue<Float4>(Nucleus::createFSub(lhs.value, rhs.value)); in operator -()
4339 RValue<Float4> operator*(RValue<Float4> lhs, RValue<Float4> rhs) in operator *()
4341 return RValue<Float4>(Nucleus::createFMul(lhs.value, rhs.value)); in operator *()
4344 RValue<Float4> operator/(RValue<Float4> lhs, RValue<Float4> rhs) in operator /()
4346 return RValue<Float4>(Nucleus::createFDiv(lhs.value, rhs.value)); in operator /()
4349 RValue<Float4> operator+=(Float4 &lhs, RValue<Float4> rhs) in operator +=()
4354 RValue<Float4> operator-=(Float4 &lhs, RValue<Float4> rhs) in operator -=()
4359 RValue<Float4> operator*=(Float4 &lhs, RValue<Float4> rhs) in operator *=()
4364 RValue<Float4> operator/=(Float4 &lhs, RValue<Float4> rhs) in operator /=()
4369 RValue<Float4> operator%=(Float4 &lhs, RValue<Float4> rhs) in operator %=()
4374 RValue<Float4> operator+(RValue<Float4> val) in operator +()
4379 RValue<Float4> operator-(RValue<Float4> val) in operator -()
4381 return RValue<Float4>(Nucleus::createFNeg(val.value)); in operator -()
4384 RValue<Float4> Abs(RValue<Float4> x) in Abs()
4394 RValue<Float4> Insert(RValue<Float4> x, RValue<Float> element, int i) in Insert()
4396 return RValue<Float4>(Nucleus::createInsertElement(x.value, element.value, i)); in Insert()
4399 RValue<Float> Extract(RValue<Float4> x, int i) in Extract()
4401 return RValue<Float>(Nucleus::createExtractElement(x.value, Float::getType(), i)); in Extract()
4404 RValue<Float4> Swizzle(RValue<Float4> x, uint16_t select) in Swizzle()
4406 return RValue<Float4>(createSwizzle4(x.value, select)); in Swizzle()
4409 RValue<Float4> Shuffle(RValue<Float4> x, RValue<Float4> y, uint16_t select) in Shuffle()
4411 return RValue<Float4>(createShuffle4(x.value, y.value, select)); in Shuffle()
4414 RValue<Float4> ShuffleLowHigh(RValue<Float4> x, RValue<Float4> y, uint16_t imm) in ShuffleLowHigh()
4423 return RValue<Float4>(Nucleus::createShuffleVector(x.value, y.value, shuffle)); in ShuffleLowHigh()
4426 RValue<Float4> UnpackLow(RValue<Float4> x, RValue<Float4> y) in UnpackLow()
4429 return RValue<Float4>(Nucleus::createShuffleVector(x.value, y.value, shuffle)); in UnpackLow()
4432 RValue<Float4> UnpackHigh(RValue<Float4> x, RValue<Float4> y) in UnpackHigh()
4435 return RValue<Float4>(Nucleus::createShuffleVector(x.value, y.value, shuffle)); in UnpackHigh()
4438 RValue<Float4> Mask(Float4 &lhs, RValue<Float4> rhs, uint16_t select) in Mask()
4444 return RValue<Float4>(result); in Mask()
4447 RValue<Int4> IsInf(RValue<Float4> x) in IsInf()
4452 RValue<Int4> IsNan(RValue<Float4> x) in IsNan()
4457 RValue<Pointer<Byte>> operator+(RValue<Pointer<Byte>> lhs, int offset) in operator +()
4459 return lhs + RValue<Int>(Nucleus::createConstantInt(offset)); in operator +()
4462 RValue<Pointer<Byte>> operator+(RValue<Pointer<Byte>> lhs, RValue<Int> offset) in operator +()
4464 return RValue<Pointer<Byte>>(Nucleus::createGEP(lhs.value, Byte::getType(), offset.value, false)); in operator +()
4467 RValue<Pointer<Byte>> operator+(RValue<Pointer<Byte>> lhs, RValue<UInt> offset) in operator +()
4469 return RValue<Pointer<Byte>>(Nucleus::createGEP(lhs.value, Byte::getType(), offset.value, true)); in operator +()
4472 RValue<Pointer<Byte>> operator+=(Pointer<Byte> &lhs, int offset) in operator +=()
4477 RValue<Pointer<Byte>> operator+=(Pointer<Byte> &lhs, RValue<Int> offset) in operator +=()
4482 RValue<Pointer<Byte>> operator+=(Pointer<Byte> &lhs, RValue<UInt> offset) in operator +=()
4487 RValue<Pointer<Byte>> operator-(RValue<Pointer<Byte>> lhs, int offset) in operator -()
4492 RValue<Pointer<Byte>> operator-(RValue<Pointer<Byte>> lhs, RValue<Int> offset) in operator -()
4497 RValue<Pointer<Byte>> operator-(RValue<Pointer<Byte>> lhs, RValue<UInt> offset) in operator -()
4502 RValue<Pointer<Byte>> operator-=(Pointer<Byte> &lhs, int offset) in operator -=()
4507 RValue<Pointer<Byte>> operator-=(Pointer<Byte> &lhs, RValue<Int> offset) in operator -=()
4512 RValue<Pointer<Byte>> operator-=(Pointer<Byte> &lhs, RValue<UInt> offset) in operator -=()
4524 void branch(RValue<Bool> cmp, BasicBlock *bodyBB, BasicBlock *endBB) in branch()
4530 RValue<Float4> MaskedLoad(RValue<Pointer<Float4>> base, RValue<Int4> mask, unsigned int alignment, … in MaskedLoad()
4532 …return RValue<Float4>(Nucleus::createMaskedLoad(base.value, Float::getType(), mask.value, alignmen… in MaskedLoad()
4535 RValue<Int4> MaskedLoad(RValue<Pointer<Int4>> base, RValue<Int4> mask, unsigned int alignment, bool… in MaskedLoad()
4537 …return RValue<Int4>(Nucleus::createMaskedLoad(base.value, Int::getType(), mask.value, alignment, z… in MaskedLoad()
4540 void MaskedStore(RValue<Pointer<Float4>> base, RValue<Float4> val, RValue<Int4> mask, unsigned int … in MaskedStore()
4545 void MaskedStore(RValue<Pointer<Int4>> base, RValue<Int4> val, RValue<Int4> mask, unsigned int alig… in MaskedStore()
4661 std::vector<Value *> PrintValue::Ty<Bool>::val(const RValue<Bool> &v) in val()
4668 std::vector<Value *> PrintValue::Ty<Byte>::val(const RValue<Byte> &v) in val()
4673 std::vector<Value *> PrintValue::Ty<Byte4>::val(const RValue<Byte4> &v) in val()
4678 std::vector<Value *> PrintValue::Ty<Int>::val(const RValue<Int> &v) in val()
4683 std::vector<Value *> PrintValue::Ty<Int2>::val(const RValue<Int2> &v) in val()
4688 std::vector<Value *> PrintValue::Ty<Int4>::val(const RValue<Int4> &v) in val()
4693 std::vector<Value *> PrintValue::Ty<UInt>::val(const RValue<UInt> &v) in val()
4698 std::vector<Value *> PrintValue::Ty<UInt2>::val(const RValue<UInt2> &v) in val()
4703 std::vector<Value *> PrintValue::Ty<UInt4>::val(const RValue<UInt4> &v) in val()
4708 std::vector<Value *> PrintValue::Ty<Short>::val(const RValue<Short> &v) in val()
4713 std::vector<Value *> PrintValue::Ty<Short4>::val(const RValue<Short4> &v) in val()
4718 std::vector<Value *> PrintValue::Ty<UShort>::val(const RValue<UShort> &v) in val()
4723 std::vector<Value *> PrintValue::Ty<UShort4>::val(const RValue<UShort4> &v) in val()
4728 std::vector<Value *> PrintValue::Ty<Float>::val(const RValue<Float> &v) in val()
4733 std::vector<Value *> PrintValue::Ty<Float4>::val(const RValue<Float4> &v) in val()