[Xtensa 7/10] Add Xtensa instruction printer
authorAndrei Safronov <andrei.safronov@espressif.com>
Mon, 26 Dec 2022 10:55:06 +0000 (11:55 +0100)
committerstefan.stipanovic <stefan.stipanovic@espressif.com>
Mon, 26 Dec 2022 12:30:51 +0000 (13:30 +0100)
commit2758a01395148790377af95606c623405b08f0e6
tree6f0a2e1be54f167de82d83bf25c1618782191b1e
parent52ecf023ed2430ba6d6c9804869184458b01f4ce
[Xtensa 7/10] Add Xtensa instruction printer

Add printer for current instructions and operands subsets.
Also add basic tests of the Xtensa instructions.

Differential Revision: https://reviews.llvm.org/D64833
13 files changed:
llvm/lib/Target/Xtensa/CMakeLists.txt
llvm/lib/Target/Xtensa/MCTargetDesc/CMakeLists.txt
llvm/lib/Target/Xtensa/MCTargetDesc/XtensaInstPrinter.cpp [new file with mode: 0644]
llvm/lib/Target/Xtensa/MCTargetDesc/XtensaInstPrinter.h [new file with mode: 0644]
llvm/lib/Target/Xtensa/MCTargetDesc/XtensaMCTargetDesc.cpp
llvm/lib/Target/Xtensa/Xtensa.td
llvm/test/MC/Xtensa/Core/arith.s [new file with mode: 0644]
llvm/test/MC/Xtensa/Core/invalid.s [new file with mode: 0644]
llvm/test/MC/Xtensa/Core/memorder.s [new file with mode: 0644]
llvm/test/MC/Xtensa/Core/move.s [new file with mode: 0644]
llvm/test/MC/Xtensa/Core/processor-control.s [new file with mode: 0644]
llvm/test/MC/Xtensa/Misc/elf-header.s [new file with mode: 0644]
llvm/test/MC/Xtensa/lit.local.cfg [new file with mode: 0644]