HomeSort by relevance Sort by last modified time
    Searched refs:Etype (Results 1 - 25 of 59) sorted by null

1 2 3

  /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/
type.go 17 // EType describes a kind of type.
18 type EType uint8
121 // Extra contains extra etype-specific fields.
122 // As an optimization, those etype-specific structs which contain exactly
156 Etype EType // kind of type
376 func typ(et EType) *Type {
378 Etype: et,
384 switch t.Etype {
532 switch t.Etype {
    [all...]
typecheck.go 17 Etype // evaluated in type context
89 et := t.Etype
96 return fmt.Sprintf("etype=%d", et)
159 if top&(Erv|Etype) == Etype {
164 if top&(Erv|Etype) == Etype {
260 if n.Op == ONAME && n.Etype != 0 && top&Ecall == 0 {
300 if n.Etype != 0 {
329 ok |= Etype
    [all...]
const.go 136 switch t.Etype {
196 if n.Type.Etype == TIDEAL {
206 if !okforconst[t.Etype] && n.Type.Etype != TNIL {
213 if t != nil && t.Etype == TIDEAL && n.Val().Ctype() != CTINT {
225 if n.Type.Etype == TIDEAL {
226 switch t.Etype {
253 var et EType
258 et = t.Etype
297 if n.Type.Etype == TUNSAFEPTR
    [all...]
alg.go 94 switch t.Etype {
211 fn.Func.Nname.Name.Param.Ntype = typecheck(fn.Func.Nname.Name.Param.Ntype, Etype)
216 switch t.Etype {
240 na.Etype = 1 // no escape to heap
265 na.Etype = 1 // no escape to heap
281 na.Etype = 1 // no escape to heap
355 tfn = typecheck(tfn, Etype)
389 fn.Func.Nname.Name.Param.Ntype = typecheck(fn.Func.Nname.Name.Param.Ntype, Etype)
394 switch t.Etype {
535 nx.Etype = 1 // does not escap
    [all...]
subr.go 533 func isptrto(t *Type, et EType) bool {
544 if t.Etype != et {
586 if issimple[t.Etype] {
589 switch t.Etype {
596 func cplxsubtype(et EType) EType {
633 if t1 == nil || t2 == nil || t1.Etype != t2.Etype || t1.Broke || t2.Broke {
639 switch t1.Etype {
656 switch t1.Etype {
    [all...]
fmt.go 504 func (et EType) String() string {
588 t = Types[t.Etype]
596 if flag&FmtLong == 0 && t.Sym != nil && t != Types[t.Etype] {
618 if int(t.Etype) < len(basicnames) && basicnames[t.Etype] != "" {
623 return prefix + basicnames[t.Etype]
628 str := t.Etype.String() + "-" + t.typefmt(flag)
633 switch t.Etype {
783 return fmt.Sprintf("%v <%v> %v", t.Etype, t.Sym, t.DDDField())
790 return fmt.Sprintf("%v <%v> %v", t.Etype, t.Sym, t.Elem()
    [all...]
pgen_test.go 14 return &Type{Etype: TSTRUCT, Extra: &StructType{Haspointers: 1}} // haspointers -> false
18 return &Type{Etype: TSTRUCT, Extra: &StructType{Haspointers: 2}} // haspointers -> true
align.go 144 et := t.Etype
151 if simtype[t.Etype] != 0 {
152 et = simtype[t.Etype]
export.go 141 if t != Types[t.Etype] && t != idealbool && t != idealstring {
155 if t != Types[n.Type.Etype] && t != idealbool && t != idealstring {
196 switch t.Etype {
walk.go 541 if Debug['m'] != 0 && n.Etype != 0 && !Isconst(n.Right, CTINT) {
789 n1.Etype = 1 // addr does not escape
995 if n.Type.Etype == TINT64 {
1000 if n.Type.Etype == TUINT64 {
1007 if n.Left.Type.Etype == TINT64 {
1012 if n.Left.Type.Etype == TUINT64 {
1021 if n.Type.Etype == TINT64 {
1026 if n.Type.Etype == TUINT64 {
1030 if n.Type.Etype == TUINT32 || n.Type.Etype == TUINT || n.Type.Etype == TUINTPTR
    [all...]
reflect.go 311 if f.Type.Etype != TFUNC || f.Type.Recv() == nil {
382 if f.Type.Etype != TFUNC || f.Sym == nil {
639 switch t.Etype {
646 if tsym != nil && t != Types[t.Etype] && t != errortype {
714 switch t.Etype {
763 switch t.Etype {
910 i = kinds[t.Etype]
1022 switch t.Etype {
1069 switch t.Etype {
1118 t = Types[t.Etype]
    [all...]
obj.go 185 if n.Type.Etype == TFUNC && n.Class == PFUNC {
384 switch nam.Type.Etype {
394 switch nam.Type.Etype {
swt.go 64 top = Etype
82 case !okforeq[t.Etype]:
92 case t.Etype == TFUNC:
117 ls[i1] = typecheck(ls[i1], Erv|Etype)
144 case Etype:
173 if top == Etype && n.Type != nil {
259 if !okforcmp[t.Etype] || !cc[0].isconst {
  /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/
type.go 17 // EType describes a kind of type.
18 type EType uint8
121 // Extra contains extra etype-specific fields.
122 // As an optimization, those etype-specific structs which contain exactly
156 Etype EType // kind of type
376 func typ(et EType) *Type {
378 Etype: et,
384 switch t.Etype {
532 switch t.Etype {
    [all...]
typecheck.go 17 Etype // evaluated in type context
89 et := t.Etype
96 return fmt.Sprintf("etype=%d", et)
159 if top&(Erv|Etype) == Etype {
164 if top&(Erv|Etype) == Etype {
260 if n.Op == ONAME && n.Etype != 0 && top&Ecall == 0 {
300 if n.Etype != 0 {
329 ok |= Etype
    [all...]
const.go 136 switch t.Etype {
196 if n.Type.Etype == TIDEAL {
206 if !okforconst[t.Etype] && n.Type.Etype != TNIL {
213 if t != nil && t.Etype == TIDEAL && n.Val().Ctype() != CTINT {
225 if n.Type.Etype == TIDEAL {
226 switch t.Etype {
253 var et EType
258 et = t.Etype
297 if n.Type.Etype == TUNSAFEPTR
    [all...]
alg.go 94 switch t.Etype {
211 fn.Func.Nname.Name.Param.Ntype = typecheck(fn.Func.Nname.Name.Param.Ntype, Etype)
216 switch t.Etype {
240 na.Etype = 1 // no escape to heap
265 na.Etype = 1 // no escape to heap
281 na.Etype = 1 // no escape to heap
355 tfn = typecheck(tfn, Etype)
389 fn.Func.Nname.Name.Param.Ntype = typecheck(fn.Func.Nname.Name.Param.Ntype, Etype)
394 switch t.Etype {
535 nx.Etype = 1 // does not escap
    [all...]
subr.go 533 func isptrto(t *Type, et EType) bool {
544 if t.Etype != et {
586 if issimple[t.Etype] {
589 switch t.Etype {
596 func cplxsubtype(et EType) EType {
633 if t1 == nil || t2 == nil || t1.Etype != t2.Etype || t1.Broke || t2.Broke {
639 switch t1.Etype {
656 switch t1.Etype {
    [all...]
fmt.go 504 func (et EType) String() string {
588 t = Types[t.Etype]
596 if flag&FmtLong == 0 && t.Sym != nil && t != Types[t.Etype] {
618 if int(t.Etype) < len(basicnames) && basicnames[t.Etype] != "" {
623 return prefix + basicnames[t.Etype]
628 str := t.Etype.String() + "-" + t.typefmt(flag)
633 switch t.Etype {
783 return fmt.Sprintf("%v <%v> %v", t.Etype, t.Sym, t.DDDField())
790 return fmt.Sprintf("%v <%v> %v", t.Etype, t.Sym, t.Elem()
    [all...]
pgen_test.go 14 return &Type{Etype: TSTRUCT, Extra: &StructType{Haspointers: 1}} // haspointers -> false
18 return &Type{Etype: TSTRUCT, Extra: &StructType{Haspointers: 2}} // haspointers -> true
align.go 144 et := t.Etype
151 if simtype[t.Etype] != 0 {
152 et = simtype[t.Etype]
export.go 141 if t != Types[t.Etype] && t != idealbool && t != idealstring {
155 if t != Types[n.Type.Etype] && t != idealbool && t != idealstring {
196 switch t.Etype {
walk.go 541 if Debug['m'] != 0 && n.Etype != 0 && !Isconst(n.Right, CTINT) {
789 n1.Etype = 1 // addr does not escape
995 if n.Type.Etype == TINT64 {
1000 if n.Type.Etype == TUINT64 {
1007 if n.Left.Type.Etype == TINT64 {
1012 if n.Left.Type.Etype == TUINT64 {
1021 if n.Type.Etype == TINT64 {
1026 if n.Type.Etype == TUINT64 {
1030 if n.Type.Etype == TUINT32 || n.Type.Etype == TUINT || n.Type.Etype == TUINTPTR
    [all...]
reflect.go 311 if f.Type.Etype != TFUNC || f.Type.Recv() == nil {
382 if f.Type.Etype != TFUNC || f.Sym == nil {
639 switch t.Etype {
646 if tsym != nil && t != Types[t.Etype] && t != errortype {
714 switch t.Etype {
763 switch t.Etype {
910 i = kinds[t.Etype]
1022 switch t.Etype {
1069 switch t.Etype {
1118 t = Types[t.Etype]
    [all...]
obj.go 185 if n.Type.Etype == TFUNC && n.Class == PFUNC {
384 switch nam.Type.Etype {
394 switch nam.Type.Etype {

Completed in 379 milliseconds

1 2 3