| /llvm-project-15.0.7/mlir/unittests/Interfaces/ |
| H A D | ControlFlowInterfacesTest.cpp | 132 Operation *op1 = &testOp->getRegion(0).front().front(); in TEST() 133 Operation *op2 = &testOp->getRegion(1).front().front(); in TEST() 153 Operation *op1 = &testOp->getRegion(0).front().front(); in TEST() 154 Operation *op2 = &testOp->getRegion(1).front().front(); in TEST() 174 Operation *op1 = &testOp->getRegion(0).front().front(); in TEST() 175 Operation *op2 = &testOp->getRegion(1).front().front(); in TEST() 202 &testOp->getRegion(0).front().front().getRegion(0).front().front(); in TEST() 203 Operation *op2 = &testOp->getRegion(1).front().front(); in TEST() 205 &testOp->getRegion(0).front().front().getRegion(1).front().front(); in TEST() 228 Operation *op1 = &testOp->getRegion(0).front().front(); in TEST() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/list/list.modifiers/ |
| H A D | emplace_front.pass.cpp | 44 assert(&r1 == &c.front()); in main() 45 assert(c.front().geti() == 2); in main() 46 assert(c.front().getd() == 3.5); in main() 49 assert(&r2 == &c.front()); in main() 53 assert(c.front().geti() == 2); in main() 58 assert(c.front().geti() == 3); in main() 69 assert(&r1 == &c.front()); in main() 70 assert(c.front().geti() == 2); in main() 74 assert(&r2 == &c.front()); in main() 78 assert(c.front().geti() == 2); in main() [all …]
|
| H A D | emplace_back.pass.cpp | 45 assert(c.front().geti() == 2); in main() 46 assert(c.front().getd() == 3.5); in main() 53 assert(c.front().geti() == 2); in main() 54 assert(c.front().getd() == 3.5); in main() 58 assert(c.front().geti() == 2); in main() 59 assert(c.front().getd() == 3.5); in main() 69 assert(c.front().geti() == 2); in main() 70 assert(c.front().getd() == 3.5); in main() 77 assert(c.front().geti() == 2); in main() 78 assert(c.front().getd() == 3.5); in main() [all …]
|
| H A D | emplace.pass.cpp | 43 assert(c.front().geti() == 2); in main() 44 assert(c.front().getd() == 3.5); in main() 47 assert(c.front().geti() == 2); in main() 48 assert(c.front().getd() == 3.5); in main() 56 assert(c.front().geti() == 2); in main() 57 assert(c.front().getd() == 3.5); in main() 60 assert(c.front().geti() == 2); in main() 61 assert(c.front().getd() == 3.5); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.modifiers/ |
| H A D | emplace_back.pass.cpp | 65 assert(c.front().geti() == 2); in tests() 66 assert(c.front().getd() == 3.5); in tests() 74 assert(c.front().geti() == 2); in tests() 80 assert(c.front().geti() == 2); in tests() 92 assert(c.front().geti() == 2); in tests() 101 assert(c.front().geti() == 2); in tests() 107 assert(c.front().geti() == 2); in tests() 119 assert(c.front().geti() == 2); in tests() 128 assert(c.front().geti() == 2); in tests() 134 assert(c.front().geti() == 2); in tests() [all …]
|
| H A D | emplace.pass.cpp | 62 assert(c.front().geti() == 2); in tests() 63 assert(c.front().getd() == 3.5); in tests() 68 assert(c.front().geti() == 2); in tests() 69 assert(c.front().getd() == 3.5); in tests() 76 assert(c.front().geti() == 2); in tests() 89 assert(c.front().geti() == 2); in tests() 95 assert(c.front().geti() == 2); in tests() 103 assert(c.front().geti() == 2); in tests() 116 assert(c.front().geti() == 2); in tests() 121 assert(c.front().geti() == 2); in tests() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/forwardlist/forwardlist.modifiers/ |
| H A D | emplace_front.pass.cpp | 32 assert(c.front() == Emplaceable()); in main() 33 assert(&r1 == &c.front()); in main() 36 assert(c.front() == Emplaceable(1, 2.5)); in main() 37 assert(&r2 == &c.front()); in main() 40 assert(c.front() == Emplaceable()); in main() 43 assert(c.front() == Emplaceable(1, 2.5)); in main() 54 assert(c.front() == Emplaceable()); in main() 55 assert(&r1 == &c.front()); in main() 58 assert(c.front() == Emplaceable(1, 2.5)); in main() 59 assert(&r2 == &c.front()); in main() [all …]
|
| H A D | insert_after_rv.pass.cpp | 31 assert(c.front() == 0); in main() 32 assert(c.front() == 0); in main() 37 assert(c.front() == 0); in main() 43 assert(c.front() == 0); in main() 50 assert(c.front() == 0); in main() 63 assert(c.front() == 0); in main() 64 assert(c.front() == 0); in main() 69 assert(c.front() == 0); in main() 75 assert(c.front() == 0); in main() 82 assert(c.front() == 0); in main()
|
| H A D | insert_after_const.pass.cpp | 28 assert(c.front() == 0); in main() 29 assert(c.front() == 0); in main() 34 assert(c.front() == 0); in main() 40 assert(c.front() == 0); in main() 47 assert(c.front() == 0); in main() 61 assert(c.front() == 0); in main() 62 assert(c.front() == 0); in main() 67 assert(c.front() == 0); in main() 73 assert(c.front() == 0); in main() 80 assert(c.front() == 0); in main()
|
| H A D | emplace_after.pass.cpp | 32 assert(c.front() == Emplaceable()); in main() 37 assert(c.front() == Emplaceable()); in main() 43 assert(c.front() == Emplaceable()); in main() 50 assert(c.front() == Emplaceable()); in main() 63 assert(c.front() == Emplaceable()); in main() 68 assert(c.front() == Emplaceable()); in main() 74 assert(c.front() == Emplaceable()); in main() 81 assert(c.front() == Emplaceable()); in main()
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/Utils/ |
| H A D | CallPromotionUtilsTest.cpp | 58 Instruction *Inst = &F->front().front(); in TEST() 61 Inst = &*++F->front().rbegin(); in TEST() 91 Instruction *Inst = &F->front().front(); in TEST() 192 Instruction *Inst = &F->front().front(); in TEST() 195 Inst = &*++F->front().rbegin(); in TEST() 234 Instruction *Inst = &F->front().front(); in TEST() 237 Inst = &*++F->front().rbegin(); in TEST() 293 Instruction *Inst = &F->front().front(); in TEST() 296 Inst = &*++F->front().rbegin(); in TEST() 311 Inst = &F->front().front(); in TEST() [all …]
|
| H A D | IntegerDivisionTest.cpp | 41 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SDiv); in TEST() 46 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr); in TEST() 71 EXPECT_TRUE(BB->front().getOpcode() == Instruction::UDiv); in TEST() 76 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp); in TEST() 101 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SRem); in TEST() 106 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr); in TEST() 131 EXPECT_TRUE(BB->front().getOpcode() == Instruction::URem); in TEST() 136 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp); in TEST() 162 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SDiv); in TEST() 167 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr); in TEST() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector.bool/ |
| H A D | emplace_back.pass.cpp | 30 assert(c.front() == false); in tests() 32 assert(c.front() == true); in tests() 36 assert(c.front() == false); in tests() 44 assert(c.front() == false); in tests() 47 assert(c.front() == false); in tests() 52 assert(c.front() == false); in tests() 64 assert(c.front() == false); in tests() 66 assert(c.front() == true); in tests() 70 assert(c.front() == false); in tests() 78 assert(c.front() == false); in tests() [all …]
|
| H A D | emplace.pass.cpp | 29 assert(c.front() == false); in tests() 34 assert(c.front() == false); in tests() 40 assert(c.front() == false); in tests() 51 assert(c.front() == false); in tests() 56 assert(c.front() == false); in tests() 63 assert(c.front() == false); in tests()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | list_test.cpp | 80 EXPECT_EQ(L.front(), X); in testListCommon() 88 EXPECT_EQ(L.front(), X); in testListCommon() 97 EXPECT_EQ(L.front(), Z); in testListCommon() 103 EXPECT_EQ(L.front(), Y); in testListCommon() 114 EXPECT_EQ(L.front(), X); in testListCommon() 120 EXPECT_EQ(L.front(), Y); in testListCommon() 142 EXPECT_EQ(L.front(), X); in TEST() 147 EXPECT_EQ(L.front(), X); in TEST() 188 EXPECT_EQ(L.front(), X); in TEST() 193 EXPECT_EQ(L.front(), X); in TEST() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.access/ |
| H A D | front.pass.cpp | 25 ASSERT_SAME_TYPE(decltype( s.front()), typename S::reference); in test() 26 ASSERT_SAME_TYPE(decltype(cs.front()), typename S::const_reference); in test() 27 LIBCPP_ASSERT_NOEXCEPT( s.front()); in test() 28 LIBCPP_ASSERT_NOEXCEPT( cs.front()); in test() 29 assert(&cs.front() == &cs[0]); in test() 30 assert(&s.front() == &s[0]); in test() 31 s.front() = typename S::value_type('z'); in test() 32 assert(s.front() == typename S::value_type('z')); in test()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_list_test.cpp | 36 CHECK_EQ(l->front(), i1); in CheckList() 80 CHECK_EQ(l.front(), x); in TEST() 88 CHECK_EQ(l.front(), x); in TEST() 97 CHECK_EQ(l.front(), z); in TEST() 103 CHECK_EQ(l.front(), y); in TEST() 114 CHECK_EQ(l.front(), x); in TEST() 120 CHECK_EQ(l.front(), y); in TEST() 132 CHECK_EQ(l.front(), x); in TEST() 137 CHECK_EQ(l.front(), x); in TEST() 180 CHECK_EQ(l.front(), &i); in TEST() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.capacity/ |
| H A D | access.pass.cpp | 59 LIBCPP_ASSERT_NOEXCEPT( c.front()); in main() 60 ASSERT_SAME_TYPE(decltype(c.front()), C::reference); in main() 67 assert(c.front() == 0); in main() 75 LIBCPP_ASSERT_NOEXCEPT( c.front()); in main() 76 ASSERT_SAME_TYPE(decltype(c.front()), C::const_reference); in main() 83 assert(c.front() == 0); in main() 92 LIBCPP_ASSERT_NOEXCEPT( c.front()); in main() 93 ASSERT_SAME_TYPE(decltype(c.front()), C::reference); in main() 100 assert(c.front() == 0); in main() 108 LIBCPP_ASSERT_NOEXCEPT( c.front()); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/forwardlist/forwardlist.access/ |
| H A D | front.pass.cpp | 28 assert(c.front() == 0); in main() 29 c.front() = 10; in main() 30 assert(c.front() == 10); in main() 38 assert(c.front() == 0); in main() 47 assert(c.front() == 0); in main() 48 c.front() = 10; in main() 49 assert(c.front() == 10); in main() 57 assert(c.front() == 0); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/array/ |
| H A D | front_back_const.pass.cpp | 25 C::const_reference r1 = c.front(); in tests() 37 ASSERT_SAME_TYPE(decltype(c.front()), C::const_reference); in tests() 38 LIBCPP_ASSERT_NOEXCEPT(c.front()); in tests() 40 TEST_IGNORE_NODISCARD c.front(); in tests() 50 ASSERT_SAME_TYPE(decltype(c.front()), C::const_reference); in tests() 51 LIBCPP_ASSERT_NOEXCEPT(c.front()); in tests() 53 TEST_IGNORE_NODISCARD c.front(); in tests()
|
| H A D | front_back.pass.cpp | 26 C::reference r1 = c.front(); in tests() 42 ASSERT_SAME_TYPE(decltype(c.front()), C::reference); in tests() 43 LIBCPP_ASSERT_NOEXCEPT(c.front()); in tests() 45 TEST_IGNORE_NODISCARD c.front(); in tests() 55 ASSERT_SAME_TYPE(decltype( c.front()), C::reference); in tests() 56 LIBCPP_ASSERT_NOEXCEPT( c.front()); in tests() 58 TEST_IGNORE_NODISCARD c.front(); in tests()
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | IListTest.cpp | 69 EXPECT_EQ(0, L3.front().Value); in TEST() 84 EXPECT_EQ(1, List.front().Value); in TEST() 92 EXPECT_EQ(1, List.front().Value); in TEST() 103 EXPECT_EQ(0, L.front().Value); in TEST() 107 EXPECT_EQ(1, L.front().Value); in TEST() 119 EXPECT_EQ(0, L.front().Value); in TEST() 123 EXPECT_EQ(1, L.front().Value); in TEST() 241 ASSERT_EQ(&N, &L1.front()); in TEST() 246 ASSERT_EQ(&N, &L2.front()); in TEST() 266 ASSERT_EQ(&N1, &L1.front()); in TEST() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | SemanticHighlightingTests.cpp | 1022 EXPECT_EQ(1u, Diff.front().startToken); in TEST() 1023 EXPECT_EQ(2u, Diff.front().deleteTokens); in TEST() 1024 ASSERT_THAT(Diff.front().tokens, SizeIs(3)); in TEST() 1026 EXPECT_EQ(0u, Diff.front().tokens[0].deltaLine); in TEST() 1027 EXPECT_EQ(4u, Diff.front().tokens[0].deltaStart); in TEST() 1028 EXPECT_EQ(5u, Diff.front().tokens[0].length); in TEST() 1030 EXPECT_EQ(0u, Diff.front().tokens[1].deltaLine); in TEST() 1031 EXPECT_EQ(6u, Diff.front().tokens[1].deltaStart); in TEST() 1032 EXPECT_EQ(5u, Diff.front().tokens[1].length); in TEST() 1034 EXPECT_EQ(0u, Diff.front().tokens[2].deltaLine); in TEST() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/strings/string.view/string.view.access/ |
| H A D | front.pass.cpp | 24 ASSERT_SAME_TYPE(decltype(sv.front()), typename SV::const_reference); in test() 25 LIBCPP_ASSERT_NOEXCEPT( sv.front()); in test() 27 assert ( sv.front() == s[0] ); in test() 28 return &sv.front() == s; in test() 50 static_assert ( sv.front() == 'A', "" ); in main()
|
| /llvm-project-15.0.7/libcxx/test/libcxx/containers/sequences/array/array.zero/ |
| H A D | assert.front.pass.cpp | 25 TEST_LIBCPP_ASSERT_FAILURE(c.front(), "cannot call array<T, 0>::front() on a zero-sized array"); in main() 26 … TEST_LIBCPP_ASSERT_FAILURE(cc.front(), "cannot call array<T, 0>::front() on a zero-sized array"); in main() 32 TEST_LIBCPP_ASSERT_FAILURE(c.front(), "cannot call array<T, 0>::front() on a zero-sized array"); in main() 33 … TEST_LIBCPP_ASSERT_FAILURE(cc.front(), "cannot call array<T, 0>::front() on a zero-sized array"); in main()
|