- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for swapSuccessors (0.2 sec)
-
src/cmd/compile/internal/ssa/block.go
// Update the other end of the edge we moved. e.b.Preds[e.i].i = i } b.Succs[n] = Edge{} b.Succs = b.Succs[:n] b.Func.invalidateCFG() } func (b *Block) swapSuccessors() { if len(b.Succs) != 2 { b.Fatalf("swapSuccessors with len(Succs)=%d", len(b.Succs)) } e0 := b.Succs[0] e1 := b.Succs[1] b.Succs[0] = e1 b.Succs[1] = e0 e0.b.Preds[e0.i].i = 1 e1.b.Preds[e1.i].i = 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewrite386.go
// result: (First no yes) for b.Controls[0].Op == Op386FlagLT_ULT { b.Reset(BlockFirst) b.swapSuccessors() return true } // match: (EQ (FlagLT_UGT) yes no) // result: (First no yes) for b.Controls[0].Op == Op386FlagLT_UGT { b.Reset(BlockFirst) b.swapSuccessors() return true } // match: (EQ (FlagGT_ULT) yes no) // result: (First no yes)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 21:05:46 UTC 2023 - 262.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteS390X.go
} b.Reset(BlockFirst) b.swapSuccessors() return true } // match: (BRC {c} (FlagLT) yes no) // cond: c&s390x.Less == 0 // result: (First no yes) for b.Controls[0].Op == OpS390XFlagLT { c := auxToS390xCCMask(b.Aux) if !(c&s390x.Less == 0) { break } b.Reset(BlockFirst) b.swapSuccessors() return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 18:09:26 UTC 2023 - 395.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteMIPS.go
// result: (First no yes) for b.Controls[0].Op == OpMIPSMOVWconst { v_0 := b.Controls[0] c := auxIntToInt32(v_0.AuxInt) if !(c != 0) { break } b.Reset(BlockFirst) b.swapSuccessors() return true } case BlockMIPSGEZ: // match: (GEZ (MOVWconst [c]) yes no) // cond: c >= 0 // result: (First yes no) for b.Controls[0].Op == OpMIPSMOVWconst {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 14:43:03 UTC 2023 - 176.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteAMD64.go
// result: (First no yes) for b.Controls[0].Op == OpAMD64FlagLT_ULT { b.Reset(BlockFirst) b.swapSuccessors() return true } // match: (EQ (FlagLT_UGT) yes no) // result: (First no yes) for b.Controls[0].Op == OpAMD64FlagLT_UGT { b.Reset(BlockFirst) b.swapSuccessors() return true } // match: (EQ (FlagGT_ULT) yes no) // result: (First no yes)
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 b.Controls[0].Op == OpARM64FlagConstant { v_0 := b.Controls[0] fc := auxIntToFlagConstant(v_0.AuxInt) if !(!fc.eq()) { break } b.Reset(BlockFirst) b.swapSuccessors() return true } // match: (EQ (InvertFlags cmp) yes no) // result: (EQ cmp yes no) for b.Controls[0].Op == OpARM64InvertFlags { v_0 := b.Controls[0] cmp := v_0.Args[0]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 608.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteLOONG64.go
// result: (First no yes) for b.Controls[0].Op == OpLOONG64MOVVconst { v_0 := b.Controls[0] c := auxIntToInt64(v_0.AuxInt) if !(c != 0) { break } b.Reset(BlockFirst) b.swapSuccessors() return true } case BlockLOONG64GEZ: // match: (GEZ (MOVVconst [c]) yes no) // cond: c >= 0 // result: (First yes no) for b.Controls[0].Op == OpLOONG64MOVVconst {
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/rewriteARM.go
for b.Controls[0].Op == OpARMFlagConstant { v_0 := b.Controls[0] fc := auxIntToFlagConstant(v_0.AuxInt) if !(!fc.eq()) { break } b.Reset(BlockFirst) b.swapSuccessors() return true } // match: (EQ (InvertFlags cmp) yes no) // result: (EQ cmp yes no) for b.Controls[0].Op == OpARMInvertFlags { v_0 := b.Controls[0] cmp := v_0.Args[0]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 17:19:36 UTC 2023 - 486.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteMIPS64.go
// result: (First no yes) for b.Controls[0].Op == OpMIPS64MOVVconst { v_0 := b.Controls[0] c := auxIntToInt64(v_0.AuxInt) if !(c != 0) { break } b.Reset(BlockFirst) b.swapSuccessors() return true } case BlockMIPS64GEZ: // match: (GEZ (MOVVconst [c]) yes no) // cond: c >= 0 // result: (First yes no) for b.Controls[0].Op == OpMIPS64MOVVconst {
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/rewritePPC64.go
// result: (First no yes) for b.Controls[0].Op == OpPPC64FlagLT { b.Reset(BlockFirst) b.swapSuccessors() return true } // match: (EQ (FlagGT) yes no) // result: (First no yes) for b.Controls[0].Op == OpPPC64FlagGT { b.Reset(BlockFirst) b.swapSuccessors() return true } // match: (EQ (InvertFlags cmp) yes no) // result: (EQ cmp yes no)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 360.2K bytes - Viewed (0)