Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NumBlocks (0.11 sec)

  1. src/cmd/compile/internal/liveness/plive.go

    	if lc, _ := f.Cache.Liveness.(*livenessFuncCache); lc == nil {
    		// Prep the cache so liveness can fill it later.
    		f.Cache.Liveness = new(livenessFuncCache)
    	} else {
    		if cap(lc.be) >= f.NumBlocks() {
    			lv.be = lc.be[:f.NumBlocks()]
    		}
    		lv.livenessMap = Map{
    			Vals:         lc.livenessMap.Vals,
    			UnsafeVals:   lc.livenessMap.UnsafeVals,
    			UnsafeBlocks: lc.livenessMap.UnsafeBlocks,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/func.go

    		CanonicalLocalSlots:  make(map[LocalSlot]*LocalSlot),
    		CanonicalLocalSplits: make(map[LocalSlotSplitKey]*LocalSlot),
    	}
    }
    
    // NumBlocks returns an integer larger than the id of any Block in the Func.
    func (f *Func) NumBlocks() int {
    	return f.bid.num()
    }
    
    // NumValues returns an integer larger than the id of any Value in the Func.
    func (f *Func) NumValues() int {
    	return f.vid.num()
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top