- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for rewriteBlockgeneric (0.21 sec)
-
src/cmd/compile/internal/ssa/opt.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ssa // machine-independent optimization. func opt(f *Func) { applyRewrite(f, rewriteBlockgeneric, rewriteValuegeneric, removeDeadValues)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 309 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritegeneric.go
if x_1.Op != OpConst64 { break } s := auxIntToInt64(x_1.AuxInt) if !(s >= 56) { break } v.copyOf(x) return true } return false } func rewriteBlockgeneric(b *Block) bool { switch b.Kind { case BlockIf: // match: (If (Not cond) yes no) // result: (If cond no yes) for b.Controls[0].Op == OpNot { v_0 := b.Controls[0]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:24:47 UTC 2024 - 812.2K bytes - Viewed (0)