• Home
  • Raw
  • Download

Lines Matching refs:instr

96 inline vixl::aarch32::SRegister OutputSRegister(HInstruction* instr) {  in OutputSRegister()  argument
97 DataType::Type type = instr->GetType(); in OutputSRegister()
99 return SRegisterFrom(instr->GetLocations()->Out()); in OutputSRegister()
102 inline vixl::aarch32::DRegister OutputDRegister(HInstruction* instr) { in OutputDRegister() argument
103 DataType::Type type = instr->GetType(); in OutputDRegister()
105 return DRegisterFrom(instr->GetLocations()->Out()); in OutputDRegister()
108 inline vixl::aarch32::VRegister OutputVRegister(HInstruction* instr) { in OutputVRegister() argument
109 DataType::Type type = instr->GetType(); in OutputVRegister()
111 return OutputSRegister(instr); in OutputVRegister()
113 return OutputDRegister(instr); in OutputVRegister()
117 inline vixl::aarch32::SRegister InputSRegisterAt(HInstruction* instr, int input_index) { in InputSRegisterAt() argument
118 DataType::Type type = instr->InputAt(input_index)->GetType(); in InputSRegisterAt()
120 return SRegisterFrom(instr->GetLocations()->InAt(input_index)); in InputSRegisterAt()
123 inline vixl::aarch32::DRegister InputDRegisterAt(HInstruction* instr, int input_index) { in InputDRegisterAt() argument
124 DataType::Type type = instr->InputAt(input_index)->GetType(); in InputDRegisterAt()
126 return DRegisterFrom(instr->GetLocations()->InAt(input_index)); in InputDRegisterAt()
129 inline vixl::aarch32::VRegister InputVRegisterAt(HInstruction* instr, int input_index) { in InputVRegisterAt() argument
130 DataType::Type type = instr->InputAt(input_index)->GetType(); in InputVRegisterAt()
132 return InputSRegisterAt(instr, input_index); in InputVRegisterAt()
135 return InputDRegisterAt(instr, input_index); in InputVRegisterAt()
139 inline vixl::aarch32::VRegister InputVRegister(HInstruction* instr) { in InputVRegister() argument
140 DCHECK_EQ(instr->InputCount(), 1u); in InputVRegister()
141 return InputVRegisterAt(instr, 0); in InputVRegister()
144 inline vixl::aarch32::Register OutputRegister(HInstruction* instr) { in OutputRegister() argument
145 return RegisterFrom(instr->GetLocations()->Out(), instr->GetType()); in OutputRegister()
148 inline vixl::aarch32::Register InputRegisterAt(HInstruction* instr, int input_index) { in InputRegisterAt() argument
149 return RegisterFrom(instr->GetLocations()->InAt(input_index), in InputRegisterAt()
150 instr->InputAt(input_index)->GetType()); in InputRegisterAt()
153 inline vixl::aarch32::Register InputRegister(HInstruction* instr) { in InputRegister() argument
154 DCHECK_EQ(instr->InputCount(), 1u); in InputRegister()
155 return InputRegisterAt(instr, 0); in InputRegister()
164 inline int32_t Int32ConstantFrom(HInstruction* instr) { in Int32ConstantFrom() argument
165 if (instr->IsIntConstant()) { in Int32ConstantFrom()
166 return instr->AsIntConstant()->GetValue(); in Int32ConstantFrom()
167 } else if (instr->IsNullConstant()) { in Int32ConstantFrom()
170 DCHECK(instr->IsLongConstant()) << instr->DebugName(); in Int32ConstantFrom()
171 const int64_t ret = instr->AsLongConstant()->GetValue(); in Int32ConstantFrom()
183 HConstant* instr = location.GetConstant(); in Int64ConstantFrom() local
184 if (instr->IsIntConstant()) { in Int64ConstantFrom()
185 return instr->AsIntConstant()->GetValue(); in Int64ConstantFrom()
186 } else if (instr->IsNullConstant()) { in Int64ConstantFrom()
189 DCHECK(instr->IsLongConstant()) << instr->DebugName(); in Int64ConstantFrom()
190 return instr->AsLongConstant()->GetValue(); in Int64ConstantFrom()
194 inline uint64_t Uint64ConstantFrom(HInstruction* instr) { in Uint64ConstantFrom() argument
195 DCHECK(instr->IsConstant()) << instr->DebugName(); in Uint64ConstantFrom()
196 return instr->AsConstant()->GetValueAsUint64(); in Uint64ConstantFrom()
207 inline vixl::aarch32::Operand InputOperandAt(HInstruction* instr, int input_index) { in InputOperandAt() argument
208 return OperandFrom(instr->GetLocations()->InAt(input_index), in InputOperandAt()
209 instr->InputAt(input_index)->GetType()); in InputOperandAt()