Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for OpPhi (0.03 sec)

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

    // phi functions, and instructions with a no-pos position
    // are examples of instructions that can cause churn.
    func (s *State) DebugFriendlySetPosFrom(v *ssa.Value) {
    	switch v.Op {
    	case ssa.OpPhi, ssa.OpCopy, ssa.OpLoadReg, ssa.OpStoreReg:
    		// These are not statements
    		s.SetPos(v.Pos.WithNotStmt())
    	default:
    		p := v.Pos
    		if p != src.NoXPos {
    			// If the position is defined, update the position.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewritePPC64.go

    		return true
    	}
    	// match: (MOVDaddr {sym} [n] ptr)
    	// cond: sym == nil && n == 0 && (ptr.Op == OpArgIntReg || ptr.Op == OpPhi)
    	// result: ptr
    	for {
    		n := auxIntToInt32(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		ptr := v_0
    		if !(sym == nil && n == 0 && (ptr.Op == OpArgIntReg || ptr.Op == OpPhi)) {
    			break
    		}
    		v.copyOf(ptr)
    		return true
    	}
    	return false
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
Back to top