Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for ControlValues (0.21 sec)

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

    func (b *Block) replaceUses(old, new *Value) {
    	for _, v := range b.Values {
    		for i, a := range v.Args {
    			if a == old {
    				v.SetArg(i, new)
    			}
    		}
    	}
    	for i, v := range b.ControlValues() {
    		if v == old {
    			b.ReplaceControl(i, new)
    		}
    	}
    }
    
    // moveTo moves v to dst, adjusting the appropriate Block.Values slices.
    // The caller is responsible for ensuring that this is safe.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 03 17:47:02 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/regalloc.go

    		}
    
    		// Copy the control values - we need this so we can reduce the
    		// uses property of these values later.
    		controls := append(make([]*Value, 0, 2), b.ControlValues()...)
    
    		// Load control values into registers.
    		for i, v := range b.ControlValues() {
    			if !s.values[v.ID].needReg {
    				continue
    			}
    			if s.f.pass.debug > regDebug {
    				fmt.Printf("  processing control %s\n", v.LongString())
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/html.go

    	if b.Aux != nil {
    		s += html.EscapeString(fmt.Sprintf(" {%v}", b.Aux))
    	}
    	if t := b.AuxIntString(); t != "" {
    		s += html.EscapeString(fmt.Sprintf(" [%v]", t))
    	}
    	for _, c := range b.ControlValues() {
    		s += fmt.Sprintf(" %s", c.HTML())
    	}
    	if len(b.Succs) > 0 {
    		s += " →" // right arrow
    		for _, e := range b.Succs {
    			c := e.b
    			s += " " + c.HTML()
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/s390x/ssa.go

    	"cmd/internal/obj/s390x"
    )
    
    // ssaMarkMoves marks any MOVXconst ops that need to avoid clobbering flags.
    func ssaMarkMoves(s *ssagen.State, b *ssa.Block) {
    	flive := b.FlagsLiveAtEnd
    	for _, c := range b.ControlValues() {
    		flive = c.Type.IsFlags() || flive
    	}
    	for i := len(b.Values) - 1; i >= 0; i-- {
    		v := b.Values[i]
    		if flive && v.Op == ssa.OpS390XMOVDconst {
    			// The "mark" is any non-nil Aux value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/x86/ssa.go

    	"cmd/internal/obj/x86"
    )
    
    // ssaMarkMoves marks any MOVXconst ops that need to avoid clobbering flags.
    func ssaMarkMoves(s *ssagen.State, b *ssa.Block) {
    	flive := b.FlagsLiveAtEnd
    	for _, c := range b.ControlValues() {
    		flive = c.Type.IsFlags() || flive
    	}
    	for i := len(b.Values) - 1; i >= 0; i-- {
    		v := b.Values[i]
    		if flive && v.Op == ssa.Op386MOVLconst {
    			// The "mark" is any non-nil Aux value.
    			v.Aux = ssa.AuxMark
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewrite.go

    		for _, b := range f.Blocks {
    			var b0 *Block
    			if debug > 1 {
    				b0 = new(Block)
    				*b0 = *b
    				b0.Succs = append([]Edge{}, b.Succs...) // make a new copy, not aliasing
    			}
    			for i, c := range b.ControlValues() {
    				for c.Op == OpCopy {
    					c = c.Args[0]
    					b.ReplaceControl(i, c)
    				}
    			}
    			if rb(b) {
    				change = true
    				if debug > 1 {
    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