Lines Matching refs:GetConstant
1265 HConstant* constant = source.GetConstant(); in Move32()
1328 HConstant* constant = source.GetConstant(); in Move64()
1490 int64_t value = right.GetConstant()->AsLongConstant()->GetValue(); in GenerateLongComparesAndJumps()
1550 const_area->GetConstant()->AsDoubleConstant()->GetValue(), in GenerateFPCompare()
1564 const_area->GetConstant()->AsFloatConstant()->GetValue(), in GenerateFPCompare()
2637 DCHECK(in.GetConstant()->IsIntConstant()); in VisitTypeConversion()
2638 int32_t value = in.GetConstant()->AsIntConstant()->GetValue(); in VisitTypeConversion()
2646 DCHECK(in.GetConstant()->IsLongConstant()); in VisitTypeConversion()
2647 int64_t value = in.GetConstant()->AsLongConstant()->GetValue(); in VisitTypeConversion()
2667 DCHECK(in.GetConstant()->IsIntConstant()); in VisitTypeConversion()
2668 int32_t value = in.GetConstant()->AsIntConstant()->GetValue(); in VisitTypeConversion()
2676 DCHECK(in.GetConstant()->IsLongConstant()); in VisitTypeConversion()
2677 int64_t value = in.GetConstant()->AsLongConstant()->GetValue(); in VisitTypeConversion()
2698 DCHECK(in.GetConstant()->IsIntConstant()); in VisitTypeConversion()
2699 int32_t value = in.GetConstant()->AsIntConstant()->GetValue(); in VisitTypeConversion()
2709 DCHECK(in.GetConstant()->IsLongConstant()); in VisitTypeConversion()
2710 int64_t value = in.GetConstant()->AsLongConstant()->GetValue(); in VisitTypeConversion()
2730 DCHECK(in.GetConstant()->IsIntConstant()); in VisitTypeConversion()
2731 int32_t value = in.GetConstant()->AsIntConstant()->GetValue(); in VisitTypeConversion()
2741 DCHECK(in.GetConstant()->IsLongConstant()); in VisitTypeConversion()
2742 int64_t value = in.GetConstant()->AsLongConstant()->GetValue(); in VisitTypeConversion()
2762 DCHECK(in.GetConstant()->IsLongConstant()); in VisitTypeConversion()
2763 int64_t value = in.GetConstant()->AsLongConstant()->GetValue(); in VisitTypeConversion()
3014 int32_t value = second.GetConstant()->AsIntConstant()->GetValue(); in VisitAdd()
3037 int64_t value = second.GetConstant()->AsLongConstant()->GetValue(); in VisitAdd()
3052 const_area->GetConstant()->AsFloatConstant()->GetValue(), in VisitAdd()
3070 const_area->GetConstant()->AsDoubleConstant()->GetValue(), in VisitAdd()
3126 Immediate(second.GetConstant()->AsIntConstant()->GetValue())); in VisitSub()
3143 int64_t value = second.GetConstant()->AsLongConstant()->GetValue(); in VisitSub()
3158 const_area->GetConstant()->AsFloatConstant()->GetValue(), in VisitSub()
3176 const_area->GetConstant()->AsDoubleConstant()->GetValue(), in VisitSub()
3271 DCHECK(second.GetConstant()->IsLongConstant()); in VisitMul()
3273 int64_t value = second.GetConstant()->AsLongConstant()->GetValue(); in VisitMul()
3347 const_area->GetConstant()->AsFloatConstant()->GetValue(), in VisitMul()
3366 const_area->GetConstant()->AsDoubleConstant()->GetValue(), in VisitMul()
3482 DCHECK(locations->InAt(1).GetConstant()->IsIntConstant()); in DivRemOneOrMinusOne()
3486 int32_t imm = locations->InAt(1).GetConstant()->AsIntConstant()->GetValue(); in DivRemOneOrMinusOne()
3507 int32_t imm = Int64FromConstant(second.GetConstant()); in RemByPowerOfTwo()
3527 int32_t imm = locations->InAt(1).GetConstant()->AsIntConstant()->GetValue(); in DivByPowerOfTwo()
3550 int imm = locations->InAt(1).GetConstant()->AsIntConstant()->GetValue(); in GenerateDivRemWithAnyConstant()
3628 int32_t imm = second.GetConstant()->AsIntConstant()->GetValue(); in GenerateDivRemIntegral()
3760 const_area->GetConstant()->AsFloatConstant()->GetValue(), in VisitDiv()
3778 const_area->GetConstant()->AsDoubleConstant()->GetValue(), in VisitDiv()
4198 if (value.GetConstant()->AsIntConstant()->GetValue() == 0) { in VisitDivZeroCheck()
4212 if (value.GetConstant()->AsLongConstant()->GetValue() == 0) { in VisitDivZeroCheck()
4267 int32_t shift = second.GetConstant()->AsIntConstant()->GetValue() & kMaxIntShiftDistance; in HandleShift()
4295 int32_t shift = second.GetConstant()->AsIntConstant()->GetValue() & kMaxLongShiftDistance; in HandleShift()
4452 Immediate imm(second.GetConstant()->AsIntConstant()->GetValue() & kMaxIntShiftDistance); in VisitRor()
4473 int32_t shift_amt = second.GetConstant()->AsIntConstant()->GetValue() & kMaxLongShiftDistance; in VisitRor()
4714 DCHECK(right.GetConstant()->IsLongConstant()); in VisitCompare()
4716 int64_t val = right.GetConstant()->AsLongConstant()->GetValue(); in VisitCompare()
5385 Immediate(CodeGenerator::GetInt16ValueOf(value.GetConstant()))); in HandleFieldSet()
5404 int32_t v = CodeGenerator::GetInt32ValueOf(value.GetConstant()); in HandleFieldSet()
5423 int64_t v = CodeGenerator::GetInt64ValueOf(value.GetConstant()); in HandleFieldSet()
5438 int32_t v = CodeGenerator::GetInt32ValueOf(value.GetConstant()); in HandleFieldSet()
5448 int64_t v = CodeGenerator::GetInt64ValueOf(value.GetConstant()); in HandleFieldSet()
5613 DCHECK(obj.GetConstant()->IsNullConstant()); in GenerateExplicitNullCheck()
5732 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_4) + data_offset; in VisitArrayGet()
5837 __ movb(address, Immediate(CodeGenerator::GetInt8ValueOf(value.GetConstant()))); in VisitArraySet()
5850 __ movw(address, Immediate(CodeGenerator::GetInt16ValueOf(value.GetConstant()))); in VisitArraySet()
5959 int32_t v = CodeGenerator::GetInt32ValueOf(value.GetConstant()); in VisitArraySet()
5976 int64_t val = value.GetConstant()->AsLongConstant()->GetValue(); in VisitArraySet()
5993 int32_t v = bit_cast<int32_t, float>(value.GetConstant()->AsFloatConstant()->GetValue()); in VisitArraySet()
6009 int64_t v = bit_cast<int64_t, double>(value.GetConstant()->AsDoubleConstant()->GetValue()); in VisitArraySet()
6077 int32_t length = CodeGenerator::GetInt32ValueOf(length_loc.GetConstant()); in VisitBoundsCheck()
6080 int32_t index = CodeGenerator::GetInt32ValueOf(index_loc.GetConstant()); in VisitBoundsCheck()
6116 int32_t value = CodeGenerator::GetInt32ValueOf(index_loc.GetConstant()); in VisitBoundsCheck()
6284 HConstant* constant = source.GetConstant(); in EmitMove()
7551 Immediate(second.GetConstant()->AsIntConstant()->GetValue())); in HandleBitwiseOperation()
7554 Immediate(second.GetConstant()->AsIntConstant()->GetValue())); in HandleBitwiseOperation()
7558 Immediate(second.GetConstant()->AsIntConstant()->GetValue())); in HandleBitwiseOperation()
7601 int64_t value = second.GetConstant()->AsLongConstant()->GetValue(); in HandleBitwiseOperation()
8105 locations->SetInAt(1, Location::ConstantLocation(insn->GetConstant())); in VisitX86LoadFromConstantTable()
8135 HConstant *value = insn->GetConstant(); in VisitX86LoadFromConstantTable()
8313 int32_t value = CodeGenerator::GetInt32ValueOf(rhs.GetConstant()); in GenerateIntCompare()
8327 Address(obj, (index.GetConstant()->AsIntConstant()->GetValue() << scale) + data_offset) : in ArrayAddress()