Lines Matching refs:GetConstant
1359 HConstant* constant = source.GetConstant(); in Move32()
1423 HConstant* constant = source.GetConstant(); in Move64()
1580 int64_t value = right.GetConstant()->AsLongConstant()->GetValue(); in GenerateLongComparesAndJumps()
1640 const_area->GetConstant()->AsDoubleConstant()->GetValue(), in GenerateFPCompare()
1654 const_area->GetConstant()->AsFloatConstant()->GetValue(), in GenerateFPCompare()
2808 DCHECK(in.GetConstant()->IsIntConstant()); in VisitTypeConversion()
2809 int32_t value = in.GetConstant()->AsIntConstant()->GetValue(); in VisitTypeConversion()
2817 DCHECK(in.GetConstant()->IsLongConstant()); in VisitTypeConversion()
2818 int64_t value = in.GetConstant()->AsLongConstant()->GetValue(); in VisitTypeConversion()
2838 DCHECK(in.GetConstant()->IsIntConstant()); in VisitTypeConversion()
2839 int32_t value = in.GetConstant()->AsIntConstant()->GetValue(); in VisitTypeConversion()
2847 DCHECK(in.GetConstant()->IsLongConstant()); in VisitTypeConversion()
2848 int64_t value = in.GetConstant()->AsLongConstant()->GetValue(); in VisitTypeConversion()
2869 DCHECK(in.GetConstant()->IsIntConstant()); in VisitTypeConversion()
2870 int32_t value = in.GetConstant()->AsIntConstant()->GetValue(); in VisitTypeConversion()
2880 DCHECK(in.GetConstant()->IsLongConstant()); in VisitTypeConversion()
2881 int64_t value = in.GetConstant()->AsLongConstant()->GetValue(); in VisitTypeConversion()
2901 DCHECK(in.GetConstant()->IsIntConstant()); in VisitTypeConversion()
2902 int32_t value = in.GetConstant()->AsIntConstant()->GetValue(); in VisitTypeConversion()
2912 DCHECK(in.GetConstant()->IsLongConstant()); in VisitTypeConversion()
2913 int64_t value = in.GetConstant()->AsLongConstant()->GetValue(); in VisitTypeConversion()
2933 DCHECK(in.GetConstant()->IsLongConstant()); in VisitTypeConversion()
2934 int64_t value = in.GetConstant()->AsLongConstant()->GetValue(); in VisitTypeConversion()
3185 int32_t value = second.GetConstant()->AsIntConstant()->GetValue(); in VisitAdd()
3208 int64_t value = second.GetConstant()->AsLongConstant()->GetValue(); in VisitAdd()
3223 const_area->GetConstant()->AsFloatConstant()->GetValue(), in VisitAdd()
3241 const_area->GetConstant()->AsDoubleConstant()->GetValue(), in VisitAdd()
3297 Immediate(second.GetConstant()->AsIntConstant()->GetValue())); in VisitSub()
3314 int64_t value = second.GetConstant()->AsLongConstant()->GetValue(); in VisitSub()
3329 const_area->GetConstant()->AsFloatConstant()->GetValue(), in VisitSub()
3347 const_area->GetConstant()->AsDoubleConstant()->GetValue(), in VisitSub()
3442 DCHECK(second.GetConstant()->IsLongConstant()); in VisitMul()
3444 int64_t value = second.GetConstant()->AsLongConstant()->GetValue(); in VisitMul()
3518 const_area->GetConstant()->AsFloatConstant()->GetValue(), in VisitMul()
3537 const_area->GetConstant()->AsDoubleConstant()->GetValue(), in VisitMul()
3653 DCHECK(locations->InAt(1).GetConstant()->IsIntConstant()); in DivRemOneOrMinusOne()
3657 int32_t imm = locations->InAt(1).GetConstant()->AsIntConstant()->GetValue(); in DivRemOneOrMinusOne()
3678 int32_t imm = Int64FromConstant(second.GetConstant()); in RemByPowerOfTwo()
3698 int32_t imm = locations->InAt(1).GetConstant()->AsIntConstant()->GetValue(); in DivByPowerOfTwo()
3721 int imm = locations->InAt(1).GetConstant()->AsIntConstant()->GetValue(); in GenerateDivRemWithAnyConstant()
3799 int32_t imm = second.GetConstant()->AsIntConstant()->GetValue(); in GenerateDivRemIntegral()
3931 const_area->GetConstant()->AsFloatConstant()->GetValue(), in VisitDiv()
3949 const_area->GetConstant()->AsDoubleConstant()->GetValue(), in VisitDiv()
4369 if (value.GetConstant()->AsIntConstant()->GetValue() == 0) { in VisitDivZeroCheck()
4383 if (value.GetConstant()->AsLongConstant()->GetValue() == 0) { in VisitDivZeroCheck()
4438 int32_t shift = second.GetConstant()->AsIntConstant()->GetValue() & kMaxIntShiftDistance; in HandleShift()
4466 int32_t shift = second.GetConstant()->AsIntConstant()->GetValue() & kMaxLongShiftDistance; in HandleShift()
4623 Immediate imm(second.GetConstant()->AsIntConstant()->GetValue() & kMaxIntShiftDistance); in VisitRor()
4644 int32_t shift_amt = second.GetConstant()->AsIntConstant()->GetValue() & kMaxLongShiftDistance; in VisitRor()
4885 DCHECK(right.GetConstant()->IsLongConstant()); in VisitCompare()
4887 int64_t val = right.GetConstant()->AsLongConstant()->GetValue(); in VisitCompare()
5608 Immediate(CodeGenerator::GetInt16ValueOf(value.GetConstant()))); in HandleFieldSet()
5627 int32_t v = CodeGenerator::GetInt32ValueOf(value.GetConstant()); in HandleFieldSet()
5646 int64_t v = CodeGenerator::GetInt64ValueOf(value.GetConstant()); in HandleFieldSet()
5661 int32_t v = CodeGenerator::GetInt32ValueOf(value.GetConstant()); in HandleFieldSet()
5671 int64_t v = CodeGenerator::GetInt64ValueOf(value.GetConstant()); in HandleFieldSet()
5845 DCHECK(obj.GetConstant()->IsNullConstant()); in GenerateExplicitNullCheck()
5964 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_4) + data_offset; in VisitArrayGet()
6064 __ movb(address, Immediate(CodeGenerator::GetInt8ValueOf(value.GetConstant()))); in VisitArraySet()
6077 __ movw(address, Immediate(CodeGenerator::GetInt16ValueOf(value.GetConstant()))); in VisitArraySet()
6193 int32_t v = CodeGenerator::GetInt32ValueOf(value.GetConstant()); in VisitArraySet()
6210 int64_t val = value.GetConstant()->AsLongConstant()->GetValue(); in VisitArraySet()
6227 int32_t v = bit_cast<int32_t, float>(value.GetConstant()->AsFloatConstant()->GetValue()); in VisitArraySet()
6243 int64_t v = bit_cast<int64_t, double>(value.GetConstant()->AsDoubleConstant()->GetValue()); in VisitArraySet()
6311 int32_t length = CodeGenerator::GetInt32ValueOf(length_loc.GetConstant()); in VisitBoundsCheck()
6314 int32_t index = CodeGenerator::GetInt32ValueOf(index_loc.GetConstant()); in VisitBoundsCheck()
6350 int32_t value = CodeGenerator::GetInt32ValueOf(index_loc.GetConstant()); in VisitBoundsCheck()
6537 HConstant* constant = source.GetConstant(); in EmitMove()
7809 Immediate(second.GetConstant()->AsIntConstant()->GetValue())); in HandleBitwiseOperation()
7812 Immediate(second.GetConstant()->AsIntConstant()->GetValue())); in HandleBitwiseOperation()
7816 Immediate(second.GetConstant()->AsIntConstant()->GetValue())); in HandleBitwiseOperation()
7859 int64_t value = second.GetConstant()->AsLongConstant()->GetValue(); in HandleBitwiseOperation()
8363 locations->SetInAt(1, Location::ConstantLocation(insn->GetConstant())); in VisitX86LoadFromConstantTable()
8393 HConstant *value = insn->GetConstant(); in VisitX86LoadFromConstantTable()
8572 int32_t value = CodeGenerator::GetInt32ValueOf(rhs.GetConstant()); in GenerateIntCompare()
8586 Address(obj, (index.GetConstant()->AsIntConstant()->GetValue() << scale) + data_offset) : in ArrayAddress()