Source file src/cmd/compile/internal/ir/symtab.go

     1  // Copyright 2009 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package ir
     6  
     7  import (
     8  	"cmd/compile/internal/types"
     9  	"cmd/internal/obj"
    10  )
    11  
    12  // Syms holds known symbols.
    13  var Syms struct {
    14  	AssertE2I         *obj.LSym
    15  	AssertE2I2        *obj.LSym
    16  	AssertI2I         *obj.LSym
    17  	AssertI2I2        *obj.LSym
    18  	Asanread          *obj.LSym
    19  	Asanwrite         *obj.LSym
    20  	CheckPtrAlignment *obj.LSym
    21  	Deferproc         *obj.LSym
    22  	DeferprocStack    *obj.LSym
    23  	Deferreturn       *obj.LSym
    24  	Duffcopy          *obj.LSym
    25  	Duffzero          *obj.LSym
    26  	GCWriteBarrier    *obj.LSym
    27  	Goschedguarded    *obj.LSym
    28  	Growslice         *obj.LSym
    29  	Msanread          *obj.LSym
    30  	Msanwrite         *obj.LSym
    31  	Msanmove          *obj.LSym
    32  	Newobject         *obj.LSym
    33  	Newproc           *obj.LSym
    34  	Panicdivide       *obj.LSym
    35  	Panicshift        *obj.LSym
    36  	PanicdottypeE     *obj.LSym
    37  	PanicdottypeI     *obj.LSym
    38  	Panicnildottype   *obj.LSym
    39  	Panicoverflow     *obj.LSym
    40  	Raceread          *obj.LSym
    41  	Racereadrange     *obj.LSym
    42  	Racewrite         *obj.LSym
    43  	Racewriterange    *obj.LSym
    44  	// Wasm
    45  	SigPanic        *obj.LSym
    46  	Staticuint64s   *obj.LSym
    47  	Typedmemclr     *obj.LSym
    48  	Typedmemmove    *obj.LSym
    49  	Udiv            *obj.LSym
    50  	WriteBarrier    *obj.LSym
    51  	Zerobase        *obj.LSym
    52  	ARM64HasATOMICS *obj.LSym
    53  	ARMHasVFPv4     *obj.LSym
    54  	X86HasFMA       *obj.LSym
    55  	X86HasPOPCNT    *obj.LSym
    56  	X86HasSSE41     *obj.LSym
    57  	// Wasm
    58  	WasmDiv *obj.LSym
    59  	// Wasm
    60  	WasmMove *obj.LSym
    61  	// Wasm
    62  	WasmZero *obj.LSym
    63  	// Wasm
    64  	WasmTruncS *obj.LSym
    65  	// Wasm
    66  	WasmTruncU *obj.LSym
    67  }
    68  
    69  // Pkgs holds known packages.
    70  var Pkgs struct {
    71  	Go      *types.Pkg
    72  	Itab    *types.Pkg
    73  	Runtime *types.Pkg
    74  }
    75  

View as plain text