Lines Matching refs:bytecode
98 const char* Bytecodes::ToString(Bytecode bytecode) { in ToString() argument
99 switch (bytecode) { in ToString()
110 std::string Bytecodes::ToString(Bytecode bytecode, OperandScale operand_scale) { in ToString() argument
113 std::string value(ToString(bytecode)); in ToString()
124 Bytecode Bytecodes::GetDebugBreak(Bytecode bytecode) { in GetDebugBreak() argument
125 DCHECK(!IsDebugBreak(bytecode)); in GetDebugBreak()
126 if (bytecode == Bytecode::kWide) { in GetDebugBreak()
129 if (bytecode == Bytecode::kExtraWide) { in GetDebugBreak()
132 int bytecode_size = Size(bytecode, OperandScale::kSingle); in GetDebugBreak()
143 int Bytecodes::GetOperandOffset(Bytecode bytecode, int i, in GetOperandOffset() argument
145 DCHECK_LT(i, Bytecodes::NumberOfOperands(bytecode)); in GetOperandOffset()
150 GetOperandSize(bytecode, operand_index, operand_scale); in GetOperandOffset()
157 Bytecode Bytecodes::GetJumpWithoutToBoolean(Bytecode bytecode) { in GetJumpWithoutToBoolean() argument
158 switch (bytecode) { in GetJumpWithoutToBoolean()
174 bool Bytecodes::IsDebugBreak(Bytecode bytecode) { in IsDebugBreak() argument
175 switch (bytecode) { in IsDebugBreak()
214 bool Bytecodes::MakesCallAlongCriticalPath(Bytecode bytecode) { in MakesCallAlongCriticalPath() argument
215 if (IsCallOrConstruct(bytecode) || IsCallRuntime(bytecode)) return true; in MakesCallAlongCriticalPath()
216 switch (bytecode) { in MakesCallAlongCriticalPath()
264 bool Bytecodes::IsStarLookahead(Bytecode bytecode, OperandScale operand_scale) { in IsStarLookahead() argument
266 switch (bytecode) { in IsStarLookahead()
306 bool Bytecodes::IsBytecodeWithScalableOperands(Bytecode bytecode) { in IsBytecodeWithScalableOperands() argument
307 for (int i = 0; i < NumberOfOperands(bytecode); i++) { in IsBytecodeWithScalableOperands()
308 if (OperandIsScalable(bytecode, i)) return true; in IsBytecodeWithScalableOperands()
326 bool Bytecodes::BytecodeHasHandler(Bytecode bytecode, in BytecodeHasHandler() argument
329 Bytecodes::IsBytecodeWithScalableOperands(bytecode); in BytecodeHasHandler()
332 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode) { in operator <<() argument
333 return os << Bytecodes::ToString(bytecode); in operator <<()