summaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ir/symtab.go
blob: 1e8261810f4ce4de86395d06af6b0c70f1407c76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package ir

import (
	"cmd/compile/internal/types"
	"cmd/internal/obj"
)

// Syms holds known symbols.
var Syms struct {
	AssertE2I       *obj.LSym
	AssertE2I2      *obj.LSym
	AssertI2I       *obj.LSym
	AssertI2I2      *obj.LSym
	Deferproc       *obj.LSym
	DeferprocStack  *obj.LSym
	Deferreturn     *obj.LSym
	Duffcopy        *obj.LSym
	Duffzero        *obj.LSym
	GCWriteBarrier  *obj.LSym
	Goschedguarded  *obj.LSym
	Growslice       *obj.LSym
	Msanread        *obj.LSym
	Msanwrite       *obj.LSym
	Msanmove        *obj.LSym
	Newobject       *obj.LSym
	Newproc         *obj.LSym
	Panicdivide     *obj.LSym
	Panicshift      *obj.LSym
	PanicdottypeE   *obj.LSym
	PanicdottypeI   *obj.LSym
	Panicnildottype *obj.LSym
	Panicoverflow   *obj.LSym
	Raceread        *obj.LSym
	Racereadrange   *obj.LSym
	Racewrite       *obj.LSym
	Racewriterange  *obj.LSym
	// Wasm
	SigPanic        *obj.LSym
	Staticuint64s   *obj.LSym
	Typedmemclr     *obj.LSym
	Typedmemmove    *obj.LSym
	Udiv            *obj.LSym
	WriteBarrier    *obj.LSym
	Zerobase        *obj.LSym
	ARM64HasATOMICS *obj.LSym
	ARMHasVFPv4     *obj.LSym
	X86HasFMA       *obj.LSym
	X86HasPOPCNT    *obj.LSym
	X86HasSSE41     *obj.LSym
	// Wasm
	WasmDiv *obj.LSym
	// Wasm
	WasmMove *obj.LSym
	// Wasm
	WasmZero *obj.LSym
	// Wasm
	WasmTruncS *obj.LSym
	// Wasm
	WasmTruncU *obj.LSym
}

// Pkgs holds known packages.
var Pkgs struct {
	Go      *types.Pkg
	Itab    *types.Pkg
	Runtime *types.Pkg
}