Lines Matching refs:EvalTripCount
1010 auto EvalTripCount = [&](int64_t Start, int64_t Stop, int64_t Step, in TEST_F() local
1027 ASSERT_EQ(EvalTripCount(0, 0, 1, false, false), 0); in TEST_F()
1028 ASSERT_EQ(EvalTripCount(0, 1, 2, false, false), 1); in TEST_F()
1029 ASSERT_EQ(EvalTripCount(0, 42, 1, false, false), 42); in TEST_F()
1030 ASSERT_EQ(EvalTripCount(0, 42, 2, false, false), 21); in TEST_F()
1031 ASSERT_EQ(EvalTripCount(21, 42, 1, false, false), 21); in TEST_F()
1032 ASSERT_EQ(EvalTripCount(0, 5, 5, false, false), 1); in TEST_F()
1033 ASSERT_EQ(EvalTripCount(0, 9, 5, false, false), 2); in TEST_F()
1034 ASSERT_EQ(EvalTripCount(0, 11, 5, false, false), 3); in TEST_F()
1035 ASSERT_EQ(EvalTripCount(0, 0xFFFF, 1, false, false), 0xFFFF); in TEST_F()
1036 ASSERT_EQ(EvalTripCount(0xFFFF, 0, 1, false, false), 0); in TEST_F()
1037 ASSERT_EQ(EvalTripCount(0xFFFE, 0xFFFF, 1, false, false), 1); in TEST_F()
1038 ASSERT_EQ(EvalTripCount(0, 0xFFFF, 0x100, false, false), 0x100); in TEST_F()
1039 ASSERT_EQ(EvalTripCount(0, 0xFFFF, 0xFFFF, false, false), 1); in TEST_F()
1041 ASSERT_EQ(EvalTripCount(0, 6, 5, false, false), 2); in TEST_F()
1042 ASSERT_EQ(EvalTripCount(0, 0xFFFF, 0xFFFE, false, false), 2); in TEST_F()
1043 ASSERT_EQ(EvalTripCount(0, 0, 1, false, true), 1); in TEST_F()
1044 ASSERT_EQ(EvalTripCount(0, 0, 0xFFFF, false, true), 1); in TEST_F()
1045 ASSERT_EQ(EvalTripCount(0, 0xFFFE, 1, false, true), 0xFFFF); in TEST_F()
1046 ASSERT_EQ(EvalTripCount(0, 0xFFFE, 2, false, true), 0x8000); in TEST_F()
1048 ASSERT_EQ(EvalTripCount(0, 0, -1, true, false), 0); in TEST_F()
1049 ASSERT_EQ(EvalTripCount(0, 1, -1, true, true), 0); in TEST_F()
1050 ASSERT_EQ(EvalTripCount(20, 5, -5, true, false), 3); in TEST_F()
1051 ASSERT_EQ(EvalTripCount(20, 5, -5, true, true), 4); in TEST_F()
1052 ASSERT_EQ(EvalTripCount(-4, -2, 2, true, false), 1); in TEST_F()
1053 ASSERT_EQ(EvalTripCount(-4, -3, 2, true, false), 1); in TEST_F()
1054 ASSERT_EQ(EvalTripCount(-4, -2, 2, true, true), 2); in TEST_F()
1056 ASSERT_EQ(EvalTripCount(INT16_MIN, 0, 1, true, false), 0x8000); in TEST_F()
1057 ASSERT_EQ(EvalTripCount(INT16_MIN, 0, 1, true, true), 0x8001); in TEST_F()
1058 ASSERT_EQ(EvalTripCount(INT16_MIN, 0x7FFF, 1, true, false), 0xFFFF); in TEST_F()
1059 ASSERT_EQ(EvalTripCount(INT16_MIN + 1, 0x7FFF, 1, true, true), 0xFFFF); in TEST_F()
1060 ASSERT_EQ(EvalTripCount(INT16_MIN, 0, 0x7FFF, true, false), 2); in TEST_F()
1061 ASSERT_EQ(EvalTripCount(0x7FFF, 0, -1, true, false), 0x7FFF); in TEST_F()
1062 ASSERT_EQ(EvalTripCount(0, INT16_MIN, -1, true, false), 0x8000); in TEST_F()
1063 ASSERT_EQ(EvalTripCount(0, INT16_MIN, -16, true, false), 0x800); in TEST_F()
1064 ASSERT_EQ(EvalTripCount(0x7FFF, INT16_MIN, -1, true, false), 0xFFFF); in TEST_F()
1065 ASSERT_EQ(EvalTripCount(0x7FFF, 1, INT16_MIN, true, false), 1); in TEST_F()
1066 ASSERT_EQ(EvalTripCount(0x7FFF, -1, INT16_MIN, true, true), 2); in TEST_F()