Lines Matching refs:bytecode
105 const char* Bytecodes::ToString(Bytecode bytecode) { in SHORT_STAR_BYTECODE_LIST()
106 switch (bytecode) { in SHORT_STAR_BYTECODE_LIST()
117 std::string Bytecodes::ToString(Bytecode bytecode, OperandScale operand_scale, in ToString() argument
119 std::string value(ToString(bytecode)); in ToString()
130 Bytecode Bytecodes::GetDebugBreak(Bytecode bytecode) { in GetDebugBreak() argument
131 DCHECK(!IsDebugBreak(bytecode)); in GetDebugBreak()
132 if (bytecode == Bytecode::kWide) { in GetDebugBreak()
135 if (bytecode == Bytecode::kExtraWide) { in GetDebugBreak()
138 int bytecode_size = Size(bytecode, OperandScale::kSingle); in GetDebugBreak()
149 int Bytecodes::GetOperandOffset(Bytecode bytecode, int i, in GetOperandOffset() argument
151 DCHECK_LT(i, Bytecodes::NumberOfOperands(bytecode)); in GetOperandOffset()
156 GetOperandSize(bytecode, operand_index, operand_scale); in GetOperandOffset()
163 Bytecode Bytecodes::GetJumpWithoutToBoolean(Bytecode bytecode) { in GetJumpWithoutToBoolean() argument
164 switch (bytecode) { in GetJumpWithoutToBoolean()
180 bool Bytecodes::IsDebugBreak(Bytecode bytecode) { in IsDebugBreak() argument
181 switch (bytecode) { in IsDebugBreak()
220 bool Bytecodes::MakesCallAlongCriticalPath(Bytecode bytecode) { in MakesCallAlongCriticalPath() argument
221 if (IsCallOrConstruct(bytecode) || IsCallRuntime(bytecode)) return true; in MakesCallAlongCriticalPath()
222 switch (bytecode) { in MakesCallAlongCriticalPath()
271 bool Bytecodes::IsStarLookahead(Bytecode bytecode, OperandScale operand_scale) { in IsStarLookahead() argument
273 switch (bytecode) { in IsStarLookahead()
324 bool Bytecodes::IsBytecodeWithScalableOperands(Bytecode bytecode) { in IsBytecodeWithScalableOperands() argument
325 for (int i = 0; i < NumberOfOperands(bytecode); i++) { in IsBytecodeWithScalableOperands()
326 if (OperandIsScalable(bytecode, i)) return true; in IsBytecodeWithScalableOperands()
344 bool Bytecodes::BytecodeHasHandler(Bytecode bytecode, in BytecodeHasHandler() argument
347 (!IsShortStar(bytecode) || bytecode == Bytecode::kStar0)) || in BytecodeHasHandler()
348 Bytecodes::IsBytecodeWithScalableOperands(bytecode); in BytecodeHasHandler()
351 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode) { in operator <<() argument
352 return os << Bytecodes::ToString(bytecode); in operator <<()