- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for constBool (0.54 sec)
-
src/cmd/compile/internal/ssa/rewritegeneric.go
return true } } break } return false } func rewriteValuegeneric_OpEqB(v *Value) bool { v_1 := v.Args[1] v_0 := v.Args[0] // match: (EqB (ConstBool [c]) (ConstBool [d])) // result: (ConstBool [c == d]) for { for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 { if v_0.Op != OpConstBool { continue } c := auxIntToBool(v_0.AuxInt)
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/rewriteAMD64.go
v_0 := v.Args[0] // match: (SETAE (TESTQ x x)) // result: (ConstBool [true]) for { if v_0.Op != OpAMD64TESTQ { break } x := v_0.Args[1] if x != v_0.Args[0] { break } v.reset(OpConstBool) v.AuxInt = boolToAuxInt(true) return true } // match: (SETAE (TESTL x x)) // result: (ConstBool [true]) for { if v_0.Op != OpAMD64TESTL { break
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 19:38:41 UTC 2024 - 712.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteARM64.go
for { val := auxIntToInt8(v.AuxInt) v.reset(OpARM64MOVDconst) v.AuxInt = int64ToAuxInt(int64(val)) return true } } func rewriteValueARM64_OpConstBool(v *Value) bool { // match: (ConstBool [t]) // result: (MOVDconst [b2i(t)]) for { t := auxIntToBool(v.AuxInt) v.reset(OpARM64MOVDconst) v.AuxInt = int64ToAuxInt(b2i(t)) return true } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 608.6K bytes - Viewed (0)