Lines Matching refs:OperandScale
472 static std::string ToString(Bytecode bytecode, OperandScale operand_scale);
489 static Bytecode OperandScaleToPrefixBytecode(OperandScale operand_scale) { in OperandScaleToPrefixBytecode()
491 case OperandScale::kQuadruple: in OperandScaleToPrefixBytecode()
493 case OperandScale::kDouble: in OperandScaleToPrefixBytecode()
501 static bool OperandScaleRequiresPrefixBytecode(OperandScale operand_scale) { in OperandScaleRequiresPrefixBytecode()
502 return operand_scale != OperandScale::kSingle; in OperandScaleRequiresPrefixBytecode()
507 static OperandScale PrefixBytecodeToOperandScale(Bytecode bytecode) { in PrefixBytecodeToOperandScale()
511 return OperandScale::kQuadruple; in PrefixBytecodeToOperandScale()
514 return OperandScale::kDouble; in PrefixBytecodeToOperandScale()
745 OperandScale operand_scale) { in GetOperandSize()
752 OperandScale operand_scale) { in GetOperandSizes()
754 DCHECK_GE(operand_scale, OperandScale::kSingle); in GetOperandSizes()
755 DCHECK_LE(operand_scale, OperandScale::kLast); in GetOperandSizes()
756 STATIC_ASSERT(static_cast<int>(OperandScale::kQuadruple) == 4 && in GetOperandSizes()
757 OperandScale::kLast == OperandScale::kQuadruple); in GetOperandSizes()
765 OperandScale operand_scale);
769 static int Size(Bytecode bytecode, OperandScale operand_scale) { in Size()
771 STATIC_ASSERT(static_cast<int>(OperandScale::kQuadruple) == 4 && in Size()
772 OperandScale::kLast == OperandScale::kQuadruple); in Size()
831 static bool IsStarLookahead(Bytecode bytecode, OperandScale operand_scale);
858 OperandScale operand_scale) { in SizeOfOperand()
860 DCHECK_GE(operand_scale, OperandScale::kSingle); in SizeOfOperand()
861 DCHECK_LE(operand_scale, OperandScale::kLast); in SizeOfOperand()
862 STATIC_ASSERT(static_cast<int>(OperandScale::kQuadruple) == 4 && in SizeOfOperand()
863 OperandScale::kLast == OperandScale::kQuadruple); in SizeOfOperand()
878 static bool BytecodeHasHandler(Bytecode bytecode, OperandScale operand_scale);
881 static OperandScale ScaleForSignedOperand(int32_t value) { in ScaleForSignedOperand()
883 return OperandScale::kSingle; in ScaleForSignedOperand()
885 return OperandScale::kDouble; in ScaleForSignedOperand()
887 return OperandScale::kQuadruple; in ScaleForSignedOperand()
892 static OperandScale ScaleForUnsignedOperand(uint32_t value) { in ScaleForUnsignedOperand()
894 return OperandScale::kSingle; in ScaleForUnsignedOperand()
896 return OperandScale::kDouble; in ScaleForUnsignedOperand()
898 return OperandScale::kQuadruple; in ScaleForUnsignedOperand()