Debian Codegraph @

arch/Sparc/Sparc.h

raw symbols SCIP
1 //===-- Sparc.h - Top-level interface for Sparc representation --*- C++ -*-===//cxx . . $ `<file>/arch/Sparc/Sparc.h`/
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 file contains the entry points for global functions defined in the LLVM
11 // Sparc back-end.
12 //
13 //===----------------------------------------------------------------------===//
14
15 /* Capstone Disassembly Engine */
16 /* By Nguyen Anh Quynh <[email protected]>, 2013-2015 */
17
18 #ifndef CS_SPARC_TARGET_SPARC_H
19 #define CS_SPARC_TARGET_SPARC_Hcxx . . $ `arch/Sparc/Sparc.h:19:9`!
20
21 #include "capstone/sparc.h"cxx . . $ `<file>/include/capstone/sparc.h`/
22
23 inline static const char *SPARCCondCodeToStringcxx . . $ SPARCCondCodeToString(f909b4facffd4e82).(sparc_cccxx . . $ sparc_cc# CC)
24 {
25 switch (CC) {
26 default: return NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!; // unreachable
27 case SPARC_CC_ICC_Acxx . . $ SPARC_CC_ICC_A.: return "a";
28 case SPARC_CC_ICC_Ncxx . . $ SPARC_CC_ICC_N.: return "n";
29 case SPARC_CC_ICC_NEcxx . . $ SPARC_CC_ICC_NE.: return "ne";
30 case SPARC_CC_ICC_Ecxx . . $ SPARC_CC_ICC_E.: return "e";
31 case SPARC_CC_ICC_Gcxx . . $ SPARC_CC_ICC_G.: return "g";
32 case SPARC_CC_ICC_LEcxx . . $ SPARC_CC_ICC_LE.: return "le";
33 case SPARC_CC_ICC_GEcxx . . $ SPARC_CC_ICC_GE.: return "ge";
34 case SPARC_CC_ICC_Lcxx . . $ SPARC_CC_ICC_L.: return "l";
35 case SPARC_CC_ICC_GUcxx . . $ SPARC_CC_ICC_GU.: return "gu";
36 case SPARC_CC_ICC_LEUcxx . . $ SPARC_CC_ICC_LEU.: return "leu";
37 case SPARC_CC_ICC_CCcxx . . $ SPARC_CC_ICC_CC.: return "cc";
38 case SPARC_CC_ICC_CScxx . . $ SPARC_CC_ICC_CS.: return "cs";
39 case SPARC_CC_ICC_POScxx . . $ SPARC_CC_ICC_POS.: return "pos";
40 case SPARC_CC_ICC_NEGcxx . . $ SPARC_CC_ICC_NEG.: return "neg";
41 case SPARC_CC_ICC_VCcxx . . $ SPARC_CC_ICC_VC.: return "vc";
42 case SPARC_CC_ICC_VScxx . . $ SPARC_CC_ICC_VS.: return "vs";
43
44 case SPARC_CC_FCC_Acxx . . $ SPARC_CC_FCC_A.: return "a";
45 case SPARC_CC_FCC_Ncxx . . $ SPARC_CC_FCC_N.: return "n";
46 case SPARC_CC_FCC_Ucxx . . $ SPARC_CC_FCC_U.: return "u";
47 case SPARC_CC_FCC_Gcxx . . $ SPARC_CC_FCC_G.: return "g";
48 case SPARC_CC_FCC_UGcxx . . $ SPARC_CC_FCC_UG.: return "ug";
49 case SPARC_CC_FCC_Lcxx . . $ SPARC_CC_FCC_L.: return "l";
50 case SPARC_CC_FCC_ULcxx . . $ SPARC_CC_FCC_UL.: return "ul";
51 case SPARC_CC_FCC_LGcxx . . $ SPARC_CC_FCC_LG.: return "lg";
52 case SPARC_CC_FCC_NEcxx . . $ SPARC_CC_FCC_NE.: return "ne";
53 case SPARC_CC_FCC_Ecxx . . $ SPARC_CC_FCC_E.: return "e";
54 case SPARC_CC_FCC_UEcxx . . $ SPARC_CC_FCC_UE.: return "ue";
55 case SPARC_CC_FCC_GEcxx . . $ SPARC_CC_FCC_GE.: return "ge";
56 case SPARC_CC_FCC_UGEcxx . . $ SPARC_CC_FCC_UGE.: return "uge";
57 case SPARC_CC_FCC_LEcxx . . $ SPARC_CC_FCC_LE.: return "le";
58 case SPARC_CC_FCC_ULEcxx . . $ SPARC_CC_FCC_ULE.: return "ule";
59 case SPARC_CC_FCC_Ocxx . . $ SPARC_CC_FCC_O.: return "o";
60 }
61 }
62
63 #endif