Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for regallocValues (0.74 sec)

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

    	xl := c.locs[:nl]
    	for i := range xl {
    		xl[i] = nil
    	}
    
    	// regalloc sets the length of c.regallocValues to whatever it may use,
    	// so clear according to length.
    	for i := range c.regallocValues {
    		c.regallocValues[i] = valState{}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 15 23:00:54 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/regalloc.go

    		s.blockOrder[b.ID] = int32(i)
    	}
    
    	s.regs = make([]regState, s.numRegs)
    	nv := f.NumValues()
    	if cap(s.f.Cache.regallocValues) >= nv {
    		s.f.Cache.regallocValues = s.f.Cache.regallocValues[:nv]
    	} else {
    		s.f.Cache.regallocValues = make([]valState, nv)
    	}
    	s.values = s.f.Cache.regallocValues
    	s.orig = s.f.Cache.allocValueSlice(nv)
    	s.copies = make(map[*Value]bool)
    	for _, b := range s.visitOrder {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
Back to top