• Home
  • Raw
  • Download

Lines Matching refs:GetConstant

1448       HConstant* constant = source.GetConstant();  in Move()
1465 HConstant* constant = source.GetConstant(); in Move()
1486 HConstant* constant = source.GetConstant(); in Move()
1503 HConstant* constant = source.GetConstant(); in Move()
1626 right.GetConstant()->AsFloatConstant()->GetValue())); in GenerateCompareTest()
1640 right.GetConstant()->AsDoubleConstant()->GetValue())); in GenerateCompareTest()
1999 float value = rhs.GetConstant()->AsFloatConstant()->GetValue(); in HandleCondition()
2012 double value = rhs.GetConstant()->AsDoubleConstant()->GetValue(); in HandleCondition()
2173 float value = right.GetConstant()->AsFloatConstant()->GetValue(); in VisitCompare()
2187 double value = right.GetConstant()->AsDoubleConstant()->GetValue(); in VisitCompare()
2792 Immediate(static_cast<uint8_t>(Int64FromConstant(in.GetConstant())))); in VisitTypeConversion()
2816 Immediate(static_cast<int8_t>(Int64FromConstant(in.GetConstant())))); in VisitTypeConversion()
2839 Immediate(static_cast<uint16_t>(Int64FromConstant(in.GetConstant())))); in VisitTypeConversion()
2861 Immediate(static_cast<int16_t>(Int64FromConstant(in.GetConstant())))); in VisitTypeConversion()
2881 DCHECK(in.GetConstant()->IsLongConstant()); in VisitTypeConversion()
2882 int64_t value = in.GetConstant()->AsLongConstant()->GetValue(); in VisitTypeConversion()
3007 int32_t v = in.GetConstant()->AsIntConstant()->GetValue(); in VisitTypeConversion()
3020 int64_t v = in.GetConstant()->AsLongConstant()->GetValue(); in VisitTypeConversion()
3033 double v = in.GetConstant()->AsDoubleConstant()->GetValue(); in VisitTypeConversion()
3059 int32_t v = in.GetConstant()->AsIntConstant()->GetValue(); in VisitTypeConversion()
3072 int64_t v = in.GetConstant()->AsLongConstant()->GetValue(); in VisitTypeConversion()
3085 float v = in.GetConstant()->AsFloatConstant()->GetValue(); in VisitTypeConversion()
3158 Immediate(second.GetConstant()->AsIntConstant()->GetValue())); in VisitAdd()
3161 first.AsRegister<CpuRegister>(), second.GetConstant()->AsIntConstant()->GetValue())); in VisitAdd()
3182 int64_t value = second.GetConstant()->AsLongConstant()->GetValue(); in VisitAdd()
3201 second.GetConstant()->AsFloatConstant()->GetValue())); in VisitAdd()
3216 second.GetConstant()->AsDoubleConstant()->GetValue())); in VisitAdd()
3268 Immediate imm(second.GetConstant()->AsIntConstant()->GetValue()); in VisitSub()
3277 int64_t value = second.GetConstant()->AsLongConstant()->GetValue(); in VisitSub()
3292 second.GetConstant()->AsFloatConstant()->GetValue())); in VisitSub()
3307 second.GetConstant()->AsDoubleConstant()->GetValue())); in VisitSub()
3415 second.GetConstant()->AsFloatConstant()->GetValue())); in VisitMul()
3431 second.GetConstant()->AsDoubleConstant()->GetValue())); in VisitMul()
3529 int64_t imm = Int64FromConstant(second.GetConstant()); in DivRemOneOrMinusOne()
3567 int64_t imm = Int64FromConstant(second.GetConstant()); in RemByPowerOfTwo()
3603 int64_t imm = Int64FromConstant(second.GetConstant()); in DivByPowerOfTwo()
3679 int imm = second.GetConstant()->AsIntConstant()->GetValue(); in GenerateDivRemWithAnyConstant()
3711 int64_t imm = second.GetConstant()->AsLongConstant()->GetValue(); in GenerateDivRemWithAnyConstant()
3779 int64_t imm = Int64FromConstant(second.GetConstant()); in GenerateDivRemIntegral()
3877 second.GetConstant()->AsFloatConstant()->GetValue())); in VisitDiv()
3892 second.GetConstant()->AsDoubleConstant()->GetValue())); in VisitDiv()
4222 if (value.GetConstant()->AsIntConstant()->GetValue() == 0) { in VisitDivZeroCheck()
4237 if (value.GetConstant()->AsLongConstant()->GetValue() == 0) { in VisitDivZeroCheck()
4287 Immediate imm(second.GetConstant()->AsIntConstant()->GetValue() & kMaxIntShiftDistance); in HandleShift()
4309 Immediate imm(second.GetConstant()->AsIntConstant()->GetValue() & kMaxLongShiftDistance); in HandleShift()
4356 Immediate imm(second.GetConstant()->AsIntConstant()->GetValue() & kMaxIntShiftDistance); in VisitRor()
4365 Immediate imm(second.GetConstant()->AsIntConstant()->GetValue() & kMaxLongShiftDistance); in VisitRor()
4751 Immediate(CodeGenerator::GetInt8ValueOf(value.GetConstant()))); in HandleFieldSet()
4762 Immediate(CodeGenerator::GetInt16ValueOf(value.GetConstant()))); in HandleFieldSet()
4772 int32_t v = CodeGenerator::GetInt32ValueOf(value.GetConstant()); in HandleFieldSet()
4793 int64_t v = value.GetConstant()->AsLongConstant()->GetValue(); in HandleFieldSet()
4808 bit_cast<int32_t, float>(value.GetConstant()->AsFloatConstant()->GetValue()); in HandleFieldSet()
4819 bit_cast<int64_t, double>(value.GetConstant()->AsDoubleConstant()->GetValue()); in HandleFieldSet()
4985 DCHECK(obj.GetConstant()->IsNullConstant()); in GenerateExplicitNullCheck()
5098 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_4) + data_offset; in VisitArrayGet()
5192 __ movb(address, Immediate(CodeGenerator::GetInt8ValueOf(value.GetConstant()))); in VisitArraySet()
5206 __ movw(address, Immediate(CodeGenerator::GetInt16ValueOf(value.GetConstant()))); in VisitArraySet()
5315 int32_t v = CodeGenerator::GetInt32ValueOf(value.GetConstant()); in VisitArraySet()
5329 int64_t v = value.GetConstant()->AsLongConstant()->GetValue(); in VisitArraySet()
5344 int32_t v = bit_cast<int32_t, float>(value.GetConstant()->AsFloatConstant()->GetValue()); in VisitArraySet()
5359 bit_cast<int64_t, double>(value.GetConstant()->AsDoubleConstant()->GetValue()); in VisitArraySet()
5422 int32_t length = CodeGenerator::GetInt32ValueOf(length_loc.GetConstant()); in VisitBoundsCheck()
5425 int32_t index = CodeGenerator::GetInt32ValueOf(index_loc.GetConstant()); in VisitBoundsCheck()
5461 int32_t value = CodeGenerator::GetInt32ValueOf(index_loc.GetConstant()); in VisitBoundsCheck()
5636 HConstant* constant = source.GetConstant(); in EmitMove()
6871 Immediate imm(second.GetConstant()->AsIntConstant()->GetValue()); in HandleBitwiseOperation()
6898 value = second.GetConstant()->AsLongConstant()->GetValue(); in HandleBitwiseOperation()
7431 int32_t value = CodeGenerator::GetInt32ValueOf(rhs.GetConstant()); in GenerateIntCompare()
7443 int64_t value = rhs.GetConstant()->AsLongConstant()->GetValue(); in GenerateLongCompare()
7457 Address(obj, (index.GetConstant()->AsIntConstant()->GetValue() << scale) + data_offset) : in ArrayAddress()