Home
last modified time | relevance | path

Searched refs:EvalTripCount (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/llvm/unittests/Frontend/
DOpenMPIRBuilderTest.cpp1010 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()
[all …]