Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dssa_type_propagation.cc23 static Primitive::Type MergeTypes(Primitive::Type existing, Primitive::Type new_type) { in MergeTypes() argument
31 return new_type; in MergeTypes()
40 Primitive::Type new_type = Primitive::kPrimVoid; in UpdateType() local
43 new_type = MergeTypes(new_type, input_type); in UpdateType()
45 phi->SetType(new_type); in UpdateType()
46 return existing != new_type; in UpdateType()
/art/runtime/verifier/
Dregister_line.cc39 bool RegisterLine::SetRegisterType(uint32_t vdst, RegType& new_type) { in SetRegisterType() argument
41 if (new_type.IsLowHalf() || new_type.IsHighHalf()) { in SetRegisterType()
43 << new_type << "'"; in SetRegisterType()
45 } else if (new_type.IsConflict()) { // should only be set during a merge in SetRegisterType()
46 verifier_->Fail(VERIFY_ERROR_BAD_CLASS_SOFT) << "Set register to unknown type " << new_type; in SetRegisterType()
49 line_[vdst] = new_type.GetId(); in SetRegisterType()
78 void RegisterLine::SetResultRegisterType(RegType& new_type) { in SetResultRegisterType() argument
79 DCHECK(!new_type.IsLowHalf()); in SetResultRegisterType()
80 DCHECK(!new_type.IsHighHalf()); in SetResultRegisterType()
81 result_[0] = new_type.GetId(); in SetResultRegisterType()
[all …]
Dregister_line.h84 bool SetRegisterType(uint32_t vdst, RegType& new_type)
91 void SetResultRegisterType(RegType& new_type)
/art/compiler/sea_ir/types/
Dtype_inference.cc157 const Type* new_type = tiv.GetType(); in ComputeTypes() local
158 type_data_.SetTypeOf(-1, new_type); // TODO: Record this info in a way that in ComputeTypes()
174 const Type* new_type = tiv.GetType(); in ComputeTypes() local
175 bool type_changed = (old_type != new_type); in ComputeTypes()
177 type_data_.SetTypeOf((*instruction_it)->Id(), new_type); in ComputeTypes()
Dtype_inference_visitor_test.cc67 const Type* new_type = &type_cache.Integer(); in TEST_F() local
68 types.push_back(new_type); in TEST_F()
81 const Type* new_type = &type_cache.Short(); in TEST_F() local
82 types.push_back(new_type); in TEST_F()
/art/runtime/mirror/
Dclass.h333 void SetPrimitiveType(Primitive::Type new_type) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in SetPrimitiveType() argument
335 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_), new_type); in SetPrimitiveType()