github.com/gagliardetto/golang-go@v0.0.0-20201020153340-53909ea70814/cmd/compile/internal/gc/op_string.go (about) 1 // Code generated by "stringer -type Op -trimprefix O"; DO NOT EDIT. 2 3 package gc 4 5 import "strconv" 6 7 func _() { 8 // An "invalid array index" compiler error signifies that the constant values have changed. 9 // Re-run the stringer command to generate them again. 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[OADD-6] 18 _ = x[OSUB-7] 19 _ = x[OOR-8] 20 _ = x[OXOR-9] 21 _ = x[OADDSTR-10] 22 _ = x[OADDR-11] 23 _ = x[OANDAND-12] 24 _ = x[OAPPEND-13] 25 _ = x[OBYTES2STR-14] 26 _ = x[OBYTES2STRTMP-15] 27 _ = x[ORUNES2STR-16] 28 _ = x[OSTR2BYTES-17] 29 _ = x[OSTR2BYTESTMP-18] 30 _ = x[OSTR2RUNES-19] 31 _ = x[OAS-20] 32 _ = x[OAS2-21] 33 _ = x[OAS2DOTTYPE-22] 34 _ = x[OAS2FUNC-23] 35 _ = x[OAS2MAPR-24] 36 _ = x[OAS2RECV-25] 37 _ = x[OASOP-26] 38 _ = x[OCALL-27] 39 _ = x[OCALLFUNC-28] 40 _ = x[OCALLMETH-29] 41 _ = x[OCALLINTER-30] 42 _ = x[OCALLPART-31] 43 _ = x[OCAP-32] 44 _ = x[OCLOSE-33] 45 _ = x[OCLOSURE-34] 46 _ = x[OCOMPLIT-35] 47 _ = x[OMAPLIT-36] 48 _ = x[OSTRUCTLIT-37] 49 _ = x[OARRAYLIT-38] 50 _ = x[OSLICELIT-39] 51 _ = x[OPTRLIT-40] 52 _ = x[OCONV-41] 53 _ = x[OCONVIFACE-42] 54 _ = x[OCONVNOP-43] 55 _ = x[OCOPY-44] 56 _ = x[ODCL-45] 57 _ = x[ODCLFUNC-46] 58 _ = x[ODCLFIELD-47] 59 _ = x[ODCLCONST-48] 60 _ = x[ODCLTYPE-49] 61 _ = x[ODELETE-50] 62 _ = x[ODOT-51] 63 _ = x[ODOTPTR-52] 64 _ = x[ODOTMETH-53] 65 _ = x[ODOTINTER-54] 66 _ = x[OXDOT-55] 67 _ = x[ODOTTYPE-56] 68 _ = x[ODOTTYPE2-57] 69 _ = x[OEQ-58] 70 _ = x[ONE-59] 71 _ = x[OLT-60] 72 _ = x[OLE-61] 73 _ = x[OGE-62] 74 _ = x[OGT-63] 75 _ = x[ODEREF-64] 76 _ = x[OINDEX-65] 77 _ = x[OINDEXMAP-66] 78 _ = x[OKEY-67] 79 _ = x[OSTRUCTKEY-68] 80 _ = x[OLEN-69] 81 _ = x[OMAKE-70] 82 _ = x[OMAKECHAN-71] 83 _ = x[OMAKEMAP-72] 84 _ = x[OMAKESLICE-73] 85 _ = x[OMUL-74] 86 _ = x[ODIV-75] 87 _ = x[OMOD-76] 88 _ = x[OLSH-77] 89 _ = x[ORSH-78] 90 _ = x[OAND-79] 91 _ = x[OANDNOT-80] 92 _ = x[ONEW-81] 93 _ = x[ONEWOBJ-82] 94 _ = x[ONOT-83] 95 _ = x[OBITNOT-84] 96 _ = x[OPLUS-85] 97 _ = x[ONEG-86] 98 _ = x[OOROR-87] 99 _ = x[OPANIC-88] 100 _ = x[OPRINT-89] 101 _ = x[OPRINTN-90] 102 _ = x[OPAREN-91] 103 _ = x[OSEND-92] 104 _ = x[OSLICE-93] 105 _ = x[OSLICEARR-94] 106 _ = x[OSLICESTR-95] 107 _ = x[OSLICE3-96] 108 _ = x[OSLICE3ARR-97] 109 _ = x[OSLICEHEADER-98] 110 _ = x[ORECOVER-99] 111 _ = x[ORECV-100] 112 _ = x[ORUNESTR-101] 113 _ = x[OSELRECV-102] 114 _ = x[OSELRECV2-103] 115 _ = x[OIOTA-104] 116 _ = x[OREAL-105] 117 _ = x[OIMAG-106] 118 _ = x[OCOMPLEX-107] 119 _ = x[OALIGNOF-108] 120 _ = x[OOFFSETOF-109] 121 _ = x[OSIZEOF-110] 122 _ = x[OBLOCK-111] 123 _ = x[OBREAK-112] 124 _ = x[OCASE-113] 125 _ = x[OCONTINUE-114] 126 _ = x[ODEFER-115] 127 _ = x[OEMPTY-116] 128 _ = x[OFALL-117] 129 _ = x[OFOR-118] 130 _ = x[OFORUNTIL-119] 131 _ = x[OGOTO-120] 132 _ = x[OIF-121] 133 _ = x[OLABEL-122] 134 _ = x[OGO-123] 135 _ = x[ORANGE-124] 136 _ = x[ORETURN-125] 137 _ = x[OSELECT-126] 138 _ = x[OSWITCH-127] 139 _ = x[OTYPESW-128] 140 _ = x[OTCHAN-129] 141 _ = x[OTMAP-130] 142 _ = x[OTSTRUCT-131] 143 _ = x[OTINTER-132] 144 _ = x[OTFUNC-133] 145 _ = x[OTARRAY-134] 146 _ = x[ODDD-135] 147 _ = x[ODDDARG-136] 148 _ = x[OINLCALL-137] 149 _ = x[OEFACE-138] 150 _ = x[OITAB-139] 151 _ = x[OIDATA-140] 152 _ = x[OSPTR-141] 153 _ = x[OCLOSUREVAR-142] 154 _ = x[OCFUNC-143] 155 _ = x[OCHECKNIL-144] 156 _ = x[OVARDEF-145] 157 _ = x[OVARKILL-146] 158 _ = x[OVARLIVE-147] 159 _ = x[ORESULT-148] 160 _ = x[OINLMARK-149] 161 _ = x[ORETJMP-150] 162 _ = x[OGETG-151] 163 _ = x[OEND-152] 164 } 165 166 const _Op_name = "XXXNAMENONAMETYPEPACKLITERALADDSUBORXORADDSTRADDRANDANDAPPENDBYTES2STRBYTES2STRTMPRUNES2STRSTR2BYTESSTR2BYTESTMPSTR2RUNESASAS2AS2DOTTYPEAS2FUNCAS2MAPRAS2RECVASOPCALLCALLFUNCCALLMETHCALLINTERCALLPARTCAPCLOSECLOSURECOMPLITMAPLITSTRUCTLITARRAYLITSLICELITPTRLITCONVCONVIFACECONVNOPCOPYDCLDCLFUNCDCLFIELDDCLCONSTDCLTYPEDELETEDOTDOTPTRDOTMETHDOTINTERXDOTDOTTYPEDOTTYPE2EQNELTLEGEGTDEREFINDEXINDEXMAPKEYSTRUCTKEYLENMAKEMAKECHANMAKEMAPMAKESLICEMULDIVMODLSHRSHANDANDNOTNEWNEWOBJNOTBITNOTPLUSNEGORORPANICPRINTPRINTNPARENSENDSLICESLICEARRSLICESTRSLICE3SLICE3ARRSLICEHEADERRECOVERRECVRUNESTRSELRECVSELRECV2IOTAREALIMAGCOMPLEXALIGNOFOFFSETOFSIZEOFBLOCKBREAKCASECONTINUEDEFEREMPTYFALLFORFORUNTILGOTOIFLABELGORANGERETURNSELECTSWITCHTYPESWTCHANTMAPTSTRUCTTINTERTFUNCTARRAYDDDDDDARGINLCALLEFACEITABIDATASPTRCLOSUREVARCFUNCCHECKNILVARDEFVARKILLVARLIVERESULTINLMARKRETJMPGETGEND" 167 168 var _Op_index = [...]uint16{0, 3, 7, 13, 17, 21, 28, 31, 34, 36, 39, 45, 49, 55, 61, 70, 82, 91, 100, 112, 121, 123, 126, 136, 143, 150, 157, 161, 165, 173, 181, 190, 198, 201, 206, 213, 220, 226, 235, 243, 251, 257, 261, 270, 277, 281, 284, 291, 299, 307, 314, 320, 323, 329, 336, 344, 348, 355, 363, 365, 367, 369, 371, 373, 375, 380, 385, 393, 396, 405, 408, 412, 420, 427, 436, 439, 442, 445, 448, 451, 454, 460, 463, 469, 472, 478, 482, 485, 489, 494, 499, 505, 510, 514, 519, 527, 535, 541, 550, 561, 568, 572, 579, 586, 594, 598, 602, 606, 613, 620, 628, 634, 639, 644, 648, 656, 661, 666, 670, 673, 681, 685, 687, 692, 694, 699, 705, 711, 717, 723, 728, 732, 739, 745, 750, 756, 759, 765, 772, 777, 781, 786, 790, 800, 805, 813, 819, 826, 833, 839, 846, 852, 856, 859} 169 170 func (i Op) String() string { 171 if i >= Op(len(_Op_index)-1) { 172 return "Op(" + strconv.FormatInt(int64(i), 10) + ")" 173 } 174 return _Op_name[_Op_index[i]:_Op_index[i+1]] 175 }