github.com/q45/go@v0.0.0-20151101211701-a4fb8c13db3f/src/cmd/compile/internal/gc/builtin.go (about) 1 // AUTO-GENERATED by mkbuiltin.go; DO NOT EDIT 2 3 package gc 4 5 const runtimeimport = "" + 6 "package runtime\n" + 7 "import runtime \"runtime\"\n" + 8 "func @\"\".newobject (@\"\".typ·2 *byte) (? *any)\n" + 9 "func @\"\".panicindex ()\n" + 10 "func @\"\".panicslice ()\n" + 11 "func @\"\".panicdivide ()\n" + 12 "func @\"\".throwreturn ()\n" + 13 "func @\"\".throwinit ()\n" + 14 "func @\"\".panicwrap (? string, ? string, ? string)\n" + 15 "func @\"\".gopanic (? interface {})\n" + 16 "func @\"\".gorecover (? *int32) (? interface {})\n" + 17 "func @\"\".printbool (? bool)\n" + 18 "func @\"\".printfloat (? float64)\n" + 19 "func @\"\".printint (? int64)\n" + 20 "func @\"\".printhex (? uint64)\n" + 21 "func @\"\".printuint (? uint64)\n" + 22 "func @\"\".printcomplex (? complex128)\n" + 23 "func @\"\".printstring (? string)\n" + 24 "func @\"\".printpointer (? any)\n" + 25 "func @\"\".printiface (? any)\n" + 26 "func @\"\".printeface (? any)\n" + 27 "func @\"\".printslice (? any)\n" + 28 "func @\"\".printnl ()\n" + 29 "func @\"\".printsp ()\n" + 30 "func @\"\".printlock ()\n" + 31 "func @\"\".printunlock ()\n" + 32 "func @\"\".concatstring2 (? *[32]byte, ? string, ? string) (? string)\n" + 33 "func @\"\".concatstring3 (? *[32]byte, ? string, ? string, ? string) (? string)\n" + 34 "func @\"\".concatstring4 (? *[32]byte, ? string, ? string, ? string, ? string) (? string)\n" + 35 "func @\"\".concatstring5 (? *[32]byte, ? string, ? string, ? string, ? string, ? string) (? string)\n" + 36 "func @\"\".concatstrings (? *[32]byte, ? []string) (? string)\n" + 37 "func @\"\".cmpstring (? string, ? string) (? int)\n" + 38 "func @\"\".eqstring (? string, ? string) (? bool)\n" + 39 "func @\"\".intstring (? *[4]byte, ? int64) (? string)\n" + 40 "func @\"\".slicebytetostring (? *[32]byte, ? []byte) (? string)\n" + 41 "func @\"\".slicebytetostringtmp (? []byte) (? string)\n" + 42 "func @\"\".slicerunetostring (? *[32]byte, ? []rune) (? string)\n" + 43 "func @\"\".stringtoslicebyte (? *[32]byte, ? string) (? []byte)\n" + 44 "func @\"\".stringtoslicebytetmp (? string) (? []byte)\n" + 45 "func @\"\".stringtoslicerune (? *[32]rune, ? string) (? []rune)\n" + 46 "func @\"\".stringiter (? string, ? int) (? int)\n" + 47 "func @\"\".stringiter2 (? string, ? int) (@\"\".retk·1 int, @\"\".retv·2 rune)\n" + 48 "func @\"\".slicecopy (@\"\".to·2 any, @\"\".fr·3 any, @\"\".wid·4 uintptr) (? int)\n" + 49 "func @\"\".slicestringcopy (@\"\".to·2 any, @\"\".fr·3 any) (? int)\n" + 50 "func @\"\".typ2Itab (@\"\".typ·2 *byte, @\"\".typ2·3 *byte, @\"\".cache·4 **byte) (@\"\".ret·1 *byte)\n" + 51 "func @\"\".convI2E (@\"\".elem·2 any) (@\"\".ret·1 any)\n" + 52 "func @\"\".convI2I (@\"\".typ·2 *byte, @\"\".elem·3 any) (@\"\".ret·1 any)\n" + 53 "func @\"\".convT2E (@\"\".typ·2 *byte, @\"\".elem·3 *any, @\"\".buf·4 *any) (@\"\".ret·1 any)\n" + 54 "func @\"\".convT2I (@\"\".typ·2 *byte, @\"\".typ2·3 *byte, @\"\".cache·4 **byte, @\"\".elem·5 *any, @\"\".buf·6 *any) (@\"\".ret·1 any)\n" + 55 "func @\"\".assertE2E (@\"\".typ·1 *byte, @\"\".iface·2 any, @\"\".ret·3 *any)\n" + 56 "func @\"\".assertE2E2 (@\"\".typ·2 *byte, @\"\".iface·3 any, @\"\".ret·4 *any) (? bool)\n" + 57 "func @\"\".assertE2I (@\"\".typ·1 *byte, @\"\".iface·2 any, @\"\".ret·3 *any)\n" + 58 "func @\"\".assertE2I2 (@\"\".typ·2 *byte, @\"\".iface·3 any, @\"\".ret·4 *any) (? bool)\n" + 59 "func @\"\".assertE2T (@\"\".typ·1 *byte, @\"\".iface·2 any, @\"\".ret·3 *any)\n" + 60 "func @\"\".assertE2T2 (@\"\".typ·2 *byte, @\"\".iface·3 any, @\"\".ret·4 *any) (? bool)\n" + 61 "func @\"\".assertI2E (@\"\".typ·1 *byte, @\"\".iface·2 any, @\"\".ret·3 *any)\n" + 62 "func @\"\".assertI2E2 (@\"\".typ·2 *byte, @\"\".iface·3 any, @\"\".ret·4 *any) (? bool)\n" + 63 "func @\"\".assertI2I (@\"\".typ·1 *byte, @\"\".iface·2 any, @\"\".ret·3 *any)\n" + 64 "func @\"\".assertI2I2 (@\"\".typ·2 *byte, @\"\".iface·3 any, @\"\".ret·4 *any) (? bool)\n" + 65 "func @\"\".assertI2T (@\"\".typ·1 *byte, @\"\".iface·2 any, @\"\".ret·3 *any)\n" + 66 "func @\"\".assertI2T2 (@\"\".typ·2 *byte, @\"\".iface·3 any, @\"\".ret·4 *any) (? bool)\n" + 67 "func @\"\".panicdottype (@\"\".have·1 *byte, @\"\".want·2 *byte, @\"\".iface·3 *byte)\n" + 68 "func @\"\".ifaceeq (@\"\".i1·2 any, @\"\".i2·3 any) (@\"\".ret·1 bool)\n" + 69 "func @\"\".efaceeq (@\"\".i1·2 any, @\"\".i2·3 any) (@\"\".ret·1 bool)\n" + 70 "func @\"\".ifacethash (@\"\".i1·2 any) (@\"\".ret·1 uint32)\n" + 71 "func @\"\".efacethash (@\"\".i1·2 any) (@\"\".ret·1 uint32)\n" + 72 "func @\"\".makemap (@\"\".mapType·2 *byte, @\"\".hint·3 int64, @\"\".mapbuf·4 *any, @\"\".bucketbuf·5 *any) (@\"\".hmap·1 map[any]any)\n" + 73 "func @\"\".mapaccess1 (@\"\".mapType·2 *byte, @\"\".hmap·3 map[any]any, @\"\".key·4 *any) (@\"\".val·1 *any)\n" + 74 "func @\"\".mapaccess1_fast32 (@\"\".mapType·2 *byte, @\"\".hmap·3 map[any]any, @\"\".key·4 any) (@\"\".val·1 *any)\n" + 75 "func @\"\".mapaccess1_fast64 (@\"\".mapType·2 *byte, @\"\".hmap·3 map[any]any, @\"\".key·4 any) (@\"\".val·1 *any)\n" + 76 "func @\"\".mapaccess1_faststr (@\"\".mapType·2 *byte, @\"\".hmap·3 map[any]any, @\"\".key·4 any) (@\"\".val·1 *any)\n" + 77 "func @\"\".mapaccess2 (@\"\".mapType·3 *byte, @\"\".hmap·4 map[any]any, @\"\".key·5 *any) (@\"\".val·1 *any, @\"\".pres·2 bool)\n" + 78 "func @\"\".mapaccess2_fast32 (@\"\".mapType·3 *byte, @\"\".hmap·4 map[any]any, @\"\".key·5 any) (@\"\".val·1 *any, @\"\".pres·2 bool)\n" + 79 "func @\"\".mapaccess2_fast64 (@\"\".mapType·3 *byte, @\"\".hmap·4 map[any]any, @\"\".key·5 any) (@\"\".val·1 *any, @\"\".pres·2 bool)\n" + 80 "func @\"\".mapaccess2_faststr (@\"\".mapType·3 *byte, @\"\".hmap·4 map[any]any, @\"\".key·5 any) (@\"\".val·1 *any, @\"\".pres·2 bool)\n" + 81 "func @\"\".mapassign1 (@\"\".mapType·1 *byte, @\"\".hmap·2 map[any]any, @\"\".key·3 *any, @\"\".val·4 *any)\n" + 82 "func @\"\".mapiterinit (@\"\".mapType·1 *byte, @\"\".hmap·2 map[any]any, @\"\".hiter·3 *any)\n" + 83 "func @\"\".mapdelete (@\"\".mapType·1 *byte, @\"\".hmap·2 map[any]any, @\"\".key·3 *any)\n" + 84 "func @\"\".mapiternext (@\"\".hiter·1 *any)\n" + 85 "func @\"\".makechan (@\"\".chanType·2 *byte, @\"\".hint·3 int64) (@\"\".hchan·1 chan any)\n" + 86 "func @\"\".chanrecv1 (@\"\".chanType·1 *byte, @\"\".hchan·2 <-chan any, @\"\".elem·3 *any)\n" + 87 "func @\"\".chanrecv2 (@\"\".chanType·2 *byte, @\"\".hchan·3 <-chan any, @\"\".elem·4 *any) (? bool)\n" + 88 "func @\"\".chansend1 (@\"\".chanType·1 *byte, @\"\".hchan·2 chan<- any, @\"\".elem·3 *any)\n" + 89 "func @\"\".closechan (@\"\".hchan·1 any)\n" + 90 "var @\"\".writeBarrierEnabled bool\n" + 91 "func @\"\".writebarrierptr (@\"\".dst·1 *any, @\"\".src·2 any)\n" + 92 "func @\"\".writebarrierstring (@\"\".dst·1 *any, @\"\".src·2 any)\n" + 93 "func @\"\".writebarrierslice (@\"\".dst·1 *any, @\"\".src·2 any)\n" + 94 "func @\"\".writebarrieriface (@\"\".dst·1 *any, @\"\".src·2 any)\n" + 95 "func @\"\".writebarrierfat01 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 96 "func @\"\".writebarrierfat10 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 97 "func @\"\".writebarrierfat11 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 98 "func @\"\".writebarrierfat001 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 99 "func @\"\".writebarrierfat010 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 100 "func @\"\".writebarrierfat011 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 101 "func @\"\".writebarrierfat100 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 102 "func @\"\".writebarrierfat101 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 103 "func @\"\".writebarrierfat110 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 104 "func @\"\".writebarrierfat111 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 105 "func @\"\".writebarrierfat0001 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 106 "func @\"\".writebarrierfat0010 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 107 "func @\"\".writebarrierfat0011 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 108 "func @\"\".writebarrierfat0100 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 109 "func @\"\".writebarrierfat0101 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 110 "func @\"\".writebarrierfat0110 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 111 "func @\"\".writebarrierfat0111 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 112 "func @\"\".writebarrierfat1000 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 113 "func @\"\".writebarrierfat1001 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 114 "func @\"\".writebarrierfat1010 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 115 "func @\"\".writebarrierfat1011 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 116 "func @\"\".writebarrierfat1100 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 117 "func @\"\".writebarrierfat1101 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 118 "func @\"\".writebarrierfat1110 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 119 "func @\"\".writebarrierfat1111 (@\"\".dst·1 *any, _ uintptr, @\"\".src·3 any)\n" + 120 "func @\"\".typedmemmove (@\"\".typ·1 *byte, @\"\".dst·2 *any, @\"\".src·3 *any)\n" + 121 "func @\"\".typedslicecopy (@\"\".typ·2 *byte, @\"\".dst·3 any, @\"\".src·4 any) (? int)\n" + 122 "func @\"\".selectnbsend (@\"\".chanType·2 *byte, @\"\".hchan·3 chan<- any, @\"\".elem·4 *any) (? bool)\n" + 123 "func @\"\".selectnbrecv (@\"\".chanType·2 *byte, @\"\".elem·3 *any, @\"\".hchan·4 <-chan any) (? bool)\n" + 124 "func @\"\".selectnbrecv2 (@\"\".chanType·2 *byte, @\"\".elem·3 *any, @\"\".received·4 *bool, @\"\".hchan·5 <-chan any) (? bool)\n" + 125 "func @\"\".newselect (@\"\".sel·1 *byte, @\"\".selsize·2 int64, @\"\".size·3 int32)\n" + 126 "func @\"\".selectsend (@\"\".sel·2 *byte, @\"\".hchan·3 chan<- any, @\"\".elem·4 *any) (@\"\".selected·1 bool)\n" + 127 "func @\"\".selectrecv (@\"\".sel·2 *byte, @\"\".hchan·3 <-chan any, @\"\".elem·4 *any) (@\"\".selected·1 bool)\n" + 128 "func @\"\".selectrecv2 (@\"\".sel·2 *byte, @\"\".hchan·3 <-chan any, @\"\".elem·4 *any, @\"\".received·5 *bool) (@\"\".selected·1 bool)\n" + 129 "func @\"\".selectdefault (@\"\".sel·2 *byte) (@\"\".selected·1 bool)\n" + 130 "func @\"\".selectgo (@\"\".sel·1 *byte)\n" + 131 "func @\"\".block ()\n" + 132 "func @\"\".makeslice (@\"\".typ·2 *byte, @\"\".nel·3 int64, @\"\".cap·4 int64) (@\"\".ary·1 []any)\n" + 133 "func @\"\".growslice (@\"\".typ·2 *byte, @\"\".old·3 []any, @\"\".cap·4 int) (@\"\".ary·1 []any)\n" + 134 "func @\"\".growslice_n (@\"\".typ·2 *byte, @\"\".old·3 []any, @\"\".n·4 int) (@\"\".ary·1 []any)\n" + 135 "func @\"\".memmove (@\"\".to·1 *any, @\"\".frm·2 *any, @\"\".length·3 uintptr)\n" + 136 "func @\"\".memclr (@\"\".ptr·1 *byte, @\"\".length·2 uintptr)\n" + 137 "func @\"\".memequal (@\"\".x·2 *any, @\"\".y·3 *any, @\"\".size·4 uintptr) (? bool)\n" + 138 "func @\"\".memequal8 (@\"\".x·2 *any, @\"\".y·3 *any) (? bool)\n" + 139 "func @\"\".memequal16 (@\"\".x·2 *any, @\"\".y·3 *any) (? bool)\n" + 140 "func @\"\".memequal32 (@\"\".x·2 *any, @\"\".y·3 *any) (? bool)\n" + 141 "func @\"\".memequal64 (@\"\".x·2 *any, @\"\".y·3 *any) (? bool)\n" + 142 "func @\"\".memequal128 (@\"\".x·2 *any, @\"\".y·3 *any) (? bool)\n" + 143 "func @\"\".int64div (? int64, ? int64) (? int64)\n" + 144 "func @\"\".uint64div (? uint64, ? uint64) (? uint64)\n" + 145 "func @\"\".int64mod (? int64, ? int64) (? int64)\n" + 146 "func @\"\".uint64mod (? uint64, ? uint64) (? uint64)\n" + 147 "func @\"\".float64toint64 (? float64) (? int64)\n" + 148 "func @\"\".float64touint64 (? float64) (? uint64)\n" + 149 "func @\"\".int64tofloat64 (? int64) (? float64)\n" + 150 "func @\"\".uint64tofloat64 (? uint64) (? float64)\n" + 151 "func @\"\".complex128div (@\"\".num·2 complex128, @\"\".den·3 complex128) (@\"\".quo·1 complex128)\n" + 152 "func @\"\".racefuncenter (? uintptr)\n" + 153 "func @\"\".racefuncexit ()\n" + 154 "func @\"\".raceread (? uintptr)\n" + 155 "func @\"\".racewrite (? uintptr)\n" + 156 "func @\"\".racereadrange (@\"\".addr·1 uintptr, @\"\".size·2 uintptr)\n" + 157 "func @\"\".racewriterange (@\"\".addr·1 uintptr, @\"\".size·2 uintptr)\n" + 158 "func @\"\".msanread (@\"\".addr·1 uintptr, @\"\".size·2 uintptr)\n" + 159 "func @\"\".msanwrite (@\"\".addr·1 uintptr, @\"\".size·2 uintptr)\n" + 160 "\n" + 161 "$$\n" 162 163 const unsafeimport = "" + 164 "package unsafe\n" + 165 "import runtime \"runtime\"\n" + 166 "type @\"\".Pointer uintptr\n" + 167 "func @\"\".Offsetof (? any) (? uintptr)\n" + 168 "func @\"\".Sizeof (? any) (? uintptr)\n" + 169 "func @\"\".Alignof (? any) (? uintptr)\n" + 170 "\n" + 171 "$$\n"