Lines Matching refs:GetConstant
1424 MoveConstant(destination, source.GetConstant()); in MoveLocation()
2178 rhs_imm = CodeGenerator::GetInt32ValueOf(rhs_location.GetConstant()); in HandleBinaryOp()
2267 int64_t value = CodeGenerator::GetInt64ValueOf(rhs_location.GetConstant()->AsConstant()); in HandleBinaryOp()
2427 int64_t rhs_imm = use_imm ? CodeGenerator::GetInt64ValueOf(rhs_location.GetConstant()) : 0; in HandleShift()
2732 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_1) + data_offset; in VisitArrayGet()
2745 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_1) + data_offset; in VisitArrayGet()
2764 int32_t const_index = index.GetConstant()->AsIntConstant()->GetValue(); in VisitArrayGet()
2813 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_2) + data_offset; in VisitArrayGet()
2830 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_4) + data_offset; in VisitArrayGet()
2859 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_4) + data_offset; in VisitArrayGet()
2879 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_4) + data_offset; in VisitArrayGet()
2906 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_8) + data_offset; in VisitArrayGet()
2922 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_4) + data_offset; in VisitArrayGet()
2938 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_8) + data_offset; in VisitArrayGet()
3040 data_offset += index.GetConstant()->AsIntConstant()->GetValue() << TIMES_1; in VisitArraySet()
3045 int32_t value = CodeGenerator::GetInt32ValueOf(value_location.GetConstant()); in VisitArraySet()
3058 data_offset += index.GetConstant()->AsIntConstant()->GetValue() << TIMES_2; in VisitArraySet()
3065 int32_t value = CodeGenerator::GetInt32ValueOf(value_location.GetConstant()); in VisitArraySet()
3077 data_offset += index.GetConstant()->AsIntConstant()->GetValue() << TIMES_4; in VisitArraySet()
3084 int32_t value = CodeGenerator::GetInt32ValueOf(value_location.GetConstant()); in VisitArraySet()
3098 data_offset += index.GetConstant()->AsIntConstant()->GetValue() << TIMES_4; in VisitArraySet()
3102 int32_t value = CodeGenerator::GetInt32ValueOf(value_location.GetConstant()); in VisitArraySet()
3128 data_offset += index.GetConstant()->AsIntConstant()->GetValue() << TIMES_4; in VisitArraySet()
3188 data_offset += index.GetConstant()->AsIntConstant()->GetValue() << TIMES_4; in VisitArraySet()
3213 data_offset += index.GetConstant()->AsIntConstant()->GetValue() << TIMES_8; in VisitArraySet()
3220 int64_t value = CodeGenerator::GetInt64ValueOf(value_location.GetConstant()); in VisitArraySet()
3232 data_offset += index.GetConstant()->AsIntConstant()->GetValue() << TIMES_4; in VisitArraySet()
3239 int32_t value = CodeGenerator::GetInt32ValueOf(value_location.GetConstant()); in VisitArraySet()
3251 data_offset += index.GetConstant()->AsIntConstant()->GetValue() << TIMES_8; in VisitArraySet()
3258 int64_t value = CodeGenerator::GetInt64ValueOf(value_location.GetConstant()); in VisitArraySet()
3339 int32_t length = length_loc.GetConstant()->AsIntConstant()->GetValue(); in VisitBoundsCheck()
3341 int32_t index = index_loc.GetConstant()->AsIntConstant()->GetValue(); in VisitBoundsCheck()
3372 int32_t index = index_loc.GetConstant()->AsIntConstant()->GetValue(); in VisitBoundsCheck()
3848 int64_t imm = Int64FromConstant(second.GetConstant()); in DivRemOneOrMinusOne()
3900 int32_t imm = second.GetConstant()->AsIntConstant()->GetValue(); in DivRemByPowerOfTwo()
3947 int64_t imm = Int64FromConstant(second.GetConstant()); in DivRemByPowerOfTwo()
4103 int32_t imm = second.GetConstant()->AsIntConstant()->GetValue(); in GenerateDivRemWithAnyConstant()
4153 int32_t imm = second.GetConstant()->AsIntConstant()->GetValue(); in GenerateDivRemIntegral()
4246 int64_t imm = locations->InAt(1).GetConstant()->AsLongConstant()->GetValue(); in VisitDiv()
4298 if (value.GetConstant()->AsIntConstant()->GetValue() == 0) { in VisitDivZeroCheck()
4312 if (value.GetConstant()->AsLongConstant()->GetValue() == 0) { in VisitDivZeroCheck()
4413 rhs_imm = CodeGenerator::GetInt32ValueOf(rhs_location.GetConstant()); in GenerateIntCompare()
4559 rhs_imm = CodeGenerator::GetInt32ValueOf(rhs_location.GetConstant()); in MaterializeIntCompare()
4657 rhs_imm = CodeGenerator::GetInt32ValueOf(rhs_location.GetConstant()); in GenerateIntCompareAndBranch()
4838 imm = rhs_location.GetConstant()->AsLongConstant()->GetValue(); in GenerateLongCompare()
5053 imm = rhs_location.GetConstant()->AsLongConstant()->GetValue(); in GenerateLongCompareAndBranch()
6256 DCHECK(src.GetConstant()->IsZeroBitPattern()); in GenConditionalMoveR2()
6371 DCHECK(true_src.GetConstant()->IsZeroBitPattern()); in GenConditionalMoveR6()
6374 DCHECK(false_src.GetConstant()->IsZeroBitPattern()); in GenConditionalMoveR6()
6843 DCHECK(value_location.GetConstant()->IsDoubleConstant()); in HandleFieldSet()
6844 int64_t value = CodeGenerator::GetInt64ValueOf(value_location.GetConstant()); in HandleFieldSet()
6854 int64_t value = CodeGenerator::GetInt64ValueOf(value_location.GetConstant()); in HandleFieldSet()
7410 (index.GetConstant()->AsIntConstant()->GetValue() << scale_factor) + offset; in GenerateReferenceLoadWithBakerReadBarrier()
8921 int64_t imm = locations->InAt(1).GetConstant()->AsLongConstant()->GetValue(); in VisitRem()