Lines Matching refs:location

40 inline vixl::aarch32::Register HighRegisterFrom(Location location) {  in HighRegisterFrom()  argument
41 DCHECK(location.IsRegisterPair()) << location; in HighRegisterFrom()
42 return vixl::aarch32::Register(location.AsRegisterPairHigh<vixl::aarch32::Register>()); in HighRegisterFrom()
45 inline vixl::aarch32::DRegister HighDRegisterFrom(Location location) { in HighDRegisterFrom() argument
46 DCHECK(location.IsFpuRegisterPair()) << location; in HighDRegisterFrom()
47 return vixl::aarch32::DRegister(location.AsFpuRegisterPairHigh<vixl::aarch32::DRegister>()); in HighDRegisterFrom()
50 inline vixl::aarch32::Register LowRegisterFrom(Location location) { in LowRegisterFrom() argument
51 DCHECK(location.IsRegisterPair()) << location; in LowRegisterFrom()
52 return vixl::aarch32::Register(location.AsRegisterPairLow<vixl::aarch32::Register>()); in LowRegisterFrom()
55 inline vixl::aarch32::SRegister LowSRegisterFrom(Location location) { in LowSRegisterFrom() argument
56 DCHECK(location.IsFpuRegisterPair()) << location; in LowSRegisterFrom()
57 return vixl::aarch32::SRegister(location.AsFpuRegisterPairLow<vixl::aarch32::SRegister>()); in LowSRegisterFrom()
60 inline vixl::aarch32::SRegister HighSRegisterFrom(Location location) { in HighSRegisterFrom() argument
61 DCHECK(location.IsFpuRegisterPair()) << location; in HighSRegisterFrom()
62 return vixl::aarch32::SRegister(location.AsFpuRegisterPairHigh<vixl::aarch32::SRegister>()); in HighSRegisterFrom()
65 inline vixl::aarch32::Register RegisterFrom(Location location) { in RegisterFrom() argument
66 DCHECK(location.IsRegister()) << location; in RegisterFrom()
67 return vixl::aarch32::Register(location.reg()); in RegisterFrom()
70 inline vixl::aarch32::Register RegisterFrom(Location location, DataType::Type type) { in RegisterFrom() argument
72 return RegisterFrom(location); in RegisterFrom()
75 inline vixl::aarch32::DRegister DRegisterFrom(Location location) { in DRegisterFrom() argument
76 DCHECK(location.IsFpuRegisterPair()) << location; in DRegisterFrom()
77 int reg_code = location.low(); in DRegisterFrom()
82 inline vixl::aarch32::SRegister SRegisterFrom(Location location) { in SRegisterFrom() argument
83 DCHECK(location.IsFpuRegister()) << location; in SRegisterFrom()
84 return vixl::aarch32::SRegister(location.reg()); in SRegisterFrom()
169 inline int32_t Int32ConstantFrom(Location location) { in Int32ConstantFrom() argument
170 return Int32ConstantFrom(location.GetConstant()); in Int32ConstantFrom()
173 inline int64_t Int64ConstantFrom(Location location) { in Int64ConstantFrom() argument
174 HConstant* instr = location.GetConstant(); in Int64ConstantFrom()
190 inline vixl::aarch32::Operand OperandFrom(Location location, DataType::Type type) { in OperandFrom() argument
191 if (location.IsRegister()) { in OperandFrom()
192 return vixl::aarch32::Operand(RegisterFrom(location, type)); in OperandFrom()
194 return vixl::aarch32::Operand(Int32ConstantFrom(location)); in OperandFrom()