Debian Codegraph @

visa/iga/IGALibrary/Frontend/FormatterJSON.hpp

raw
1 /*========================== begin_copyright_notice ============================
2
3 Copyright (C) 2021 Intel Corporation
4
5 SPDX-License-Identifier: MIT
6
7 ============================= end_copyright_notice ===========================*/
8
9 #ifndef _IGA_FORMATTER_JSON
10 #define _IGA_FORMATTER_JSON
11
12 #include "Formatter.hpp"
13
14 namespace iga {
15 void FormatJSON(std::ostream &o, const FormatOpts &opts, const Kernel &k,
16 const void *bits);
17
18 void FormatInstructionJSON1(std::ostream &o, const FormatOpts &opts,
19 const Instruction &i, const void *bits);
20 void FormatInstructionJSON2(std::ostream &o, const FormatOpts &opts,
21 const Instruction &i, const void *bits);
22 } // namespace iga
23
24 #endif // _IGA_FORMATTER_JSON