Lines Matching defs:operator

499     bool operator!=(Ptr a, Ptr b);
504 explicit operator bool() const { return id != NA; }
505 Builder* operator->() const { return builder; }
511 explicit operator bool() const { return id != NA; }
512 Builder* operator->() const { return builder; }
517 explicit operator bool() const { return r && g && b && a; }
518 Builder* operator->() const { return a.operator->(); }
523 explicit operator bool() const { return h && s && l && a; }
524 Builder* operator->() const { return a.operator->(); }
529 explicit operator bool() const { return x && y; }
530 Builder* operator->() const { return x.operator->(); }
588 bool operator==(const Instruction&, const Instruction&);
590 uint32_t operator()(const Instruction&, uint32_t seed=0) const;
1025 Program& operator=(Program&&);
1028 Program& operator=(const Program&) = delete;
1072 SI I32 operator+(I32 x, I32 y) { return x->add(x,y); }
1073 SI I32 operator+(I32 x, int y) { return x->add(x,y); }
1074 SI I32 operator+(int x, I32 y) { return y->add(x,y); }
1076 SI I32 operator-(I32 x, I32 y) { return x->sub(x,y); }
1077 SI I32 operator-(I32 x, int y) { return x->sub(x,y); }
1078 SI I32 operator-(int x, I32 y) { return y->sub(x,y); }
1080 SI I32 operator*(I32 x, I32 y) { return x->mul(x,y); }
1081 SI I32 operator*(I32 x, int y) { return x->mul(x,y); }
1082 SI I32 operator*(int x, I32 y) { return y->mul(x,y); }
1092 SI I32 operator==(I32 x, I32 y) { return x->eq(x,y); }
1093 SI I32 operator==(I32 x, int y) { return x->eq(x,y); }
1094 SI I32 operator==(int x, I32 y) { return y->eq(x,y); }
1096 SI I32 operator!=(I32 x, I32 y) { return x->neq(x,y); }
1097 SI I32 operator!=(I32 x, int y) { return x->neq(x,y); }
1098 SI I32 operator!=(int x, I32 y) { return y->neq(x,y); }
1100 SI I32 operator< (I32 x, I32 y) { return x->lt(x,y); }
1101 SI I32 operator< (I32 x, int y) { return x->lt(x,y); }
1102 SI I32 operator< (int x, I32 y) { return y->lt(x,y); }
1104 SI I32 operator<=(I32 x, I32 y) { return x->lte(x,y); }
1105 SI I32 operator<=(I32 x, int y) { return x->lte(x,y); }
1106 SI I32 operator<=(int x, I32 y) { return y->lte(x,y); }
1108 SI I32 operator> (I32 x, I32 y) { return x->gt(x,y); }
1109 SI I32 operator> (I32 x, int y) { return x->gt(x,y); }
1110 SI I32 operator> (int x, I32 y) { return y->gt(x,y); }
1112 SI I32 operator>=(I32 x, I32 y) { return x->gte(x,y); }
1113 SI I32 operator>=(I32 x, int y) { return x->gte(x,y); }
1114 SI I32 operator>=(int x, I32 y) { return y->gte(x,y); }
1117 SI F32 operator+(F32 x, F32 y) { return x->add(x,y); }
1118 SI F32 operator+(F32 x, float y) { return x->add(x,y); }
1119 SI F32 operator+(float x, F32 y) { return y->add(x,y); }
1121 SI F32 operator-(F32 x, F32 y) { return x->sub(x,y); }
1122 SI F32 operator-(F32 x, float y) { return x->sub(x,y); }
1123 SI F32 operator-(float x, F32 y) { return y->sub(x,y); }
1125 SI F32 operator*(F32 x, F32 y) { return x->mul(x,y); }
1126 SI F32 operator*(F32 x, float y) { return x->mul(x,y); }
1127 SI F32 operator*(float x, F32 y) { return y->mul(x,y); }
1133 SI F32 operator/(F32 x, F32 y) { return x->div(x,y); }
1134 SI F32 operator/(float x, F32 y) { return y->div(x,y); }
1144 SI I32 operator==(F32 x, F32 y) { return x->eq(x,y); }
1145 SI I32 operator==(F32 x, float y) { return x->eq(x,y); }
1146 SI I32 operator==(float x, F32 y) { return y->eq(x,y); }
1148 SI I32 operator!=(F32 x, F32 y) { return x->neq(x,y); }
1149 SI I32 operator!=(F32 x, float y) { return x->neq(x,y); }
1150 SI I32 operator!=(float x, F32 y) { return y->neq(x,y); }
1152 SI I32 operator< (F32 x, F32 y) { return x->lt(x,y); }
1153 SI I32 operator< (F32 x, float y) { return x->lt(x,y); }
1154 SI I32 operator< (float x, F32 y) { return y->lt(x,y); }
1156 SI I32 operator<=(F32 x, F32 y) { return x->lte(x,y); }
1157 SI I32 operator<=(F32 x, float y) { return x->lte(x,y); }
1158 SI I32 operator<=(float x, F32 y) { return y->lte(x,y); }
1160 SI I32 operator> (F32 x, F32 y) { return x->gt(x,y); }
1161 SI I32 operator> (F32 x, float y) { return x->gt(x,y); }
1162 SI I32 operator> (float x, F32 y) { return y->gt(x,y); }
1164 SI I32 operator>=(F32 x, F32 y) { return x->gte(x,y); }
1165 SI I32 operator>=(F32 x, float y) { return x->gte(x,y); }
1166 SI I32 operator>=(float x, F32 y) { return y->gte(x,y); }
1168 SI I32& operator+=(I32& x, I32 y) { return (x = x + y); }
1169 SI I32& operator+=(I32& x, int y) { return (x = x + y); }
1171 SI I32& operator-=(I32& x, I32 y) { return (x = x - y); }
1172 SI I32& operator-=(I32& x, int y) { return (x = x - y); }
1174 SI I32& operator*=(I32& x, I32 y) { return (x = x * y); }
1175 SI I32& operator*=(I32& x, int y) { return (x = x * y); }
1177 SI F32& operator+=(F32& x, F32 y) { return (x = x + y); }
1178 SI F32& operator+=(F32& x, float y) { return (x = x + y); }
1180 SI F32& operator-=(F32& x, F32 y) { return (x = x - y); }
1181 SI F32& operator-=(F32& x, float y) { return (x = x - y); }
1183 SI F32& operator*=(F32& x, F32 y) { return (x = x * y); }
1184 SI F32& operator*=(F32& x, float y) { return (x = x * y); }
1186 SI F32& operator/=(F32& x, F32 y) { return (x = x / y); }
1260 SI I32 operator<<(I32 x, int bits) { return x->shl(x, bits); }
1265 SI I32 operator&(I32 x, I32 y) { return x->bit_and(x,y); }
1266 SI I32 operator&(I32 x, int y) { return x->bit_and(x,y); }
1267 SI I32 operator&(int x, I32 y) { return y->bit_and(x,y); }
1269 SI I32 operator|(I32 x, I32 y) { return x->bit_or (x,y); }
1270 SI I32 operator|(I32 x, int y) { return x->bit_or (x,y); }
1271 SI I32 operator|(int x, I32 y) { return y->bit_or (x,y); }
1273 SI I32 operator^(I32 x, I32 y) { return x->bit_xor(x,y); }
1274 SI I32 operator^(I32 x, int y) { return x->bit_xor(x,y); }
1275 SI I32 operator^(int x, I32 y) { return y->bit_xor(x,y); }
1277 SI I32& operator&=(I32& x, I32 y) { return (x = x & y); }
1278 SI I32& operator&=(I32& x, int y) { return (x = x & y); }
1279 SI I32& operator|=(I32& x, I32 y) { return (x = x | y); }
1280 SI I32& operator|=(I32& x, int y) { return (x = x | y); }
1281 SI I32& operator^=(I32& x, I32 y) { return (x = x ^ y); }
1282 SI I32& operator^=(I32& x, int y) { return (x = x ^ y); }
1306 SI I32 operator~(I32 x) { return ~0 ^ x; }
1307 SI I32 operator-(I32 x) { return 0 - x; }
1308 SI F32 operator-(F32 x) { return 0.0f - x; }