| 1 | //===-- RISCVInstPrinter.h - Convert RISCV MCInst to asm syntax ---*- C++ -*--// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This class prints a RISCV MCInst to a .s file. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #ifndef CS_RISCVINSTPRINTER_H |
| 15 | #define CS_RISCVINSTPRINTER_H |
| 16 | |
| 17 | #include "../../MCInst.h" |
| 18 | #include "../../SStream.h" |
| 19 | |
| 20 | void RISCV_printInst(MCInst * MI, SStream * O, void *info); |
| 21 | |
| 22 | void RISCV_post_printer(csh ud, cs_insn * insn, char *insn_asm, MCInst * mci); |
| 23 | |
| 24 | #endif |