Home
last modified time | relevance | path

Searched refs:new_type (Results 1 – 6 of 6) sorted by relevance

/art/runtime/verifier/
Dregister_line-inl.h42 const RegType& new_type) { in SetRegisterType() argument
44 if (new_type.IsLowHalf() || new_type.IsHighHalf()) { in SetRegisterType()
46 << new_type << "'"; in SetRegisterType()
51 line_[vdst] = new_type.GetId(); in SetRegisterType()
60 DCHECK(new_type.IsReferenceTypes()); in SetRegisterType()
89 inline void RegisterLine::SetResultRegisterType(MethodVerifier* verifier, const RegType& new_type) { in SetResultRegisterType() argument
90 DCHECK(!new_type.IsLowHalf()); in SetResultRegisterType()
91 DCHECK(!new_type.IsHighHalf()); in SetResultRegisterType()
92 result_[0] = new_type.GetId(); in SetResultRegisterType()
Dregister_line.h117 const RegType& new_type)
127 void SetResultRegisterType(MethodVerifier* verifier, const RegType& new_type)
Dregister_line.cc437 const RegType& new_type = cur_type.Merge( in MergeRegisters() local
439 changed = changed || !cur_type.Equals(new_type); in MergeRegisters()
440 line_[idx] = new_type.GetId(); in MergeRegisters()
/art/compiler/optimizing/
Dinstruction_simplifier.cc1101 static inline bool TryReplaceFieldOrArrayGetType(HInstruction* maybe_get, DataType::Type new_type) { in TryReplaceFieldOrArrayGetType() argument
1103 maybe_get->AsInstanceFieldGet()->SetType(new_type); in TryReplaceFieldOrArrayGetType()
1106 maybe_get->AsStaticFieldGet()->SetType(new_type); in TryReplaceFieldOrArrayGetType()
1109 maybe_get->AsArrayGet()->SetType(new_type); in TryReplaceFieldOrArrayGetType()
1443 DataType::Type new_type = (value == 0xff) ? DataType::Type::kUint8 : DataType::Type::kUint16; in VisitAnd() local
1447 TryReplaceFieldOrArrayGetType(input_other, new_type)) { in VisitAnd()
1450 } else if (DataType::IsTypeConversionImplicit(input_other->GetType(), new_type)) { in VisitAnd()
1455 new_type, input_other, instruction->GetDexPc()); in VisitAnd()
Dnodes.h2798 void SetType(DataType::Type new_type) { in SetType() argument
2802 DCHECK(GetType() == new_type || in SetType()
2803 (GetType() == DataType::Type::kInt32 && new_type == DataType::Type::kFloat32) || in SetType()
2804 (GetType() == DataType::Type::kInt32 && new_type == DataType::Type::kReference) || in SetType()
2805 (GetType() == DataType::Type::kInt64 && new_type == DataType::Type::kFloat64)); in SetType()
2806 SetPackedField<TypeField>(new_type); in SetType()
5831 void SetType(DataType::Type new_type) { in SetType() argument
5833 DCHECK(DataType::IsIntegralType(new_type)); in SetType()
5834 DCHECK_EQ(DataType::Size(GetType()), DataType::Size(new_type)); in SetType()
5835 SetPackedField<TypeField>(new_type); in SetType()
[all …]
/art/runtime/mirror/
Dclass.h365 void SetPrimitiveType(Primitive::Type new_type) REQUIRES_SHARED(Locks::mutator_lock_) { in SetPrimitiveType() argument
367 uint32_t v32 = static_cast<uint32_t>(new_type); in SetPrimitiveType()
370 v32 |= Primitive::ComponentSizeShift(new_type) << kPrimitiveTypeSizeShiftShift; in SetPrimitiveType()