Lines Matching defs:arg
62 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
64 /// CHECK-DAG: <<Add:j\d+>> Add [<<Const0>>,<<Arg>>]
68 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
69 /// CHECK-DAG: Return [<<Arg>>]
74 public static long Add0(long arg) {
75 return 0 + arg;
79 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
81 /// CHECK-DAG: <<And:i\d+>> And [<<Arg>>,<<ConstF>>]
85 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
86 /// CHECK-DAG: Return [<<Arg>>]
91 public static int AndAllOnes(int arg) {
92 return arg & -1;
96 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
99 /// CHECK-DAG: <<UShr:i\d+>> UShr [<<Arg>>,<<Const28>>]
104 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
106 /// CHECK-DAG: <<UShr:i\d+>> UShr [<<Arg>>,<<Const28>>]
112 public static int UShr28And15(int arg) {
113 return (arg >>> 28) & 15;
117 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
120 /// CHECK-DAG: <<UShr:j\d+>> UShr [<<Arg>>,<<Const60>>]
125 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
127 /// CHECK-DAG: <<UShr:j\d+>> UShr [<<Arg>>,<<Const60>>]
133 public static long UShr60And15(long arg) {
134 return (arg >>> 60) & 15;
138 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
141 /// CHECK-DAG: <<UShr:i\d+>> UShr [<<Arg>>,<<Const28>>]
146 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
149 /// CHECK-DAG: <<UShr:i\d+>> UShr [<<Arg>>,<<Const28>>]
153 public static int UShr28And7(int arg) {
154 return (arg >>> 28) & 7;
158 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
161 /// CHECK-DAG: <<UShr:j\d+>> UShr [<<Arg>>,<<Const60>>]
166 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
169 /// CHECK-DAG: <<UShr:j\d+>> UShr [<<Arg>>,<<Const60>>]
173 public static long UShr60And7(long arg) {
174 return (arg >>> 60) & 7;
178 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
181 /// CHECK-DAG: <<Shr:i\d+>> Shr [<<Arg>>,<<Const24>>]
186 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
188 /// CHECK-DAG: <<UShr:i\d+>> UShr [<<Arg>>,<<Const24>>]
195 public static int Shr24And255(int arg) {
196 return (arg >> 24) & 255;
200 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
203 /// CHECK-DAG: <<Shr:j\d+>> Shr [<<Arg>>,<<Const56>>]
208 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
210 /// CHECK-DAG: <<UShr:j\d+>> UShr [<<Arg>>,<<Const56>>]
217 public static long Shr56And255(long arg) {
218 return (arg >> 56) & 255;
222 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
225 /// CHECK-DAG: <<Shr:i\d+>> Shr [<<Arg>>,<<Const24>>]
230 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
233 /// CHECK-DAG: <<Shr:i\d+>> Shr [<<Arg>>,<<Const24>>]
237 public static int Shr24And127(int arg) {
238 return (arg >> 24) & 127;
242 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
245 /// CHECK-DAG: <<Shr:j\d+>> Shr [<<Arg>>,<<Const56>>]
250 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
253 /// CHECK-DAG: <<Shr:j\d+>> Shr [<<Arg>>,<<Const56>>]
257 public static long Shr56And127(long arg) {
258 return (arg >> 56) & 127;
262 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
264 /// CHECK-DAG: <<Div:j\d+>> Div [<<Arg>>,<<Const1>>]
268 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
269 /// CHECK-DAG: Return [<<Arg>>]
274 public static long Div1(long arg) {
275 return arg / 1;
279 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
281 /// CHECK-DAG: <<Div:i\d+>> Div [<<Arg>>,<<ConstN1>>]
285 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
286 /// CHECK-DAG: <<Neg:i\d+>> Neg [<<Arg>>]
292 public static int DivN1(int arg) {
293 return arg / -1;
297 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
299 /// CHECK-DAG: <<Mul:j\d+>> Mul [<<Const1>>,<<Arg>>]
303 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
304 /// CHECK-DAG: Return [<<Arg>>]
309 public static long Mul1(long arg) {
310 return arg * 1;
314 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
316 /// CHECK-DAG: <<Mul:i\d+>> Mul [<<Arg>>,<<ConstN1>>]
320 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
321 /// CHECK-DAG: <<Neg:i\d+>> Neg [<<Arg>>]
327 public static int MulN1(int arg) {
328 return arg * -1;
332 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
334 /// CHECK-DAG: <<Mul:j\d+>> Mul [<<Const128>>,<<Arg>>]
338 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
340 /// CHECK-DAG: <<Shl:j\d+>> Shl [<<Arg>>,<<Const7>>]
346 public static long MulPowerOfTwo128(long arg) {
347 return arg * 128;
351 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
353 /// CHECK-DAG: <<Or:i\d+>> Or [<<Arg>>,<<Const0>>]
357 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
358 /// CHECK-DAG: Return [<<Arg>>]
363 public static int Or0(int arg) {
364 return arg | 0;
368 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
369 /// CHECK-DAG: <<Or:j\d+>> Or [<<Arg>>,<<Arg>>]
373 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
374 /// CHECK-DAG: Return [<<Arg>>]
379 public static long OrSame(long arg) {
380 return arg | arg;
384 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
386 /// CHECK-DAG: <<Shl:i\d+>> Shl [<<Arg>>,<<Const0>>]
390 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
391 /// CHECK-DAG: Return [<<Arg>>]
396 public static int Shl0(int arg) {
397 return arg << 0;
401 Arg:j\d+>> ParameterValue
403 /// CHECK-DAG: <<Shr:j\d+>> Shr [<<Arg>>,<<Const0>>]
407 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
408 /// CHECK-DAG: Return [<<Arg>>]
413 public static long Shr0(long arg) {
414 return arg >> 0;
418 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
420 /// CHECK-DAG: <<Shr:j\d+>> Shr [<<Arg>>,<<Const64>>]
424 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
425 /// CHECK-DAG: Return [<<Arg>>]
430 public static long Shr64(long arg) {
431 return arg >> 64;
435 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
437 /// CHECK-DAG: <<Sub:j\d+>> Sub [<<Arg>>,<<Const0>>]
441 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
442 /// CHECK-DAG: Return [<<Arg>>]
447 public static long Sub0(long arg) {
448 return arg - 0;
452 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
454 /// CHECK-DAG: <<Sub:i\d+>> Sub [<<Const0>>,<<Arg>>]
458 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
459 /// CHECK-DAG: <<Neg:i\d+>> Neg [<<Arg>>]
465 public static int SubAliasNeg(int arg) {
466 return 0 - arg;
470 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
472 /// CHECK-DAG: <<UShr:j\d+>> UShr [<<Arg>>,<<Const0>>]
476 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
477 /// CHECK-DAG: Return [<<Arg>>]
482 public static long UShr0(long arg) {
483 return arg >>> 0;
487 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
489 /// CHECK-DAG: <<Xor:i\d+>> Xor [<<Arg>>,<<Const0>>]
493 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
494 /// CHECK-DAG: Return [<<Arg>>]
499 public static int Xor0(int arg) {
500 return arg ^ 0;
504 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
506 /// CHECK-DAG: <<Xor:i\d+>> Xor [<<Arg>>,<<ConstF>>]
510 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
511 /// CHECK-DAG: <<Not:i\d+>> Not [<<Arg>>]
517 public static int XorAllOnes(int arg) {
518 return arg ^ -1;
706 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
707 /// CHECK-DAG: <<Neg1:j\d+>> Neg [<<Arg>>]
712 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
713 /// CHECK-DAG: Return [<<Arg>>]
718 public static long NegNeg1(long arg) {
719 return -(-arg);
730 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
731 /// CHECK-DAG: <<Neg1:i\d+>> Neg [<<Arg>>]
737 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
738 /// CHECK-DAG: <<Sub:i\d+>> Sub [<<Arg>>,<<Arg>>]
751 public static int NegNeg2(int arg) {
752 int temp = -arg;
764 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
766 /// CHECK-DAG: <<Neg:j\d+>> Neg [<<Arg>>]
771 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
772 /// CHECK-DAG: Return [<<Arg>>]
778 public static long NegNeg3(long arg) {
779 return 0 - -arg;
847 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
848 /// CHECK-DAG: <<Not1:j\d+>> Not [<<Arg>>]
853 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
854 /// CHECK-DAG: Return [<<Arg>>]
859 public static long NotNot1(long arg) {
860 return ~~arg;
864 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
865 /// CHECK-DAG: <<Not1:i\d+>> Not [<<Arg>>]
871 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
872 /// CHECK-DAG: <<Not:i\d+>> Not [<<Arg>>]
873 /// CHECK-DAG: <<Add:i\d+>> Add [<<Arg>>,<<Not>>]
880 public static int NotNot2(int arg) {
881 int temp = ~arg;
987 /// CHECK-DAG: <<Arg:z\d+>> ParameterValue
991 /// CHECK-DAG: <<NotArg:i\d+>> Select [<<Const1>>,<<Const0>>,<<Arg>>]
1000 public static boolean EqualBoolVsIntConst(boolean arg) {
1001 return (arg ? 0 : 1) != 2;
1005 /// CHECK-DAG: <<Arg:z\d+>> ParameterValue
1009 /// CHECK-DAG: <<NotArg:i\d+>> Select [<<Const1>>,<<Const0>>,<<Arg>>]
1018 public static boolean NotEqualBoolVsIntConst(boolean arg) {
1019 return (arg ? 0 : 1) == 2;
1029 /// CHECK-DAG: <<Arg:z\d+>> ParameterValue
1032 /// CHECK-DAG: <<NotArg:i\d+>> Select [<<Const1>>,<<Const0>>,<<Arg>>]
1037 /// CHECK-DAG: <<Arg:z\d+>> ParameterValue
1038 /// CHECK-DAG: Return [<<Arg>>]
1040 public static boolean NegateValue(boolean arg) {
1041 return !arg;
1044 public static boolean NotNotBool(boolean arg) {
1045 return !(NegateValue(arg));
1049 /// CHECK-DAG: <<Arg:f\d+>> ParameterValue
1051 /// CHECK-DAG: <<Div:f\d+>> Div [<<Arg>>,<<Const2>>]
1055 /// CHECK-DAG: <<Arg:f\d+>> ParameterValue
1057 /// CHECK-DAG: <<Mul:f\d+>> Mul [<<Arg>>,<<ConstP5>>]
1063 public static float Div2(float arg) {
1064 return arg / 2.0f;
1068 /// CHECK-DAG: <<Arg:d\d+>> ParameterValue
1070 /// CHECK-DAG: <<Div:d\d+>> Div [<<Arg>>,<<Const2>>]
1074 /// CHECK-DAG: <<Arg:d\d+>> ParameterValue
1076 /// CHECK-DAG: <<Mul:d\d+>> Mul [<<Arg>>,<<ConstP5>>]
1081 public static double Div2(double arg) {
1082 return arg / 2.0;
1086 /// CHECK-DAG: <<Arg:f\d+>> ParameterValue
1088 /// CHECK-DAG: <<Div:f\d+>> Div [<<Arg>>,<<ConstMP25>>]
1092 /// CHECK-DAG: <<Arg:f\d+>> ParameterValue
1094 /// CHECK-DAG: <<Mul:f\d+>> Mul [<<Arg>>,<<ConstM4>>]
1100 public static float DivMP25(float arg) {
1101 return arg / -0.25f;
1105 /// CHECK-DAG: <<Arg:d\d+>> ParameterValue
1107 /// CHECK-DAG: <<Div:d\d+>> Div [<<Arg>>,<<ConstMP25>>]
1111 /// CHECK-DAG: <<Arg:d\d+>> ParameterValue
1113 /// CHECK-DAG: <<Mul:d\d+>> Mul [<<Arg>>,<<ConstM4>>]
1118 public static double DivMP25(double arg) {
1119 return arg / -0.25f;
1127 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
1129 /// CHECK: Mul [<<Arg>>,<<Const9>>]
1132 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
1134 /// CHECK: <<Shift:i\d+>> Shl [<<Arg>>,<<Const3>>]
1135 /// CHECK-NEXT: Add [<<Arg>>,<<Shift>>]
1137 public static int mulPow2Plus1(int arg) {
1138 return arg * 9;
1146 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
1148 /// CHECK: Mul [<<Const31>>,<<Arg>>]
1151 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
1153 /// CHECK: <<Shift:j\d+>> Shl [<<Arg>>,<<Const5>>]
1154 /// CHECK-NEXT: Sub [<<Shift>>,<<Arg>>]
1156 public static long mulPow2Minus1(long arg) {
1157 return arg * 31;
1201 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
1207 /// CHECK-DAG: <<LE:z\d+>> LessThanOrEqual [<<Arg>>,<<Const42>>]
1214 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
1219 /// CHECK-DAG: <<LE>> LessThanOrEqual [<<Arg>>,<<Const42>>]
1229 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
1235 /// CHECK-DAG: <<LE:z\d+>> LessThanOrEqual [<<Arg>>,<<Const42>>]
1242 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
1247 /// CHECK-DAG: <<LE>> LessThanOrEqual [<<Arg>>,<<Const42>>]
1262 /// CHECK-DAG: <<Arg:f\d+>> ParameterValue
1266 /// CHECK-DAG: <<LE:z\d+>> LessThanOrEqual [<<Arg>>,<<Const42>>]
1278 /// CHECK-DAG: <<Arg:d\d+>> ParameterValue
1282 /// CHECK-DAG: <<LE:z\d+>> LessThanOrEqual [<<Arg>>,<<Const42>>]
1291 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
1292 /// CHECK-DAG: <<Double:d\d+>> TypeConversion [<<Arg>>]
1297 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
1298 /// CHECK-DAG: Return [<<Arg>>]
1309 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
1310 /// CHECK-DAG: <<Double:d\d+>> TypeConversion [<<Arg>>]
1314 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
1315 /// CHECK-DAG: {{d\d+}} TypeConversion [<<Arg>>]
1330 /// CHECK-DAG: <<Arg:b\d+>> ParameterValue
1331 /// CHECK-DAG: <<Double:d\d+>> TypeConversion [<<Arg>>]
1336 /// CHECK-DAG: <<Arg:b\d+>> ParameterValue
1337 /// CHECK-DAG: Return [<<Arg>>]
1348 /// CHECK-DAG: <<Arg:f\d+>> ParameterValue
1349 /// CHECK-DAG: <<Double:d\d+>> TypeConversion [<<Arg>>]
1354 /// CHECK-DAG: <<Arg:f\d+>> ParameterValue
1355 /// CHECK-DAG: <<Int:i\d+>> TypeConversion [<<Arg>>]
1368 /// CHECK-DAG: <<Arg:f\d+>> ParameterValue
1369 /// CHECK-DAG: <<Double:d\d+>> TypeConversion [<<Arg>>]
1373 /// CHECK-DAG: <<Arg:f\d+>> ParameterValue
1374 /// CHECK-DAG: <<Double:d\d+>> TypeConversion [<<Arg>>]
1386 /// CHECK-DAG: <<Arg:b\d+>> ParameterValue
1387 /// CHECK-DAG: <<Double:d\d+>> TypeConversion [<<Arg>>]
1393 /// CHECK-DAG: <<Arg:b\d+>> ParameterValue
1394 /// CHECK-DAG: Return [<<Arg>>]
1407 /// CHECK-DAG: <<Arg:c\d+>> ParameterValue
1408 /// CHECK-DAG: <<Double:d\d+>> TypeConversion [<<Arg>>]
1414 /// CHECK-DAG: <<Arg:c\d+>> ParameterValue
1415 /// CHECK-DAG: <<Short:s\d+>> TypeConversion [<<Arg>>]
1430 /// CHECK-DAG: <<Arg:f\d+>> ParameterValue
1431 /// CHECK-DAG: <<Int:i\d+>> TypeConversion [<<Arg>>]
1436 /// CHECK-DAG: <<Arg:f\d+>> ParameterValue
1437 /// CHECK-DAG: <<Int:i\d+>> TypeConversion [<<Arg>>]
1447 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
1448 /// CHECK-DAG: <<Float:f\d+>> TypeConversion [<<Arg>>]
1453 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
1454 /// CHECK-DAG: <<Float:f\d+>> TypeConversion [<<Arg>>]
1464 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
1465 /// CHECK-DAG: <<Int:i\d+>> TypeConversion [<<Arg>>]
1470 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
1471 /// CHECK-DAG: <<Int:i\d+>> TypeConversion [<<Arg>>]
1481 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
1482 /// CHECK-DAG: <<Int:i\d+>> TypeConversion [<<Arg>>]
1487 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
1488 /// CHECK-DAG: <<Int:i\d+>> TypeConversion [<<Arg>>]
1498 /// CHECK-DAG: <<Arg:s\d+>> ParameterValue
1499 /// CHECK-DAG: <<Char:c\d+>> TypeConversion [<<Arg>>]
1504 /// CHECK-DAG: <<Arg:s\d+>> ParameterValue
1505 /// CHECK-DAG: Return [<<Arg>>]
1513 /// CHECK-DAG: <<Arg:s\d+>> ParameterValue
1514 /// CHECK-DAG: <<Long:j\d+>> TypeConversion [<<Arg>>]
1519 /// CHECK-DAG: <<Arg:s\d+>> ParameterValue
1520 /// CHECK-DAG: Return [<<Arg>>]
1528 /// CHECK-DAG: <<Arg:s\d+>> ParameterValue
1529 /// CHECK-DAG: <<Char:c\d+>> TypeConversion [<<Arg>>]
1534 /// CHECK-DAG: <<Arg:s\d+>> ParameterValue
1535 /// CHECK-DAG: <<Byte:b\d+>> TypeConversion [<<Arg>>]
1545 /// CHECK-DAG: <<Arg:s\d+>> ParameterValue
1546 /// CHECK-DAG: <<Char:c\d+>> TypeConversion [<<Arg>>]
1550 /// CHECK-DAG: <<Arg:s\d+>> ParameterValue
1551 /// CHECK-DAG: <<Char:c\d+>> TypeConversion [<<Arg>>]
1563 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
1565 /// CHECK-DAG: <<And:j\d+>> And [<<Mask>>,<<Arg>>]
1571 /// CHECK-DAG: <<Arg:j\d+>> ParameterValue
1572 /// CHECK-DAG: <<Byte:b\d+>> TypeConversion [<<Arg>>]
1583 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
1585 /// CHECK-DAG: <<And:i\d+>> And [<<Mask>>,<<Arg>>]
1590 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
1591 /// CHECK-DAG: <<Char:c\d+>> TypeConversion [<<Arg>>]
1603 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
1605 /// CHECK-DAG: <<And:i\d+>> And [<<Mask>>,<<Arg>>]
1610 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
1612 /// CHECK-DAG: <<And:i\d+>> And [<<Mask>>,<<Arg>>]
1622 /// CHECK-DAG: <<Arg:s\d+>> ParameterValue
1624 /// CHECK-DAG: <<And:i\d+>> And [<<Mask>>,<<Arg>>]
1630 /// CHECK-DAG: <<Arg:s\d+>> ParameterValue
1631 /// CHECK-DAG: <<Double:d\d+>> TypeConversion [<<Arg>>]
1640 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
1642 /// CHECK-DAG: <<LE:z\d+>> LessThanOrEqual [<<Const42>>,<<Arg>>]
1645 /// CHECK-DAG: <<Arg:i\d+>> ParameterValue
1647 /// CHECK-DAG: <<GE:z\d+>> GreaterThanOrEqual [<<Arg>>,<<Const42>>]
1678 int arg = 123456;
1680 assertLongEquals(Add0(arg), arg);
1681 assertIntEquals(AndAllOnes(arg), arg);
1682 assertLongEquals(Div1(arg), arg);
1683 assertIntEquals(DivN1(arg), -arg);
1684 assertLongEquals(Mul1(arg), arg);
1685 assertIntEquals(MulN1(arg), -arg);
1686 assertLongEquals(MulPowerOfTwo128(arg), (128 * arg));
1687 assertIntEquals(Or0(arg), arg);
1688 assertLongEquals(OrSame(arg), arg);
1689 assertIntEquals(Shl0(arg), arg);
1690 assertLongEquals(Shr0(arg), arg);
1691 assertLongEquals(Shr64(arg), arg);
1692 assertLongEquals(Sub0(arg), arg);
1693 assertIntEquals(SubAliasNeg(arg), -arg);
1694 assertLongEquals(UShr0(arg), arg);
1695 assertIntEquals(Xor0(arg), arg);
1696 assertIntEquals(XorAllOnes(arg), ~arg);
1697 assertIntEquals(AddNegs1(arg, arg + 1), -(arg + arg + 1));
1698 assertIntEquals(AddNegs2(arg, arg + 1), -(arg + arg + 1));
1699 assertLongEquals(AddNegs3(arg, arg + 1), -(2 * arg + 1));
1700 assertLongEquals(AddNeg1(arg, arg + 1), 1);
1701 assertLongEquals(AddNeg2(arg, arg + 1), -1);
1702 assertLongEquals(NegNeg1(arg), arg);
1703 assertIntEquals(NegNeg2(arg), 0);
1704 assertLongEquals(NegNeg3(arg), arg);
1705 assertIntEquals(NegSub1(arg, arg + 1), 1);
1706 assertIntEquals(NegSub2(arg, arg + 1), 1);
1707 assertLongEquals(NotNot1(arg), arg);
1708 assertIntEquals(NotNot2(arg), -1);
1709 assertIntEquals(SubNeg1(arg, arg + 1), -(arg + arg + 1));
1710 assertIntEquals(SubNeg2(arg, arg + 1), -(arg + arg + 1));
1711 assertLongEquals(SubNeg3(arg, arg + 1), -(2 * arg + 1));