1
2
3 package ir
4
5 import "strconv"
6
7 func _() {
8
9
10 var x [1]struct{}
11 _ = x[OXXX-0]
12 _ = x[ONAME-1]
13 _ = x[ONONAME-2]
14 _ = x[OTYPE-3]
15 _ = x[OPACK-4]
16 _ = x[OLITERAL-5]
17 _ = x[ONIL-6]
18 _ = x[OADD-7]
19 _ = x[OSUB-8]
20 _ = x[OOR-9]
21 _ = x[OXOR-10]
22 _ = x[OADDSTR-11]
23 _ = x[OADDR-12]
24 _ = x[OANDAND-13]
25 _ = x[OAPPEND-14]
26 _ = x[OBYTES2STR-15]
27 _ = x[OBYTES2STRTMP-16]
28 _ = x[ORUNES2STR-17]
29 _ = x[OSTR2BYTES-18]
30 _ = x[OSTR2BYTESTMP-19]
31 _ = x[OSTR2RUNES-20]
32 _ = x[OSLICE2ARRPTR-21]
33 _ = x[OAS-22]
34 _ = x[OAS2-23]
35 _ = x[OAS2DOTTYPE-24]
36 _ = x[OAS2FUNC-25]
37 _ = x[OAS2MAPR-26]
38 _ = x[OAS2RECV-27]
39 _ = x[OASOP-28]
40 _ = x[OCALL-29]
41 _ = x[OCALLFUNC-30]
42 _ = x[OCALLMETH-31]
43 _ = x[OCALLINTER-32]
44 _ = x[OCAP-33]
45 _ = x[OCLOSE-34]
46 _ = x[OCLOSURE-35]
47 _ = x[OCOMPLIT-36]
48 _ = x[OMAPLIT-37]
49 _ = x[OSTRUCTLIT-38]
50 _ = x[OARRAYLIT-39]
51 _ = x[OSLICELIT-40]
52 _ = x[OPTRLIT-41]
53 _ = x[OCONV-42]
54 _ = x[OCONVIFACE-43]
55 _ = x[OCONVIDATA-44]
56 _ = x[OCONVNOP-45]
57 _ = x[OCOPY-46]
58 _ = x[ODCL-47]
59 _ = x[ODCLFUNC-48]
60 _ = x[ODCLCONST-49]
61 _ = x[ODCLTYPE-50]
62 _ = x[ODELETE-51]
63 _ = x[ODOT-52]
64 _ = x[ODOTPTR-53]
65 _ = x[ODOTMETH-54]
66 _ = x[ODOTINTER-55]
67 _ = x[OXDOT-56]
68 _ = x[ODOTTYPE-57]
69 _ = x[ODOTTYPE2-58]
70 _ = x[OEQ-59]
71 _ = x[ONE-60]
72 _ = x[OLT-61]
73 _ = x[OLE-62]
74 _ = x[OGE-63]
75 _ = x[OGT-64]
76 _ = x[ODEREF-65]
77 _ = x[OINDEX-66]
78 _ = x[OINDEXMAP-67]
79 _ = x[OKEY-68]
80 _ = x[OSTRUCTKEY-69]
81 _ = x[OLEN-70]
82 _ = x[OMAKE-71]
83 _ = x[OMAKECHAN-72]
84 _ = x[OMAKEMAP-73]
85 _ = x[OMAKESLICE-74]
86 _ = x[OMAKESLICECOPY-75]
87 _ = x[OMUL-76]
88 _ = x[ODIV-77]
89 _ = x[OMOD-78]
90 _ = x[OLSH-79]
91 _ = x[ORSH-80]
92 _ = x[OAND-81]
93 _ = x[OANDNOT-82]
94 _ = x[ONEW-83]
95 _ = x[ONOT-84]
96 _ = x[OBITNOT-85]
97 _ = x[OPLUS-86]
98 _ = x[ONEG-87]
99 _ = x[OOROR-88]
100 _ = x[OPANIC-89]
101 _ = x[OPRINT-90]
102 _ = x[OPRINTN-91]
103 _ = x[OPAREN-92]
104 _ = x[OSEND-93]
105 _ = x[OSLICE-94]
106 _ = x[OSLICEARR-95]
107 _ = x[OSLICESTR-96]
108 _ = x[OSLICE3-97]
109 _ = x[OSLICE3ARR-98]
110 _ = x[OSLICEHEADER-99]
111 _ = x[ORECOVER-100]
112 _ = x[ORECOVERFP-101]
113 _ = x[ORECV-102]
114 _ = x[ORUNESTR-103]
115 _ = x[OSELRECV2-104]
116 _ = x[OIOTA-105]
117 _ = x[OREAL-106]
118 _ = x[OIMAG-107]
119 _ = x[OCOMPLEX-108]
120 _ = x[OALIGNOF-109]
121 _ = x[OOFFSETOF-110]
122 _ = x[OSIZEOF-111]
123 _ = x[OUNSAFEADD-112]
124 _ = x[OUNSAFESLICE-113]
125 _ = x[OMETHEXPR-114]
126 _ = x[OMETHVALUE-115]
127 _ = x[OBLOCK-116]
128 _ = x[OBREAK-117]
129 _ = x[OCASE-118]
130 _ = x[OCONTINUE-119]
131 _ = x[ODEFER-120]
132 _ = x[OFALL-121]
133 _ = x[OFOR-122]
134 _ = x[OFORUNTIL-123]
135 _ = x[OGOTO-124]
136 _ = x[OIF-125]
137 _ = x[OLABEL-126]
138 _ = x[OGO-127]
139 _ = x[ORANGE-128]
140 _ = x[ORETURN-129]
141 _ = x[OSELECT-130]
142 _ = x[OSWITCH-131]
143 _ = x[OTYPESW-132]
144 _ = x[OFUNCINST-133]
145 _ = x[OTCHAN-134]
146 _ = x[OTMAP-135]
147 _ = x[OTSTRUCT-136]
148 _ = x[OTINTER-137]
149 _ = x[OTFUNC-138]
150 _ = x[OTARRAY-139]
151 _ = x[OTSLICE-140]
152 _ = x[OINLCALL-141]
153 _ = x[OEFACE-142]
154 _ = x[OITAB-143]
155 _ = x[OIDATA-144]
156 _ = x[OSPTR-145]
157 _ = x[OCFUNC-146]
158 _ = x[OCHECKNIL-147]
159 _ = x[OVARDEF-148]
160 _ = x[OVARKILL-149]
161 _ = x[OVARLIVE-150]
162 _ = x[ORESULT-151]
163 _ = x[OINLMARK-152]
164 _ = x[OLINKSYMOFFSET-153]
165 _ = x[ODYNAMICDOTTYPE-154]
166 _ = x[ODYNAMICDOTTYPE2-155]
167 _ = x[ODYNAMICTYPE-156]
168 _ = x[OTAILCALL-157]
169 _ = x[OGETG-158]
170 _ = x[OGETCALLERPC-159]
171 _ = x[OGETCALLERSP-160]
172 _ = x[OEND-161]
173 }
174
175 const _Op_name = "XXXNAMENONAMETYPEPACKLITERALNILADDSUBORXORADDSTRADDRANDANDAPPENDBYTES2STRBYTES2STRTMPRUNES2STRSTR2BYTESSTR2BYTESTMPSTR2RUNESSLICE2ARRPTRASAS2AS2DOTTYPEAS2FUNCAS2MAPRAS2RECVASOPCALLCALLFUNCCALLMETHCALLINTERCAPCLOSECLOSURECOMPLITMAPLITSTRUCTLITARRAYLITSLICELITPTRLITCONVCONVIFACECONVIDATACONVNOPCOPYDCLDCLFUNCDCLCONSTDCLTYPEDELETEDOTDOTPTRDOTMETHDOTINTERXDOTDOTTYPEDOTTYPE2EQNELTLEGEGTDEREFINDEXINDEXMAPKEYSTRUCTKEYLENMAKEMAKECHANMAKEMAPMAKESLICEMAKESLICECOPYMULDIVMODLSHRSHANDANDNOTNEWNOTBITNOTPLUSNEGORORPANICPRINTPRINTNPARENSENDSLICESLICEARRSLICESTRSLICE3SLICE3ARRSLICEHEADERRECOVERRECOVERFPRECVRUNESTRSELRECV2IOTAREALIMAGCOMPLEXALIGNOFOFFSETOFSIZEOFUNSAFEADDUNSAFESLICEMETHEXPRMETHVALUEBLOCKBREAKCASECONTINUEDEFERFALLFORFORUNTILGOTOIFLABELGORANGERETURNSELECTSWITCHTYPESWFUNCINSTTCHANTMAPTSTRUCTTINTERTFUNCTARRAYTSLICEINLCALLEFACEITABIDATASPTRCFUNCCHECKNILVARDEFVARKILLVARLIVERESULTINLMARKLINKSYMOFFSETDYNAMICDOTTYPEDYNAMICDOTTYPE2DYNAMICTYPETAILCALLGETGGETCALLERPCGETCALLERSPEND"
176
177 var _Op_index = [...]uint16{0, 3, 7, 13, 17, 21, 28, 31, 34, 37, 39, 42, 48, 52, 58, 64, 73, 85, 94, 103, 115, 124, 136, 138, 141, 151, 158, 165, 172, 176, 180, 188, 196, 205, 208, 213, 220, 227, 233, 242, 250, 258, 264, 268, 277, 286, 293, 297, 300, 307, 315, 322, 328, 331, 337, 344, 352, 356, 363, 371, 373, 375, 377, 379, 381, 383, 388, 393, 401, 404, 413, 416, 420, 428, 435, 444, 457, 460, 463, 466, 469, 472, 475, 481, 484, 487, 493, 497, 500, 504, 509, 514, 520, 525, 529, 534, 542, 550, 556, 565, 576, 583, 592, 596, 603, 611, 615, 619, 623, 630, 637, 645, 651, 660, 671, 679, 688, 693, 698, 702, 710, 715, 719, 722, 730, 734, 736, 741, 743, 748, 754, 760, 766, 772, 780, 785, 789, 796, 802, 807, 813, 819, 826, 831, 835, 840, 844, 849, 857, 863, 870, 877, 883, 890, 903, 917, 932, 943, 951, 955, 966, 977, 980}
178
179 func (i Op) String() string {
180 if i >= Op(len(_Op_index)-1) {
181 return "Op(" + strconv.FormatInt(int64(i), 10) + ")"
182 }
183 return _Op_name[_Op_index[i]:_Op_index[i+1]]
184 }
185
View as plain text