/art/libartbase/base/ |
D | transform_iterator_test.cc | 43 auto add1 = [](const ValueHolder& h) { return h.value + 1; }; in TEST() local 47 using vector_titer = decltype(MakeTransformIterator(input.begin(), add1)); in TEST() 54 using vector_ctiter = decltype(MakeTransformIterator(input.cbegin(), add1)); in TEST() 61 using vector_rtiter = decltype(MakeTransformIterator(input.rbegin(), add1)); in TEST() 68 using vector_crtiter = decltype(MakeTransformIterator(input.crbegin(), add1)); in TEST() 75 std::copy(MakeTransformIterator(input.begin(), add1), in TEST() 76 MakeTransformIterator(input.end(), add1), in TEST() 81 std::copy(MakeTransformIterator(input.cbegin(), add1), in TEST() 82 MakeTransformIterator(input.cend(), add1), in TEST() 87 std::copy(MakeTransformIterator(input.rbegin(), add1), in TEST() [all …]
|
D | transform_array_ref_test.cc | 40 auto add1 = [](const ValueHolder& h) { return h.value + 1; }; in TEST() local 44 auto taref = MakeTransformArrayRef(input, add1); in TEST()
|
D | intrusive_forward_list_test.cc | 724 auto add1 = [](const ValueType& value) { return value.value + 1; }; in ModifyValue() local 725 std::transform(ref.begin(), ref.end(), ref.begin(), add1); in ModifyValue() 726 std::transform(ifl.begin(), ifl.end(), ifl.begin(), add1); in ModifyValue()
|
/art/compiler/optimizing/ |
D | scheduler_test.cc | 101 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, c1, c2); in TestBuildDependencyGraphAndSchedule() local 102 HInstruction* add2 = new (GetAllocator()) HAdd(DataType::Type::kInt32, add1, c2); in TestBuildDependencyGraphAndSchedule() 103 HInstruction* mul = new (GetAllocator()) HMul(DataType::Type::kInt32, add1, add2); in TestBuildDependencyGraphAndSchedule() 105 HInstruction* div = new (GetAllocator()) HDiv(DataType::Type::kInt32, add1, div_check, 0); in TestBuildDependencyGraphAndSchedule() 107 new (GetAllocator()) HArrayGet(array, add1, DataType::Type::kInt32, 0); in TestBuildDependencyGraphAndSchedule() 109 new (GetAllocator()) HArraySet(array, add1, add2, DataType::Type::kInt32, 0); in TestBuildDependencyGraphAndSchedule() 111 new (GetAllocator()) HArrayGet(array, add1, DataType::Type::kInt32, 0); in TestBuildDependencyGraphAndSchedule() 113 new (GetAllocator()) HArraySet(array, add1, add2, DataType::Type::kInt32, 0); in TestBuildDependencyGraphAndSchedule() 119 HInstruction* block_instructions[] = {add1, in TestBuildDependencyGraphAndSchedule() 150 ASSERT_FALSE(scheduling_graph.HasImmediateDataDependency(add1, c1)); in TestBuildDependencyGraphAndSchedule() [all …]
|
D | induction_var_analysis_test.cc | 410 HInstruction* add1 = InsertInstruction( in TEST_F() local 415 new (GetAllocator()) HAdd(DataType::Type::kInt32, add1, add2), 0); in TEST_F() 419 EXPECT_STREQ("(((1) + (1)) * i + (0)):Int32", GetInductionInfo(add1, 0).c_str()); in TEST_F() 510 HInstruction* add1 = InsertInstruction( in TEST_F() local 513 new (GetAllocator()) HAdd(DataType::Type::kInt32, add1, k_header), 0); in TEST_F() 523 GetInductionInfo(add1, 0).c_str()); in TEST_F() 565 HInstruction* add1 = InsertInstruction( in TEST_F() local 583 EXPECT_STREQ("geo((1) * 2 ^ i + (1)):Int32", GetInductionInfo(add1, 0).c_str()); in TEST_F()
|
D | load_store_analysis_test.cc | 206 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, index, c1); in TEST_F() local 216 new (GetAllocator()) HArraySet(array, add1, c0, DataType::Type::kInt32, 0); in TEST_F() 229 entry->AddInstruction(add1); in TEST_F()
|