Home
last modified time | relevance | path

Searched refs:operand_scale (Results 1 – 14 of 14) sorted by relevance

/external/v8/src/interpreter/
Dbytecode-decoder.cc18 OperandScale operand_scale) { in DecodeRegisterOperand() argument
21 DecodeSignedOperand(operand_start, operand_type, operand_scale); in DecodeRegisterOperand()
28 OperandScale operand_scale) { in DecodeRegisterListOperand() argument
30 DecodeRegisterOperand(operand_start, operand_type, operand_scale); in DecodeRegisterListOperand()
37 OperandScale operand_scale) { in DecodeSignedOperand() argument
39 switch (Bytecodes::SizeOfOperand(operand_type, operand_scale)) { in DecodeSignedOperand()
55 OperandScale operand_scale) { in DecodeUnsignedOperand() argument
57 switch (Bytecodes::SizeOfOperand(operand_type, operand_scale)) { in DecodeUnsignedOperand()
93 OperandScale operand_scale = OperandScale::kSingle; in Decode() local
96 operand_scale = Bytecodes::PrefixBytecodeToOperandScale(bytecode); in Decode()
[all …]
Dbytecodes.cc74 std::string Bytecodes::ToString(Bytecode bytecode, OperandScale operand_scale) { in ToString() argument
78 if (operand_scale > OperandScale::kSingle) { in ToString()
79 Bytecode prefix_bytecode = OperandScaleToPrefixBytecode(operand_scale); in ToString()
109 OperandScale operand_scale) { in GetOperandOffset() argument
115 GetOperandSize(bytecode, operand_index, operand_scale); in GetOperandOffset()
219 bool Bytecodes::IsStarLookahead(Bytecode bytecode, OperandScale operand_scale) { in IsStarLookahead() argument
220 if (operand_scale == OperandScale::kSingle) { in IsStarLookahead()
276 OperandScale operand_scale) { in SizeOfOperand() argument
278 DCHECK_GE(operand_scale, OperandScale::kSingle); in SizeOfOperand()
279 DCHECK_LE(operand_scale, OperandScale::kLast); in SizeOfOperand()
[all …]
Dbytecode-decoder.h23 OperandScale operand_scale);
29 OperandScale operand_scale);
34 OperandScale operand_scale);
39 OperandScale operand_scale);
Dbytecode-array-writer.cc108 OperandScale operand_scale = node->operand_scale(); in EmitBytecode() local
110 if (operand_scale != OperandScale::kSingle) { in EmitBytecode()
111 Bytecode prefix = Bytecodes::OperandScaleToPrefixBytecode(operand_scale); in EmitBytecode()
119 Bytecodes::GetOperandSizes(bytecode, operand_scale); in EmitBytecode()
255 OperandScale operand_scale = OperandScale::kSingle; in PatchJump() local
261 operand_scale = Bytecodes::PrefixBytecodeToOperandScale(jump_bytecode); in PatchJump()
267 switch (operand_scale) { in PatchJump()
294 OperandScale operand_scale = Bytecodes::ScaleForUnsignedOperand(delta); in EmitJump() local
295 if (operand_scale > OperandScale::kSingle) { in EmitJump()
Dbytecode-operands.cc42 const char* OperandScaleToString(OperandScale operand_scale) { in OperandScaleToString() argument
43 switch (operand_scale) { in OperandScaleToString()
79 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale) { in operator <<() argument
80 return os << OperandScaleToString(operand_scale); in operator <<()
Dbytecodes.h416 static std::string ToString(Bytecode bytecode, OperandScale operand_scale);
433 static Bytecode OperandScaleToPrefixBytecode(OperandScale operand_scale) { in OperandScaleToPrefixBytecode() argument
434 switch (operand_scale) { in OperandScaleToPrefixBytecode()
446 static bool OperandScaleRequiresPrefixBytecode(OperandScale operand_scale) { in OperandScaleRequiresPrefixBytecode() argument
447 return operand_scale != OperandScale::kSingle; in OperandScaleRequiresPrefixBytecode()
696 OperandScale operand_scale) { in GetOperandSize() argument
698 return GetOperandSizes(bytecode, operand_scale)[i]; in GetOperandSize()
703 OperandScale operand_scale) { in GetOperandSizes() argument
705 DCHECK_GE(operand_scale, OperandScale::kSingle); in GetOperandSizes()
706 DCHECK_LE(operand_scale, OperandScale::kLast); in GetOperandSizes()
[all …]
Dinterpreter-assembler.cc29 OperandScale operand_scale) in InterpreterAssembler() argument
32 operand_scale_(operand_scale), in InterpreterAssembler()
246 Bytecodes::GetOperandOffset(bytecode_, operand_index, operand_scale())); in OperandOffset()
252 bytecode_, operand_index, operand_scale())); in BytecodeOperandUnsignedByte()
261 bytecode_, operand_index, operand_scale())); in BytecodeOperandSignedByte()
322 Bytecodes::GetOperandSize(bytecode_, operand_index, operand_scale())); in BytecodeOperandUnsignedShort()
324 Bytecodes::GetOperandOffset(bytecode_, operand_index, operand_scale()); in BytecodeOperandUnsignedShort()
337 Bytecodes::GetOperandSize(bytecode_, operand_index, operand_scale())); in BytecodeOperandSignedShort()
339 Bytecodes::GetOperandOffset(bytecode_, operand_index, operand_scale()); in BytecodeOperandSignedShort()
351 bytecode_, operand_index, operand_scale())); in BytecodeOperandUnsignedQuad()
[all …]
Dinterpreter.h50 Code* GetBytecodeHandler(Bytecode bytecode, OperandScale operand_scale);
84 OperandScale operand_scale,
171 OperandScale operand_scale);
Dinterpreter-assembler.h24 OperandScale operand_scale);
207 void DispatchWide(OperandScale operand_scale);
337 OperandScale operand_scale() const { return operand_scale_; } in operand_scale() function
Dbytecode-traits.h46 template <OperandType operand_type, OperandScale operand_scale>
64 operand_scale>::kSize;
Dbytecode-pipeline.h245 OperandScale operand_scale() const { return operand_scale_; } in NON_EXPORTED_BASE()
261 OperandScale operand_scale, in NON_EXPORTED_BASE()
267 operand_scale_(operand_scale), in NON_EXPORTED_BASE()
Dbytecode-operands.h129 const OperandScale& operand_scale);
Dinterpreter.cc114 for (OperandScale operand_scale : kOperandScales) { in Initialize() local
116 InstallBytecodeHandler(&zone, Bytecode::k##Name, operand_scale, \ in Initialize()
136 OperandScale operand_scale, in InstallBytecodeHandler() argument
138 if (!Bytecodes::BytecodeHasHandler(bytecode, operand_scale)) return; in InstallBytecodeHandler()
144 InterpreterAssembler assembler(&state, bytecode, operand_scale); in InstallBytecodeHandler()
150 size_t index = GetDispatchTableIndex(bytecode, operand_scale); in InstallBytecodeHandler()
156 Bytecodes::ToString(bytecode, operand_scale).c_str())); in InstallBytecodeHandler()
160 OperandScale operand_scale) { in GetBytecodeHandler() argument
162 DCHECK(Bytecodes::BytecodeHasHandler(bytecode, operand_scale)); in GetBytecodeHandler()
163 size_t index = GetDispatchTableIndex(bytecode, operand_scale); in GetBytecodeHandler()
[all …]
/external/v8/src/
Dlog.cc1576 for (auto operand_scale : kOperandScales) { in LogBytecodeHandlers() local
1579 if (interpreter::Bytecodes::BytecodeHasHandler(bytecode, operand_scale)) { in LogBytecodeHandlers()
1580 Code* code = interpreter->GetBytecodeHandler(bytecode, operand_scale); in LogBytecodeHandlers()
1582 interpreter::Bytecodes::ToString(bytecode, operand_scale); in LogBytecodeHandlers()