/art/compiler/optimizing/ |
D | code_generator_x86_64.cc | 654 HConstant* constant = source.GetConstant(); in Move() 671 HConstant* constant = source.GetConstant(); in Move() 698 HConstant* const_to_move = locations->Out().GetConstant(); in Move() 707 DCHECK_EQ(location.GetConstant(), const_to_move); in Move() 718 DCHECK_EQ(location.GetConstant(), const_to_move); in Move() 843 int32_t constant = CodeGenerator::GetInt32ValueOf(rhs.GetConstant()); in GenerateTestAndBranch() 969 int32_t constant = CodeGenerator::GetInt32ValueOf(rhs.GetConstant()); in VisitCondition() 1064 int64_t value = right.GetConstant()->AsLongConstant()->GetValue(); in VisitCompare() 1085 float value = right.GetConstant()->AsFloatConstant()->GetValue(); in VisitCompare() 1098 double value = right.GetConstant()->AsDoubleConstant()->GetValue(); in VisitCompare() [all …]
|
D | constant_folding.cc | 176 instruction->ReplaceWith(GetGraph()->GetConstant(type, 0)); in VisitRem() 209 instruction->ReplaceWith(GetGraph()->GetConstant(type, 0)); in VisitSub() 226 instruction->ReplaceWith(GetGraph()->GetConstant(type, 0)); in VisitXor()
|
D | code_generator_x86.cc | 644 HConstant* constant = source.GetConstant(); in Move32() 695 HConstant* constant = source.GetConstant(); in Move64() 725 HConstant* const_to_move = locations->Out().GetConstant(); in Move() 734 DCHECK_EQ(location.GetConstant(), const_to_move); in Move() 747 DCHECK_EQ(location.GetConstant(), instruction); in Move() 881 int32_t constant = CodeGenerator::GetInt32ValueOf(rhs.GetConstant()); in GenerateTestAndBranch() 1008 int32_t constant = CodeGenerator::GetInt32ValueOf(rhs.GetConstant()); in VisitCondition() 1640 DCHECK(in.GetConstant()->IsIntConstant()); in VisitTypeConversion() 1641 int32_t value = in.GetConstant()->AsIntConstant()->GetValue(); in VisitTypeConversion() 1665 DCHECK(in.GetConstant()->IsIntConstant()); in VisitTypeConversion() [all …]
|
D | bounds_check_elimination.cc | 109 int32_t GetConstant() const { return constant_; } in GetConstant() function in art::ValueBound 560 if (!lower.IsConstant() || lower.GetConstant() == INT_MIN) { in Narrow() 576 upper = upper_bound.GetConstant(); in Narrow() 577 } else if (upper_bound.IsRelatedToArrayLength() && upper_bound.GetConstant() <= 0) { in Narrow() 579 upper = max_array_len + upper_bound.GetConstant(); in Narrow() 610 if ((!upper.IsConstant() || upper.GetConstant() == INT_MAX) && in Narrow() 619 int32_t constant = range->GetLower().GetConstant(); in Narrow() 1207 right_range->GetBound().GetConstant() < 0) { in HandleIfBetweenTwoMonotonicValueRanges() 1423 if (constant < lower.GetConstant()) { in VisitBoundsCheck() 1625 int32_t c1 = lower.GetConstant(); in VisitSub() [all …]
|
D | stack_map_test.cc | 98 ASSERT_EQ(-2, dex_register_map.GetConstant(1, number_of_dex_registers, code_info)); in TEST() 194 ASSERT_EQ(-2, dex_register_map.GetConstant(1, number_of_dex_registers, code_info)); in TEST() 329 ASSERT_EQ(-2, dex_register_map.GetConstant(1, number_of_dex_registers, code_info)); in TEST() 447 ASSERT_EQ(-2, dex_registers0.GetConstant(1, number_of_dex_registers, ci)); in TEST() 453 ASSERT_EQ(-2, dex_registers1.GetConstant(1, number_of_dex_registers, ci)); in TEST() 459 ASSERT_EQ(-2, dex_registers2.GetConstant(1, number_of_dex_registers, ci)); in TEST()
|
D | code_generator_mips64.cc | 607 HConstant* src_cst = source.IsConstant() ? source.GetConstant() : nullptr; in MoveLocation() 646 __ LoadConst32(gpr, GetInt32ValueOf(source.GetConstant()->AsConstant())); in MoveLocation() 648 __ LoadConst64(gpr, GetInt64ValueOf(source.GetConstant()->AsConstant())); in MoveLocation() 696 HConstant* src_cst = source.GetConstant(); in MoveLocation() 1065 rhs_imm = CodeGenerator::GetInt64ValueOf(rhs_location.GetConstant()); in HandleBinaryOp() 1172 rhs_imm = CodeGenerator::GetInt64ValueOf(rhs_location.GetConstant()); in HandleShift() 1276 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_1) + data_offset; in VisitArrayGet() 1290 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_1) + data_offset; in VisitArrayGet() 1304 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_2) + data_offset; in VisitArrayGet() 1319 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_2) + data_offset; in VisitArrayGet() [all …]
|
D | code_generator.cc | 59 if (location.GetConstant()->IsIntConstant()) { in CheckType() 61 } else if (location.GetConstant()->IsNullConstant()) { in CheckType() 63 } else if (location.GetConstant()->IsLongConstant()) { in CheckType() 65 } else if (location.GetConstant()->IsFloatConstant()) { in CheckType() 68 return location.GetConstant()->IsDoubleConstant() in CheckType() 712 DCHECK_EQ(current, location.GetConstant()); in RecordPcInfo()
|
D | code_generator_arm.cc | 810 HConstant* const_to_move = locations->Out().GetConstant(); in Move() 969 HConstant* constant = locations->InAt(1).GetConstant(); in GenerateTestAndBranch() 1049 int32_t value = CodeGenerator::GetInt32ValueOf(locations->InAt(1).GetConstant()); in VisitCondition() 1719 DCHECK(in.GetConstant()->IsLongConstant()); in VisitTypeConversion() 1720 int64_t value = in.GetConstant()->AsLongConstant()->GetValue(); in VisitTypeConversion() 1985 second.GetConstant()->AsIntConstant()->GetValue()); in VisitAdd() 2060 -second.GetConstant()->AsIntConstant()->GetValue()); in VisitSub() 2426 if (value.GetConstant()->AsIntConstant()->GetValue() == 0) { in VisitDivZeroCheck() 2440 if (value.GetConstant()->AsLongConstant()->GetValue() == 0) { in VisitDivZeroCheck() 2503 int32_t cst = second.GetConstant()->AsIntConstant()->GetValue(); in HandleShift() [all …]
|
D | common_arm64.h | 120 HConstant* instr = location.GetConstant(); in Int64ConstantFrom()
|
D | graph_visualizer.cc | 135 HConstant* constant = location.GetConstant(); in DumpLocation()
|
D | intrinsics_x86_64.cc | 1165 Immediate(CodeGenerator::GetInt32ValueOf(value.GetConstant()))); in GenPoke() 1173 Immediate(CodeGenerator::GetInt32ValueOf(value.GetConstant()))); in GenPoke() 1181 Immediate(CodeGenerator::GetInt32ValueOf(value.GetConstant()))); in GenPoke() 1188 int64_t v = value.GetConstant()->AsLongConstant()->GetValue(); in GenPoke()
|
D | locations.h | 103 HConstant* GetConstant() const { in GetConstant() function
|
D | intrinsics_x86.cc | 1245 Immediate(value_loc.GetConstant()->AsIntConstant()->GetValue())); in GenPoke() 1253 Immediate(value_loc.GetConstant()->AsIntConstant()->GetValue())); in GenPoke() 1261 Immediate(value_loc.GetConstant()->AsIntConstant()->GetValue())); in GenPoke() 1268 int64_t value = value_loc.GetConstant()->AsLongConstant()->GetValue(); in GenPoke()
|
D | code_generator_arm64.cc | 718 HConstant* cst = constant.GetConstant(); in CoherentConstantAndType() 740 HConstant* src_cst = source.IsConstant() ? source.GetConstant() : nullptr; in MoveLocation() 763 MoveConstant(dst, source.GetConstant()); in MoveLocation() 788 HConstant* src_cst = source.GetConstant(); in MoveLocation() 1547 HInstruction* right = compare->GetLocations()->InAt(1).GetConstant(); in VisitCompare()
|
D | nodes.cc | 316 HConstant* HGraph::GetConstant(Primitive::Type type, int64_t value) { in GetConstant() function in art::HGraph
|
D | nodes.h | 264 HConstant* GetConstant(Primitive::Type type, int64_t value);
|
/art/runtime/ |
D | stack_map.h | 504 int32_t GetConstant(uint16_t dex_register_number, in GetConstant() function
|
D | stack.cc | 260 *val = dex_register_map.GetConstant(vreg, number_of_dex_registers, code_info); in GetVRegFromOptimizedCode()
|
/art/compiler/dex/ |
D | mir_graph.h | 271 bool GetConstant(int64_t* ptr_value, bool* wide) const;
|
D | mir_graph.cc | 2273 bool MIR::DecodedInstruction::GetConstant(int64_t* ptr_value, bool* wide) const { in GetConstant() function in art::MIR::DecodedInstruction
|