/art/compiler/optimizing/ |
D | load_store_analysis_test.cc | 50 graph_->GetDexFile(), dex::TypeIndex(1), 1, DataType::Type::kInt32); in TEST_F() 54 HInstruction* array_get1 = new (GetAllocator()) HArrayGet(array, c1, DataType::Type::kInt32, 0); in TEST_F() 55 HInstruction* array_get2 = new (GetAllocator()) HArrayGet(array, c2, DataType::Type::kInt32, 0); in TEST_F() 57 new (GetAllocator()) HArraySet(array, c1, c3, DataType::Type::kInt32, 0); in TEST_F() 59 new (GetAllocator()) HArraySet(array, index, c3, DataType::Type::kInt32, 0); in TEST_F() 81 DataType::Type type = DataType::Type::kInt32; in TEST_F() 133 DataType::Type::kInt32, in TEST_F() 142 DataType::Type::kInt32, in TEST_F() 151 DataType::Type::kInt32, in TEST_F() 201 graph_->GetDexFile(), dex::TypeIndex(1), 1, DataType::Type::kInt32); in TEST_F() [all …]
|
D | induction_var_analysis_test.cc | 109 basic_[d] = new (GetAllocator()) HPhi(GetAllocator(), d, 0, DataType::Type::kInt32); in BuildLoopNest() 115 increment_[d] = new (GetAllocator()) HAdd(DataType::Type::kInt32, basic_[d], constant1_); in BuildLoopNest() 142 HPhi* select_phi = new (GetAllocator()) HPhi(GetAllocator(), -1, 0, DataType::Type::kInt32); in BuildIf() 155 HPhi* phi = new (GetAllocator()) HPhi(GetAllocator(), vreg, 0, DataType::Type::kInt32); in InsertLoopPhi() 285 new (GetAllocator()) HAdd(DataType::Type::kInt32, constant100_, basic_[0]), 0); in TEST_F() 287 new (GetAllocator()) HSub(DataType::Type::kInt32, constant100_, basic_[0]), 0); in TEST_F() 289 new (GetAllocator()) HMul(DataType::Type::kInt32, constant100_, basic_[0]), 0); in TEST_F() 291 new (GetAllocator()) HShl(DataType::Type::kInt32, basic_[0], constant1_), 0); in TEST_F() 293 new (GetAllocator()) HNeg(DataType::Type::kInt32, basic_[0]), 0); in TEST_F() 317 new (GetAllocator()) HAdd(DataType::Type::kInt32, k_header, constant100_), 0); in TEST_F() [all …]
|
D | nodes_vector_test.cc | 56 DataType::Type::kInt32); in BuildGraph() 134 HVecReplicateScalar(GetAllocator(), int32_parameter_, DataType::Type::kInt32, 4, kNoDexPc); in TEST_F() 136 HVecReplicateScalar(GetAllocator(), int32_parameter_, DataType::Type::kInt32, 4, kNoDexPc); in TEST_F() 138 HVecReplicateScalar(GetAllocator(), int32_parameter_, DataType::Type::kInt32, 2, kNoDexPc); in TEST_F() 146 DataType::Type::kInt32, in TEST_F() 147 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F() 177 EXPECT_EQ(DataType::Type::kInt32, v0->GetPackedType()); in TEST_F() 178 EXPECT_EQ(DataType::Type::kInt32, v1->GetPackedType()); in TEST_F() 179 EXPECT_EQ(DataType::Type::kInt32, v2->GetPackedType()); in TEST_F() 181 EXPECT_EQ(DataType::Type::kInt32, v4->GetPackedType()); in TEST_F() [all …]
|
D | scheduler_test.cc | 101 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, c1, c2); in TestBuildDependencyGraphAndSchedule() 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() 213 DataType::Type::kInt32); in TestDependencyGraphOnAliasingArrayAccesses() 217 DataType::Type::kInt32); in TestDependencyGraphOnAliasingArrayAccesses() [all …]
|
D | bounds_check_elimination_test.cc | 73 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); // i in TEST_F() 95 null_check, bounds_check2, constant_1, DataType::Type::kInt32, 0); in TEST_F() 119 null_check, bounds_check4, constant_1, DataType::Type::kInt32, 0); in TEST_F() 132 null_check, bounds_check5, constant_1, DataType::Type::kInt32, 0); in TEST_F() 170 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); // i in TEST_F() 189 new (GetAllocator()) HAdd(DataType::Type::kInt32, parameter2, constant_max_int); in TEST_F() 205 null_check, bounds_check, constant_1, DataType::Type::kInt32, 0); in TEST_F() 235 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); // i in TEST_F() 258 new (GetAllocator()) HSub(DataType::Type::kInt32, parameter2, constant_max_int); in TEST_F() 259 HInstruction* sub2 = new (GetAllocator()) HSub(DataType::Type::kInt32, sub1, constant_max_int); in TEST_F() [all …]
|
D | data_type.h | 38 kInt32, enumerator 61 case Type::kInt32: in SizeShift() 88 case Type::kInt32: in Size() 117 case Type::kInt32: in IsIntegralType() 127 return type == Type::kInt32 || type == Type::kInt64; in IsIntOrLongType() 148 case Type::kInt32: in Kind() 149 return Type::kInt32; in Kind() 172 case Type::kInt32: in MinValueOfIntegralType() 198 case Type::kInt32: in MaxValueOfIntegralType() 226 return Type::kInt32; in ToSigned() [all …]
|
D | parallel_move_test.cc | 162 DataType::Type::kInt32, in BuildParallelMove() 268 DataType::Type::kInt32, in TYPED_TEST() 273 DataType::Type::kInt32, in TYPED_TEST() 289 DataType::Type::kInt32, in TYPED_TEST() 311 DataType::Type::kInt32, in TYPED_TEST() 328 DataType::Type::kInt32, in TYPED_TEST() 343 DataType::Type::kInt32, in TYPED_TEST() 348 DataType::Type::kInt32, in TYPED_TEST() 369 DataType::Type::kInt32, in TYPED_TEST() 379 DataType::Type::kInt32, in TYPED_TEST() [all …]
|
D | ssa_liveness_analysis_test.cc | 59 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); in TEST_F() 81 graph_->GetDexFile(), dex::TypeIndex(1), 1, DataType::Type::kInt32); in TEST_F() 83 graph_->GetDexFile(), dex::TypeIndex(2), 2, DataType::Type::kInt32); in TEST_F() 85 graph_->GetDexFile(), dex::TypeIndex(3), 3, DataType::Type::kInt32); in TEST_F() 115 new (GetAllocator()) HArraySet(array, index, value, DataType::Type::kInt32, /* dex_pc= */ 0); in TEST_F() 150 graph_->GetDexFile(), dex::TypeIndex(1), 1, DataType::Type::kInt32); in TEST_F() 152 graph_->GetDexFile(), dex::TypeIndex(2), 2, DataType::Type::kInt32); in TEST_F() 154 graph_->GetDexFile(), dex::TypeIndex(3), 3, DataType::Type::kInt32); in TEST_F() 188 new (GetAllocator()) HArraySet(array, index, value, DataType::Type::kInt32, /* dex_pc= */ 0); in TEST_F()
|
D | side_effects_test.cc | 31 DataType::Type::kInt32, 128 SideEffects::FieldWriteOfType(DataType::Type::kInt32, false), in TEST() 131 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST() 135 SideEffects::FieldWriteOfType(DataType::Type::kInt32, false), in TEST() 138 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST() 144 SideEffects::FieldWriteOfType(DataType::Type::kInt32, /* is_volatile= */ true); in TEST() 146 SideEffects::FieldWriteOfType(DataType::Type::kInt32, /* is_volatile= */ false); in TEST() 166 SideEffects::FieldWriteOfType(DataType::Type::kInt32, /* is_volatile= */ false), in TEST() 169 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST() 255 SideEffects::ArrayReadOfType(DataType::Type::kInt32).ToString().c_str()); in TEST() [all …]
|
D | select_generator_test.cc | 33 DataType::Type::kInt32)); in CreateParameters() 67 HPhi* phi = new (GetAllocator()) HPhi(GetAllocator(), 0, 0, DataType::Type::kInt32); in ConstructBasicGraphForSelect() 99 HAdd* instr = new (GetAllocator()) HAdd(DataType::Type::kInt32, in TEST_F()
|
D | code_generator_vector_arm_vixl.cc | 44 case DataType::Type::kInt32: in VisitVecReplicateScalar() 69 case DataType::Type::kInt32: in VisitVecReplicateScalar() 82 case DataType::Type::kInt32: in VisitVecExtractScalar() 96 case DataType::Type::kInt32: in VisitVecExtractScalar() 120 case DataType::Type::kInt32: in CreateVecUnOpLocations() 139 case DataType::Type::kInt32: in VisitVecReduce() 186 case DataType::Type::kInt32: in VisitVecNeg() 213 case DataType::Type::kInt32: in VisitVecAbs() 241 case DataType::Type::kInt32: in VisitVecNot() 259 case DataType::Type::kInt32: in CreateVecBinOpLocations() [all …]
|
D | instruction_simplifier_x86.cc | 62 } else if (instruction->GetResultType() == DataType::Type::kInt32) { in VisitAnd() 70 if (instruction->GetResultType() == DataType::Type::kInt32) { in VisitXor()
|
D | loop_optimization_test.cc | 53 DataType::Type::kInt32); in BuildGraph() 219 HPhi* phi = new (GetAllocator()) HPhi(GetAllocator(), 0, 0, DataType::Type::kInt32); in TEST_F() 220 HInstruction* add = new (GetAllocator()) HAdd(DataType::Type::kInt32, phi, parameter_); in TEST_F() 279 HAdd* preheader0_add = new (GetAllocator()) HAdd(DataType::Type::kInt32, parameter_, const_0); in TEST_F() 281 HAdd* preheader1_add = new (GetAllocator()) HAdd(DataType::Type::kInt32, parameter_, const_1); in TEST_F() 284 HPhi* header_phi = new (GetAllocator()) HPhi(GetAllocator(), 0, 0, DataType::Type::kInt32); in TEST_F() 287 HAdd* body_add = new (GetAllocator()) HAdd(DataType::Type::kInt32, parameter_, const_2); in TEST_F()
|
D | data_type-inl.h | 33 case Primitive::kPrimInt: return DataType::Type::kInt32; in DataTypeFromPrimitive() 57 case DataType::Type::kInt32: return 'i'; // Java int (I). in TypeId()
|
D | scheduler_arm.cc | 105 case DataType::Type::kInt32: in VisitRor() 136 case DataType::Type::kInt32: in HandleShiftLatencies() 523 case DataType::Type::kInt32: in VisitCompare() 541 if (instruction->GetResultType() == DataType::Type::kInt32) { in VisitBitwiseNegatedRight() 601 if (instruction->GetType() == DataType::Type::kInt32) { in VisitDataProcWithShifterOp() 643 case DataType::Type::kInt32: { in VisitArrayGet() 744 case DataType::Type::kInt32: { in VisitArraySet() 833 case DataType::Type::kInt32: { in VisitDiv() 896 case DataType::Type::kInt32: { in VisitRem() 928 case DataType::Type::kInt32: in HandleFieldGetLatencies() [all …]
|
D | code_generator_vector_arm64.cc | 59 case DataType::Type::kInt32: in VisitVecReplicateScalar() 105 case DataType::Type::kInt32: in VisitVecReplicateScalar() 151 case DataType::Type::kInt32: in VisitVecExtractScalar() 171 case DataType::Type::kInt32: in VisitVecExtractScalar() 205 case DataType::Type::kInt32: in CreateVecUnOpLocations() 227 case DataType::Type::kInt32: in VisitVecReduce() 268 if (from == DataType::Type::kInt32 && to == DataType::Type::kFloat32) { in VisitVecCnv() 295 case DataType::Type::kInt32: in VisitVecNeg() 334 case DataType::Type::kInt32: in VisitVecAbs() 374 case DataType::Type::kInt32: in VisitVecNot() [all …]
|
D | code_generator_vector_x86_64.cc | 38 case DataType::Type::kInt32: in VisitVecReplicateScalar() 85 case DataType::Type::kInt32: in VisitVecReplicateScalar() 119 case DataType::Type::kInt32: in VisitVecExtractScalar() 146 case DataType::Type::kInt32: in VisitVecExtractScalar() 175 case DataType::Type::kInt32: in CreateVecUnOpLocations() 203 case DataType::Type::kInt32: in VisitVecReduce() 250 if (from == DataType::Type::kInt32 && to == DataType::Type::kFloat32) { in VisitVecCnv() 279 case DataType::Type::kInt32: in VisitVecNeg() 308 if (instruction->GetPackedType() == DataType::Type::kInt32) { in VisitVecAbs() 318 case DataType::Type::kInt32: { in VisitVecAbs() [all …]
|
D | code_generator_vector_x86.cc | 44 case DataType::Type::kInt32: in VisitVecReplicateScalar() 90 case DataType::Type::kInt32: in VisitVecReplicateScalar() 132 case DataType::Type::kInt32: in VisitVecExtractScalar() 158 case DataType::Type::kInt32: in VisitVecExtractScalar() 192 case DataType::Type::kInt32: in CreateVecUnOpLocations() 220 case DataType::Type::kInt32: in VisitVecReduce() 267 if (from == DataType::Type::kInt32 && to == DataType::Type::kFloat32) { in VisitVecCnv() 296 case DataType::Type::kInt32: in VisitVecNeg() 325 if (instruction->GetPackedType() == DataType::Type::kInt32) { in VisitVecAbs() 335 case DataType::Type::kInt32: { in VisitVecAbs() [all …]
|
D | register_allocator_test.cc | 460 LiveInterval::MakeFixedInterval(GetScopedAllocator(), 0, DataType::Type::kInt32); in TEST_F() 464 interval = LiveInterval::MakeFixedInterval(GetScopedAllocator(), 0, DataType::Type::kInt32); in TEST_F() 468 interval = LiveInterval::MakeFixedInterval(GetScopedAllocator(), 0, DataType::Type::kInt32); in TEST_F() 526 *phi = new (GetAllocator()) HPhi(GetAllocator(), 0, 0, DataType::Type::kInt32); in BuildIfElseWithPhi() 530 DataType::Type::kInt32, in BuildIfElseWithPhi() 539 DataType::Type::kInt32, in BuildIfElseWithPhi() 653 DataType::Type::kInt32, in BuildFieldReturn() 720 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); in BuildTwoSubs() 730 *first_sub = new (GetAllocator()) HSub(DataType::Type::kInt32, parameter, constant1); in BuildTwoSubs() 732 *second_sub = new (GetAllocator()) HSub(DataType::Type::kInt32, *first_sub, constant2); in BuildTwoSubs() [all …]
|
D | instruction_builder.cc | 604 HInstruction* first = LoadLocal(instruction.VRegA(), DataType::Type::kInt32); in If_22t() 605 HInstruction* second = LoadLocal(instruction.VRegB(), DataType::Type::kInt32); in If_22t() 614 HInstruction* value = LoadLocal(instruction.VRegA(), DataType::Type::kInt32); in If_21t() 654 HInstruction* second = LoadLocal(instruction.VRegC(), DataType::Type::kInt32); in Binop_23x_shift() 674 HInstruction* second = LoadLocal(instruction.VRegB(), DataType::Type::kInt32); in Binop_12x_shift() 691 HInstruction* first = LoadLocal(instruction.VRegB(), DataType::Type::kInt32); in Binop_22s() 696 AppendInstruction(new (allocator_) T(DataType::Type::kInt32, first, second, dex_pc)); in Binop_22s() 702 HInstruction* first = LoadLocal(instruction.VRegB(), DataType::Type::kInt32); in Binop_22b() 707 AppendInstruction(new (allocator_) T(DataType::Type::kInt32, first, second, dex_pc)); in Binop_22b() 737 HInstruction* value = LoadLocal(instruction.VRegA(), DataType::Type::kInt32); in BuildSwitch() [all …]
|
D | load_store_elimination_test.cc | 46 i_add1_ = new (GetAllocator()) HAdd(DataType::Type::kInt32, i_, c1); in CreateEntryBlockInstructions() 47 i_add4_ = new (GetAllocator()) HAdd(DataType::Type::kInt32, i_, c4); in CreateEntryBlockInstructions() 83 phi_ = new (GetAllocator()) HPhi(GetAllocator(), 0, 0, DataType::Type::kInt32); in CreateTestControlFlowGraph() 93 HInstruction* inc_phi = new (GetAllocator()) HAdd(DataType::Type::kInt32, phi_, c1); in CreateTestControlFlowGraph() 158 DataType::Type::kInt32, in AddVecLoad() 159 SideEffects::ArrayReadOfType(DataType::Type::kInt32), in AddVecLoad() 182 DataType::Type::kInt32, in AddVecStore() 192 DataType::Type::kInt32, in AddVecStore() 193 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in AddVecStore() 207 HInstruction* get = new (GetAllocator()) HArrayGet(array, index, DataType::Type::kInt32, 0); in AddArrayGet() [all …]
|
D | builder.h | 50 DataType::Type return_type = DataType::Type::kInt32);
|
D | data_type_test.cc | 40 CheckConversion<DataType::Type::kInt32, Primitive::kPrimInt>(); in TEST() 69 DataType::Type::kInt32, in TEST()
|
D | induction_var_range_test.cc | 72 DataType::Type::kInt32); in BuildGraph() 77 DataType::Type::kInt32); in BuildGraph() 102 HPhi* phi = new (GetAllocator()) HPhi(GetAllocator(), 0, 0, DataType::Type::kInt32); in BuildLoop() 113 new (GetAllocator()) HAdd(DataType::Type::kInt32, phi, graph_->GetIntConstant(stride)); in BuildLoop() 175 DataType::Type::kInt32); in CreateTripCount() 185 DataType::Type::kInt32); in CreateLinear() 195 DataType::Type::kInt32); in CreatePolynomial() 206 DataType::Type::kInt32); in CreateGeometric() 216 DataType::Type::kInt32); in CreateRange() 228 DataType::Type::kInt32); in CreateWrapAround() [all …]
|
D | licm_test.cc | 133 parameter_, int_constant_, nullptr, DataType::Type::kInt32, MemberOffset(20), in TEST_F() 183 parameter_, int_constant_, DataType::Type::kInt32, 0); in TEST_F()
|