- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 36 for constNil (0.52 sec)
-
src/cmd/compile/internal/ssa/_gen/PPC64.rules
(Trunc64to32 <t> x) && t.IsSigned() => (MOVWreg x) (Trunc64to32 x) => (MOVWZreg x) // Lowering constants (Const(64|32|16|8) [val]) => (MOVDconst [int64(val)]) (Const(32|64)F ...) => (FMOV(S|D)const ...) (ConstNil) => (MOVDconst [0]) (ConstBool [t]) => (MOVDconst [b2i(t)]) // Carrying addition. (Select0 (Add64carry x y c)) => (Select0 <typ.UInt64> (ADDE x y (Select1 <typ.UInt64> (ADDCconst c [-1]))))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 53.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/S390X.rules
(LoweredZero [s%256] destptr (ADDconst <destptr.Type> destptr [(int32(s)/256)*256]) mem) // Lowering constants (Const(64|32|16|8) [val]) => (MOVDconst [int64(val)]) (Const(32|64)F ...) => (FMOV(S|D)const ...) (ConstNil) => (MOVDconst [0]) (ConstBool [t]) => (MOVDconst [b2i(t)]) // Lowering calls (StaticCall ...) => (CALLstatic ...) (ClosureCall ...) => (CALLclosure ...) (InterCall ...) => (CALLinter ...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 18:09:26 UTC 2023 - 74.3K bytes - Viewed (0) -
src/cmd/link/internal/ld/testdata/issue25459/a/a.go
var Count int type FuncReturningInt func() int var PointerToConstIf FuncReturningInt func ConstIf() int { if Always { return 1 } var imdead [4]int imdead[Count] = 1 return imdead[0] } func CallConstIf() int { Count += 3 return ConstIf() } func Another() { defer func() { PointerToConstIf = ConstIf; Count += 1 }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 20 15:46:11 UTC 2019 - 363 bytes - Viewed (0) -
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/link/internal/ld/testdata/issue25459/main/main.go
package main import "cmd/link/internal/ld/testdata/issue25459/a" var Glob int func main() { a.Another() Glob += a.ConstIf() + a.CallConstIf()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 20 15:46:11 UTC 2019 - 149 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/rewriteWasm.go
for { c := auxIntToBool(v.AuxInt) v.reset(OpWasmI64Const) v.AuxInt = int64ToAuxInt(b2i(c)) return true } } func rewriteValueWasm_OpConstNil(v *Value) bool { // match: (ConstNil) // result: (I64Const [0]) for { v.reset(OpWasmI64Const) v.AuxInt = int64ToAuxInt(0) return true } } func rewriteValueWasm_OpCtz16(v *Value) bool { v_0 := v.Args[0] b := v.Block
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 03:56:57 UTC 2023 - 108.6K 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/rewriteMIPS.go
for { t := auxIntToBool(v.AuxInt) v.reset(OpMIPSMOVWconst) v.AuxInt = int32ToAuxInt(b2i32(t)) return true } } func rewriteValueMIPS_OpConstNil(v *Value) bool { // match: (ConstNil) // result: (MOVWconst [0]) for { v.reset(OpMIPSMOVWconst) v.AuxInt = int32ToAuxInt(0) return true } } func rewriteValueMIPS_OpCtz32(v *Value) bool { v_0 := v.Args[0] b := v.Block
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 14:43:03 UTC 2023 - 176.6K bytes - Viewed (0)