Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NumBlocks (0.08 sec)

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

    //	  CMPQ ...
    //	  JLT loop
    func loopRotate(f *Func) {
    	loopnest := f.loopnest()
    	if loopnest.hasIrreducible {
    		return
    	}
    	if len(loopnest.loops) == 0 {
    		return
    	}
    
    	idToIdx := f.Cache.allocIntSlice(f.NumBlocks())
    	defer f.Cache.freeIntSlice(idToIdx)
    	for i, b := range f.Blocks {
    		idToIdx[b.ID] = i
    	}
    
    	// Set of blocks we're moving, by ID.
    	move := map[ID]struct{}{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top