Lines Matching refs:operand_index
63 int operand_index, OperandType operand_type) const { in GetUnsignedOperand() argument
64 DCHECK_GE(operand_index, 0); in GetUnsignedOperand()
65 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(current_bytecode())); in GetUnsignedOperand()
67 Bytecodes::GetOperandType(current_bytecode(), operand_index)); in GetUnsignedOperand()
72 Bytecodes::GetOperandOffset(current_bytecode(), operand_index, in GetUnsignedOperand()
79 int operand_index, OperandType operand_type) const { in GetSignedOperand() argument
80 DCHECK_GE(operand_index, 0); in GetSignedOperand()
81 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(current_bytecode())); in GetSignedOperand()
83 Bytecodes::GetOperandType(current_bytecode(), operand_index)); in GetSignedOperand()
88 Bytecodes::GetOperandOffset(current_bytecode(), operand_index, in GetSignedOperand()
94 uint32_t BytecodeArrayIterator::GetFlagOperand(int operand_index) const { in GetFlagOperand()
95 DCHECK_EQ(Bytecodes::GetOperandType(current_bytecode(), operand_index), in GetFlagOperand()
97 return GetUnsignedOperand(operand_index, OperandType::kFlag8); in GetFlagOperand()
101 int operand_index) const { in GetUnsignedImmediateOperand()
102 DCHECK_EQ(Bytecodes::GetOperandType(current_bytecode(), operand_index), in GetUnsignedImmediateOperand()
104 return GetUnsignedOperand(operand_index, OperandType::kUImm); in GetUnsignedImmediateOperand()
107 int32_t BytecodeArrayIterator::GetImmediateOperand(int operand_index) const { in GetImmediateOperand()
108 DCHECK_EQ(Bytecodes::GetOperandType(current_bytecode(), operand_index), in GetImmediateOperand()
110 return GetSignedOperand(operand_index, OperandType::kImm); in GetImmediateOperand()
114 int operand_index) const { in GetRegisterCountOperand()
115 DCHECK_EQ(Bytecodes::GetOperandType(current_bytecode(), operand_index), in GetRegisterCountOperand()
117 return GetUnsignedOperand(operand_index, OperandType::kRegCount); in GetRegisterCountOperand()
120 uint32_t BytecodeArrayIterator::GetIndexOperand(int operand_index) const { in GetIndexOperand()
122 Bytecodes::GetOperandType(current_bytecode(), operand_index); in GetIndexOperand()
124 return GetUnsignedOperand(operand_index, operand_type); in GetIndexOperand()
127 Register BytecodeArrayIterator::GetRegisterOperand(int operand_index) const { in GetRegisterOperand()
129 Bytecodes::GetOperandType(current_bytecode(), operand_index); in GetRegisterOperand()
133 Bytecodes::GetOperandOffset(current_bytecode(), operand_index, in GetRegisterOperand()
139 int BytecodeArrayIterator::GetRegisterOperandRange(int operand_index) const { in GetRegisterOperandRange()
140 DCHECK_LE(operand_index, Bytecodes::NumberOfOperands(current_bytecode())); in GetRegisterOperandRange()
143 OperandType operand_type = operand_types[operand_index]; in GetRegisterOperandRange()
146 return GetRegisterCountOperand(operand_index + 1); in GetRegisterOperandRange()
153 int operand_index) const { in GetRuntimeIdOperand()
155 Bytecodes::GetOperandType(current_bytecode(), operand_index); in GetRuntimeIdOperand()
157 uint32_t raw_id = GetUnsignedOperand(operand_index, operand_type); in GetRuntimeIdOperand()
162 int operand_index) const { in GetIntrinsicIdOperand()
164 Bytecodes::GetOperandType(current_bytecode(), operand_index); in GetIntrinsicIdOperand()
166 uint32_t raw_id = GetUnsignedOperand(operand_index, operand_type); in GetIntrinsicIdOperand()
172 int operand_index) const { in GetConstantForIndexOperand()
174 GetIndexOperand(operand_index), in GetConstantForIndexOperand()