- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 29 for constNil (0.47 sec)
-
src/cmd/compile/internal/ssa/rewritegeneric.go
break } return false } func rewriteValuegeneric_OpConstInterface(v *Value) bool { b := v.Block typ := &b.Func.Config.Types // match: (ConstInterface) // result: (IMake (ConstNil <typ.Uintptr>) (ConstNil <typ.BytePtr>)) for { v.reset(OpIMake) v0 := b.NewValue0(v.Pos, OpConstNil, typ.Uintptr) v1 := b.NewValue0(v.Pos, OpConstNil, typ.BytePtr) v.AddArg2(v0, v1) return true } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:24:47 UTC 2024 - 812.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/ARM64.rules
// constants (Const(64|32|16|8) [val]) => (MOVDconst [int64(val)]) (Const(32|64)F [val]) => (FMOV(S|D)const [float64(val)]) (ConstNil) => (MOVDconst [0]) (ConstBool [t]) => (MOVDconst [b2i(t)]) (Slicemask <t> x) => (SRAconst (NEG <t> x) [63]) // truncations // Because we ignore high parts of registers, truncates are just copies.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 113.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/AMD64.rules
(Const8 [c]) => (MOVLconst [int32(c)]) (Const16 [c]) => (MOVLconst [int32(c)]) (Const32 ...) => (MOVLconst ...) (Const64 ...) => (MOVQconst ...) (Const32F ...) => (MOVSSconst ...) (Const64F ...) => (MOVSDconst ...) (ConstNil ) => (MOVQconst [0]) (ConstBool [c]) => (MOVLconst [b2i32(c)]) // Lowering calls (StaticCall ...) => (CALLstatic ...) (ClosureCall ...) => (CALLclosure ...) (InterCall ...) => (CALLinter ...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 19:38:41 UTC 2024 - 93.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/ARM.rules
(Rsh8x64 x (Const64 [c])) && uint64(c) >= 8 => (SRAconst (SLLconst <typ.UInt32> x [24]) [31]) // constants (Const(8|16|32) [val]) => (MOVWconst [int32(val)]) (Const(32|64)F [val]) => (MOV(F|D)const [float64(val)]) (ConstNil) => (MOVWconst [0]) (ConstBool [t]) => (MOVWconst [b2i32(t)]) // truncations // Because we ignore high parts of registers, truncates are just copies. (Trunc16to8 ...) => (Copy ...) (Trunc32to8 ...) => (Copy ...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 17:19:36 UTC 2023 - 90.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteLOONG64.go
for { t := auxIntToBool(v.AuxInt) v.reset(OpLOONG64MOVVconst) v.AuxInt = int64ToAuxInt(int64(b2i(t))) return true } } func rewriteValueLOONG64_OpConstNil(v *Value) bool { // match: (ConstNil) // result: (MOVVconst [0]) for { v.reset(OpLOONG64MOVVconst) v.AuxInt = int64ToAuxInt(0) return true } } func rewriteValueLOONG64_OpDiv16(v *Value) bool { v_1 := v.Args[1]
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/ssa/loopbce.go
return false } if inclusive && v != limit.AuxInt || !inclusive && v+1 != limit.AuxInt { // We know a better limit than the programmer did. Use our limit instead. limit = f.constVal(limit.Op, limit.Type, v, true) inclusive = true } return true } if step == 1 && !inclusive { // Can't overflow because maxint is never a possible value. return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 17:37:47 UTC 2023 - 11.8K bytes - Viewed (0) -
src/cmd/doc/testdata/pkg.go
ConstOne = 1 ConstTwo = 2 // Comment on line with ConstTwo. constThree = 3 // Comment on line with constThree. ) // Const block where first entry is unexported. const ( constFour = iota ConstFive ConstSix ) // Variables // Comment about exported variable. var ExportedVariable = 1 var ExportedVarOfUnExported unexportedType // Comment about internal variable. var internalVariable = 2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:16:55 UTC 2023 - 5.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteMIPS64.go
for { t := auxIntToBool(v.AuxInt) v.reset(OpMIPS64MOVVconst) v.AuxInt = int64ToAuxInt(int64(b2i(t))) return true } } func rewriteValueMIPS64_OpConstNil(v *Value) bool { // match: (ConstNil) // result: (MOVVconst [0]) for { v.reset(OpMIPS64MOVVconst) v.AuxInt = int64ToAuxInt(0) return true } } func rewriteValueMIPS64_OpDiv16(v *Value) bool { v_1 := v.Args[1]
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/ssa/rewriteRISCV64.go
for { val := auxIntToBool(v.AuxInt) v.reset(OpRISCV64MOVDconst) v.AuxInt = int64ToAuxInt(int64(b2i(val))) return true } } func rewriteValueRISCV64_OpConstNil(v *Value) bool { // match: (ConstNil) // result: (MOVDconst [0]) for { v.reset(OpRISCV64MOVDconst) v.AuxInt = int64ToAuxInt(0) return true } } func rewriteValueRISCV64_OpDiv16(v *Value) bool { v_1 := v.Args[1]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 14:57:07 UTC 2024 - 205.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritePPC64.go
for { t := auxIntToBool(v.AuxInt) v.reset(OpPPC64MOVDconst) v.AuxInt = int64ToAuxInt(b2i(t)) return true } } func rewriteValuePPC64_OpConstNil(v *Value) bool { // match: (ConstNil) // result: (MOVDconst [0]) for { v.reset(OpPPC64MOVDconst) v.AuxInt = int64ToAuxInt(0) return true } } func rewriteValuePPC64_OpCopysign(v *Value) bool { v_1 := v.Args[1]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 360.2K bytes - Viewed (0)