Home | History | Annotate | Download | only in llvm-readobj

Lines Matching refs:Decoder

24 // This layout is parsed by Decoder::dumpPackedEntry.  No unwind bytecode is
26 // The decoder does not synthesize this data as it is unnecessary for the
38 // describing how to unwind the function (c.f. Decoder::decodeOpcodes).
46 // This layout is parsed by Decoder::dumpUnpackedEntry. Such an entry must
52 // up the bulk of the Decoder.
54 // The decoder itself is table-driven, using the first byte to determine the
117 const size_t Decoder::PDataEntrySize = sizeof(RuntimeFunction);
120 const Decoder::RingEntry Decoder::Ring[] = {
121 { 0x80, 0x00, &Decoder::opcode_0xxxxxxx }, // UOP_STACK_FREE (16-bit)
122 { 0xc0, 0x80, &Decoder::opcode_10Lxxxxx }, // UOP_POP (32-bit)
123 { 0xf0, 0xc0, &Decoder::opcode_1100xxxx }, // UOP_STACK_SAVE (16-bit)
124 { 0xf8, 0xd0, &Decoder::opcode_11010Lxx }, // UOP_POP (16-bit)
125 { 0xf8, 0xd8, &Decoder::opcode_11011Lxx }, // UOP_POP (32-bit)
126 { 0xf8, 0xe0, &Decoder::opcode_11100xxx }, // UOP_VPOP (32-bit)
127 { 0xfc, 0xe8, &Decoder::opcode_111010xx }, // UOP_STACK_FREE (32-bit)
128 { 0xfe, 0xec, &Decoder::opcode_1110110L }, // UOP_POP (16-bit)
129 { 0xff, 0xee, &Decoder::opcode_11101110 }, // UOP_MICROSOFT_SPECIFIC (16-bit)
134 { 0xff, 0xef, &Decoder::opcode_11101111 }, // UOP_LDRPC_POSTINC (32-bit)
135 { 0xff, 0xf5, &Decoder::opcode_11110101 }, // UOP_VPOP (32-bit)
136 { 0xff, 0xf6, &Decoder::opcode_11110110 }, // UOP_VPOP (32-bit)
137 { 0xff, 0xf7, &Decoder::opcode_11110111 }, // UOP_STACK_RESTORE (16-bit)
138 { 0xff, 0xf8, &Decoder::opcode_11111000 }, // UOP_STACK_RESTORE (16-bit)
139 { 0xff, 0xf9, &Decoder::opcode_11111001 }, // UOP_STACK_RESTORE (32-bit)
140 { 0xff, 0xfa, &Decoder::opcode_11111010 }, // UOP_STACK_RESTORE (32-bit)
141 { 0xff, 0xfb, &Decoder::opcode_11111011 }, // UOP_NOP (16-bit)
142 { 0xff, 0xfc, &Decoder::opcode_11111100 }, // UOP_NOP (32-bit)
143 { 0xff, 0xfd, &Decoder::opcode_11111101 }, // UOP_NOP (16-bit) / END
144 { 0xff, 0xfe, &Decoder::opcode_11111110 }, // UOP_NOP (32-bit) / END
145 { 0xff, 0xff, &Decoder::opcode_11111111 }, // UOP_END
148 void Decoder::printRegisters(const std::pair<uint16_t, uint32_t> &RegisterMask) {
187 Decoder::getSectionContaining(const COFFObjectFile &COFF, uint64_t VA) {
198 ErrorOr<object::SymbolRef> Decoder::getSymbol(const COFFObjectFile &COFF,
216 ErrorOr<SymbolRef> Decoder::getRelocatedSymbol(const COFFObjectFile &,
227 bool Decoder::opcode_0xxxxxxx(const uint8_t *OC, unsigned &Offset,
238 bool Decoder::opcode_10Lxxxxx(const uint8_t *OC, unsigned &Offset,
257 bool Decoder::opcode_1100xxxx(const uint8_t *OC, unsigned &Offset,
269 bool Decoder::opcode_11010Lxx(const uint8_t *OC, unsigned &Offset,
286 bool Decoder::opcode_11011Lxx(const uint8_t *OC, unsigned &Offset,
303 bool Decoder::opcode_11100xxx(const uint8_t *OC, unsigned &Offset,
317 bool Decoder::opcode_111010xx(const uint8_t *OC, unsigned &Offset,
330 bool Decoder::opcode_1110110L(const uint8_t *OC, unsigned &Offset,
344 bool Decoder::opcode_11101110(const uint8_t *OC, unsigned &Offset,
360 bool Decoder::opcode_11101111(const uint8_t *OC, unsigned &Offset,
376 bool Decoder::opcode_11110101(const uint8_t *OC, unsigned &Offset,
391 bool Decoder::opcode_11110110(const uint8_t *OC, unsigned &Offset,
406 bool Decoder::opcode_11110111(const uint8_t *OC, unsigned &Offset,
419 bool Decoder::opcode_11111000(const uint8_t *OC, unsigned &Offset,
434 bool Decoder::opcode_11111001(const uint8_t *OC, unsigned &Offset,
447 bool Decoder::opcode_11111010(const uint8_t *OC, unsigned &Offset,
462 bool Decoder::opcode_11111011(const uint8_t *OC, unsigned &Offset,
469 bool Decoder::opcode_11111100(const uint8_t *OC, unsigned &Offset,
476 bool Decoder::opcode_11111101(const uint8_t *OC, unsigned &Offset,
483 bool Decoder::opcode_11111110(const uint8_t *OC, unsigned &Offset,
490 bool Decoder::opcode_11111111(const uint8_t *OC, unsigned &Offset,
496 void Decoder::decodeOpcodes(ArrayRef<uint8_t> Opcodes, unsigned Offset,
512 bool Decoder::dumpXDataRecord(const COFFObjectFile &COFF,
590 bool Decoder::dumpUnpackedEntry(const COFFObjectFile &COFF,
688 bool Decoder::dumpPackedEntry(const object::COFFObjectFile &COFF,
741 bool Decoder::dumpProcedureDataEntry(const COFFObjectFile &COFF,
755 void Decoder::dumpProcedureData(const COFFObjectFile &COFF,
771 std::error_code Decoder::dumpProcedureData(const COFFObjectFile &COFF) {