Lines Matching refs:Decoder
44 // Decoder decodes and disassembles instructions into an output buffer.
47 class Decoder {
49 Decoder(const disasm::NameConverter& converter, Vector<char> out_buffer)
54 ~Decoder() {}
89 DISALLOW_COPY_AND_ASSIGN(Decoder);
92 // Support for assertions in the Decoder formatting functions.
97 void Decoder::PrintChar(const char ch) { out_buffer_[out_buffer_pos_++] = ch; }
100 void Decoder::Print(const char* str) {
110 void Decoder::PrintRegister(int reg) {
115 void Decoder::PrintDRegister(int reg) {
121 void Decoder::PrintSoftwareInterrupt(SoftwareInterruptCodes svc) {
142 int Decoder::FormatRegister(Instruction* instr, const char* format) {
194 int Decoder::FormatFloatingRegister(Instruction* instr, const char* format) {
233 int Decoder::FormatOption(Instruction* instr, const char* format) {
310 int Decoder::FormatMask(Instruction* instr, const char* format) {
331 int Decoder::FormatDisplacement(Instruction* instr, const char* format) {
362 int Decoder::FormatImmediate(Instruction* instr, const char* format) {
465 void Decoder::Format(Instruction* instr, const char* format) {
488 void Decoder::Unknown(Instruction* instr) { Format(instr, "unknown"); }
493 void Decoder::UnknownFormat(Instruction* instr, const char* name) {
501 bool Decoder::DecodeTwoByte(Instruction* instr) {
576 bool Decoder::DecodeFourByte(Instruction* instr) {
1080 bool Decoder::DecodeSixByte(Instruction* instr) {
1469 int Decoder::InstructionDecode(byte* instr_ptr) {
1530 v8::internal::Decoder d(converter_, buffer);