- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ConstInt16 (0.13 sec)
-
src/cmd/compile/internal/ssa/memcombine.go
if root.Block.Func.Config.BigEndian { s = 8*size*(n-1) - s } c |= (a[i].store.Args[1].AuxInt & mask) << s } var cv *Value switch size * n { case 2: cv = root.Block.Func.ConstInt16(types.Types[types.TUINT16], int16(c)) case 4: cv = root.Block.Func.ConstInt32(types.Types[types.TUINT32], int32(c)) case 8: cv = root.Block.Func.ConstInt64(types.Types[types.TUINT64], c) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 19:45:41 UTC 2024 - 18.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/func.go
if c { i = 1 } return f.constVal(OpConstBool, t, i, true) } func (f *Func) ConstInt8(t *types.Type, c int8) *Value { return f.constVal(OpConst8, t, int64(c), true) } func (f *Func) ConstInt16(t *types.Type, c int16) *Value { return f.constVal(OpConst16, t, int64(c), true) } func (f *Func) ConstInt32(t *types.Type, c int32) *Value { return f.constVal(OpConst32, t, int64(c), true) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 25.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/prove.go
} var c *Value f := b.Func switch bits { case 64: c = f.ConstInt64(typ, constValue) case 32: c = f.ConstInt32(typ, int32(constValue)) case 16: c = f.ConstInt16(typ, int16(constValue)) case 8: c = f.ConstInt8(typ, int8(constValue)) default: panic("unexpected integer size") } v.SetArg(i, c) if b.Func.pass.debug > 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:30:21 UTC 2024 - 48.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
return s.f.ConstBool(types.Types[types.TBOOL], c) } func (s *state) constInt8(t *types.Type, c int8) *ssa.Value { return s.f.ConstInt8(t, c) } func (s *state) constInt16(t *types.Type, c int16) *ssa.Value { return s.f.ConstInt16(t, c) } func (s *state) constInt32(t *types.Type, c int32) *ssa.Value { return s.f.ConstInt32(t, c) } func (s *state) constInt64(t *types.Type, c int64) *ssa.Value {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0)