Lines Matching full:primitive
65 static inline vixl::Register RegisterFrom(Location location, Primitive::Type type) {
66 DCHECK(type != Primitive::kPrimVoid && !Primitive::IsFloatingPointType(type)) << type;
67 return type == Primitive::kPrimLong ? XRegisterFrom(location) : WRegisterFrom(location);
89 static inline vixl::FPRegister FPRegisterFrom(Location location, Primitive::Type type) {
90 DCHECK(Primitive::IsFloatingPointType(type)) << type;
91 return type == Primitive::kPrimDouble ? DRegisterFrom(location) : SRegisterFrom(location);
103 static inline vixl::CPURegister CPURegisterFrom(Location location, Primitive::Type type) {
104 return Primitive::IsFloatingPointType(type) ? vixl::CPURegister(FPRegisterFrom(location, type))
109 return Primitive::IsFloatingPointType(instr->GetType())
115 return Primitive::IsFloatingPointType(instr->InputAt(index)->GetType())
132 static inline vixl::Operand OperandFrom(Location location, Primitive::Type type) {
169 return HeapOperand(RegisterFrom(location, Primitive::kPrimNot), offset);
296 Primitive::Type result_type = conversion->GetResultType();
297 Primitive::Type input_type = conversion->GetInputType();
299 return Primitive::IsIntegralType(result_type) && Primitive::IsIntegralType(input_type) &&