Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for iterationEnd (0.66 sec)

  1. src/cmd/compile/internal/ssa/likelyadjust.go

    }
    
    func (l *loop) setDepth(d int16) {
    	l.depth = d
    	for _, c := range l.children {
    		c.setDepth(d + 1)
    	}
    }
    
    // iterationEnd checks if block b ends iteration of loop l.
    // Ending iteration means either escaping to outer loop/code or
    // going back to header
    func (l *loop) iterationEnd(b *Block, b2l []*loop) bool {
    	return b == l.header || b2l[b.ID] == nil || (b2l[b.ID] != l && b2l[b.ID].depth <= l.depth)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 15.4K bytes
    - Viewed (0)
Back to top