• Home
  • Raw
  • Download

Lines Matching refs:instr

81 inline vixl::aarch64::Register OutputRegister(HInstruction* instr) {  in OutputRegister()  argument
82 return RegisterFrom(instr->GetLocations()->Out(), instr->GetType()); in OutputRegister()
85 inline vixl::aarch64::Register InputRegisterAt(HInstruction* instr, int input_index) { in InputRegisterAt() argument
86 return RegisterFrom(instr->GetLocations()->InAt(input_index), in InputRegisterAt()
87 instr->InputAt(input_index)->GetType()); in InputRegisterAt()
115 inline vixl::aarch64::FPRegister OutputFPRegister(HInstruction* instr) { in OutputFPRegister() argument
116 return FPRegisterFrom(instr->GetLocations()->Out(), instr->GetType()); in OutputFPRegister()
119 inline vixl::aarch64::FPRegister InputFPRegisterAt(HInstruction* instr, int input_index) { in InputFPRegisterAt() argument
120 return FPRegisterFrom(instr->GetLocations()->InAt(input_index), in InputFPRegisterAt()
121 instr->InputAt(input_index)->GetType()); in InputFPRegisterAt()
130 inline vixl::aarch64::CPURegister OutputCPURegister(HInstruction* instr) { in OutputCPURegister() argument
131 return DataType::IsFloatingPointType(instr->GetType()) in OutputCPURegister()
132 ? static_cast<vixl::aarch64::CPURegister>(OutputFPRegister(instr)) in OutputCPURegister()
133 : static_cast<vixl::aarch64::CPURegister>(OutputRegister(instr)); in OutputCPURegister()
136 inline vixl::aarch64::CPURegister InputCPURegisterAt(HInstruction* instr, int index) { in InputCPURegisterAt() argument
137 return DataType::IsFloatingPointType(instr->InputAt(index)->GetType()) in InputCPURegisterAt()
138 ? static_cast<vixl::aarch64::CPURegister>(InputFPRegisterAt(instr, index)) in InputCPURegisterAt()
139 : static_cast<vixl::aarch64::CPURegister>(InputRegisterAt(instr, index)); in InputCPURegisterAt()
142 inline vixl::aarch64::CPURegister InputCPURegisterOrZeroRegAt(HInstruction* instr, in InputCPURegisterOrZeroRegAt() argument
144 HInstruction* input = instr->InputAt(index); in InputCPURegisterOrZeroRegAt()
151 return InputCPURegisterAt(instr, index); in InputCPURegisterOrZeroRegAt()
166 inline vixl::aarch64::Operand InputOperandAt(HInstruction* instr, int input_index) { in InputOperandAt() argument
167 return OperandFrom(instr->GetLocations()->InAt(input_index), in InputOperandAt()
168 instr->InputAt(input_index)->GetType()); in InputOperandAt()
236 inline bool Arm64CanEncodeConstantAsImmediate(HConstant* constant, HInstruction* instr) { in Arm64CanEncodeConstantAsImmediate() argument
240 if (instr->IsVecReplicateScalar()) { in Arm64CanEncodeConstantAsImmediate()
254 if (instr->IsMin() || instr->IsMax()) { in Arm64CanEncodeConstantAsImmediate()
272 if (instr->IsRor()) { in Arm64CanEncodeConstantAsImmediate()
276 if (instr->IsAnd() || instr->IsOr() || instr->IsXor()) { in Arm64CanEncodeConstantAsImmediate()
279 } else if (instr->IsNeg()) { in Arm64CanEncodeConstantAsImmediate()
283 DCHECK(instr->IsAdd() || in Arm64CanEncodeConstantAsImmediate()
284 instr->IsIntermediateAddress() || in Arm64CanEncodeConstantAsImmediate()
285 instr->IsBoundsCheck() || in Arm64CanEncodeConstantAsImmediate()
286 instr->IsCompare() || in Arm64CanEncodeConstantAsImmediate()
287 instr->IsCondition() || in Arm64CanEncodeConstantAsImmediate()
288 instr->IsSub()) in Arm64CanEncodeConstantAsImmediate()
289 << instr->DebugName(); in Arm64CanEncodeConstantAsImmediate()
296 HInstruction* instr) { in ARM64EncodableConstantOrRegister() argument
298 && Arm64CanEncodeConstantAsImmediate(constant->AsConstant(), instr)) { in ARM64EncodableConstantOrRegister()