- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for AddPtr (0.07 sec)
-
src/cmd/compile/internal/ssa/rewritegeneric.go
v_1 := v.Args[1] v_0 := v.Args[0] // match: (AddPtr <t> x (Const64 [c])) // result: (OffPtr <t> x [c]) for { t := v.Type x := v_0 if v_1.Op != OpConst64 { break } c := auxIntToInt64(v_1.AuxInt) v.reset(OpOffPtr) v.Type = t v.AuxInt = int64ToAuxInt(c) v.AddArg(x) return true } // match: (AddPtr <t> x (Const32 [c])) // result: (OffPtr <t> x [int64(c)])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:24:47 UTC 2024 - 812.2K bytes - Viewed (0)