- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 51 for secconst (0.21 sec)
-
src/go/types/universe.go
{"false", UntypedBool, constant.MakeBool(false)}, {"iota", UntypedInt, constant.MakeInt64(0)}, } func defPredeclaredConsts() { for _, c := range predeclaredConsts { def(NewConst(nopos, nil, c.name, Typ[c.kind], c.val)) } } func defPredeclaredNil() { def(&Nil{object{name: "nil", typ: Typ[UntypedNil], color_: black}}) } // A builtinId is the id of a builtin function.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteLOONG64.go
return true } // match: (SGTconst [c] (MOVBreg _)) // cond: 0x7f < c // result: (MOVVconst [1]) for { c := auxIntToInt64(v.AuxInt) if v_0.Op != OpLOONG64MOVBreg || !(0x7f < c) { break } v.reset(OpLOONG64MOVVconst) v.AuxInt = int64ToAuxInt(1) return true } // match: (SGTconst [c] (MOVBreg _)) // cond: c <= -0x80 // result: (MOVVconst [0]) for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 19:26:25 UTC 2023 - 195.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/object.go
// A Const represents a declared constant. type Const struct { object val constant.Value } // NewConst returns a new constant with value val. // The remaining arguments set the attributes found with all Objects. func NewConst(pos syntax.Pos, pkg *Package, name string, typ Type, val constant.Value) *Const { return &Const{object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}, val} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/poset.go
if !f && n.isGenericIntConst() { po.newconst(n) i, f = po.values[n.ID] } return i, f } // newconst creates a node for a constant. It links it to other constants, so // that n<=5 is detected true when n<=3 is known to be true. // TODO: this is O(N), fix it. func (po *poset) newconst(n *Value) { if !n.isGenericIntConst() { panic("newconst on non-constant") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 04 17:23:05 UTC 2023 - 37.2K bytes - Viewed (0) -
src/go/types/object.go
// A Const represents a declared constant. type Const struct { object val constant.Value } // NewConst returns a new constant with value val. // The remaining arguments set the attributes found with all Objects. func NewConst(pos token.Pos, pkg *Package, name string, typ Type, val constant.Value) *Const { return &Const{object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}, val} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteMIPS64.go
return true } // match: (SGTconst [c] (MOVBreg _)) // cond: 0x7f < c // result: (MOVVconst [1]) for { c := auxIntToInt64(v.AuxInt) if v_0.Op != OpMIPS64MOVBreg || !(0x7f < c) { break } v.reset(OpMIPS64MOVVconst) v.AuxInt = int64ToAuxInt(1) return true } // match: (SGTconst [c] (MOVBreg _)) // cond: c <= -0x80 // result: (MOVVconst [0]) for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 31 03:59:48 UTC 2023 - 211.6K bytes - Viewed (0) -
src/cmd/compile/internal/liveness/plive.go
fninfo := ls.Func() fninfo.GCArgs, fninfo.GCLocals = lv.emit() p := pp.Prog(obj.AFUNCDATA) p.From.SetConst(rtabi.FUNCDATA_ArgsPointerMaps) p.To.Type = obj.TYPE_MEM p.To.Name = obj.NAME_EXTERN p.To.Sym = fninfo.GCArgs p = pp.Prog(obj.AFUNCDATA) p.From.SetConst(rtabi.FUNCDATA_LocalsPointerMaps) p.To.Type = obj.TYPE_MEM p.To.Name = obj.NAME_EXTERN p.To.Sym = fninfo.GCLocals
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 15:22:22 UTC 2024 - 45.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritePPC64.go
v_0 := v.Args[0] // match: (SLWconst [s] (MOVWZreg w)) // result: (SLWconst [s] w) for { s := auxIntToInt64(v.AuxInt) if v_0.Op != OpPPC64MOVWZreg { break } w := v_0.Args[0] v.reset(OpPPC64SLWconst) v.AuxInt = int64ToAuxInt(s) v.AddArg(w) return true } // match: (SLWconst [c] z:(MOVBZreg x)) // cond: z.Uses == 1 && c < 8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 360.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteS390X.go
return true } // match: (SUBconst (MOVDconst [d]) [c]) // result: (MOVDconst [d-int64(c)]) for { c := auxIntToInt32(v.AuxInt) if v_0.Op != OpS390XMOVDconst { break } d := auxIntToInt64(v_0.AuxInt) v.reset(OpS390XMOVDconst) v.AuxInt = int64ToAuxInt(d - int64(c)) return true } // match: (SUBconst (SUBconst x [d]) [c]) // cond: is32Bit(-int64(c)-int64(d))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 18:09:26 UTC 2023 - 395.1K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/obj9.go
if val&mask == val || (val>>(shift+16) == -1 && (val>>shift)<<shift == val) { // Rewrite this value into MOVD $const>>shift, Rto; SLD $shift, Rto q := obj.Appendp(p, c.newprog) q.As = ASLD q.From.SetConst(int64(shift)) q.To = p.To p.From.Offset >>= shift p = q } else if isPPC64DoublewordRotateMask(val) { // This constant is a mask value, generate MOVD $-1, Rto; RLDIC Rto, ^me, mb, Rto
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 40.8K bytes - Viewed (0)