/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() 53 using vector_ctiter = decltype(MakeTransformIterator(input.cbegin(), add1)); in TEST() 59 using vector_rtiter = decltype(MakeTransformIterator(input.rbegin(), add1)); in TEST() 65 using vector_crtiter = decltype(MakeTransformIterator(input.crbegin(), add1)); in TEST() 71 std::copy(MakeTransformIterator(input.begin(), add1), in TEST() 72 MakeTransformIterator(input.end(), add1), in TEST() 77 std::copy(MakeTransformIterator(input.cbegin(), add1), in TEST() 78 MakeTransformIterator(input.cend(), add1), in TEST() 83 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 | 102 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, c1, c2); in TestBuildDependencyGraphAndSchedule() local 103 HInstruction* add2 = new (GetAllocator()) HAdd(DataType::Type::kInt32, add1, c2); in TestBuildDependencyGraphAndSchedule() 104 HInstruction* mul = new (GetAllocator()) HMul(DataType::Type::kInt32, add1, add2); in TestBuildDependencyGraphAndSchedule() 106 HInstruction* div = new (GetAllocator()) HDiv(DataType::Type::kInt32, add1, div_check, 0); in TestBuildDependencyGraphAndSchedule() 108 new (GetAllocator()) HArrayGet(array, add1, DataType::Type::kInt32, 0); in TestBuildDependencyGraphAndSchedule() 110 new (GetAllocator()) HArraySet(array, add1, add2, DataType::Type::kInt32, 0); in TestBuildDependencyGraphAndSchedule() 112 new (GetAllocator()) HArrayGet(array, add1, DataType::Type::kInt32, 0); in TestBuildDependencyGraphAndSchedule() 114 new (GetAllocator()) HArraySet(array, add1, add2, DataType::Type::kInt32, 0); in TestBuildDependencyGraphAndSchedule() 120 HInstruction* block_instructions[] = {add1, in TestBuildDependencyGraphAndSchedule() 151 ASSERT_FALSE(scheduling_graph.HasImmediateDataDependency(add1, c1)); in TestBuildDependencyGraphAndSchedule() [all …]
|
D | induction_var_analysis_test.cc | 411 HInstruction* add1 = InsertInstruction( in TEST_F() local 416 new (GetAllocator()) HAdd(DataType::Type::kInt32, add1, add2), 0); in TEST_F() 420 EXPECT_STREQ("(((1) + (1)) * i + (0)):Int32", GetInductionInfo(add1, 0).c_str()); in TEST_F() 511 HInstruction* add1 = InsertInstruction( in TEST_F() local 514 new (GetAllocator()) HAdd(DataType::Type::kInt32, add1, k_header), 0); in TEST_F() 524 GetInductionInfo(add1, 0).c_str()); in TEST_F() 566 HInstruction* add1 = InsertInstruction( in TEST_F() local 584 EXPECT_STREQ("geo((1) * 2 ^ i + (1)):Int32", GetInductionInfo(add1, 0).c_str()); in TEST_F()
|
D | load_store_analysis_test.cc | 233 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, index, c1); in TEST_F() local 243 new (GetAllocator()) HArraySet(array, add1, c0, DataType::Type::kInt32, 0); in TEST_F() 256 body->AddInstruction(add1); in TEST_F()
|