Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setOrig (0.16 sec)

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

    		r := pickReg(m)
    		m &^= 1 << r
    		x := s.curBlock.NewValue0(src.NoXPos, OpClobberReg, types.TypeVoid)
    		s.f.setHome(x, &s.registers[r])
    	}
    }
    
    // setOrig records that c's original value is the same as
    // v's original value.
    func (s *regAllocState) setOrig(c *Value, v *Value) {
    	if int(c.ID) >= cap(s.orig) {
    		x := s.f.Cache.allocValueSlice(int(c.ID) + 1)
    		copy(x, s.orig)
    		s.f.Cache.freeValueSlice(s.orig)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/prove.go

    		for i, v := range check.Args {
    			if v != end {
    				continue
    			}
    
    			check.SetArg(i, start)
    			goto replacedEnd
    		}
    		panic(fmt.Sprintf("unreachable, ind: %v, start: %v, end: %v", ind, start, end))
    	replacedEnd:
    
    		for i, v := range ind.Args {
    			if v != start {
    				continue
    			}
    
    			ind.SetArg(i, end)
    			goto replacedStart
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewrite.go

    				// of a value so that a x.Uses==1 rule condition
    				// fires reliably.
    				for i, a := range v.Args {
    					if a.Op != OpCopy {
    						continue
    					}
    					aa := copySource(a)
    					v.SetArg(i, aa)
    					// If a, a copy, has a line boundary indicator, attempt to find a new value
    					// to hold it.  The first candidate is the value that will replace a (aa),
    					// if it shares the same block and line and is eligible.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
Back to top