Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for BlockPlain (0.11 sec)

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

    	s0 := b.Succs[0].b
    	i0 := b.Succs[0].i
    	if s0.Kind != BlockPlain || !isEmpty(s0) {
    		s0, ss0 = b, s0
    	} else {
    		ss0 = s0.Succs[0].b
    		i0 = s0.Succs[0].i
    	}
    	s1 := b.Succs[1].b
    	i1 := b.Succs[1].i
    	if s1.Kind != BlockPlain || !isEmpty(s1) {
    		s1, ss1 = b, s1
    	} else {
    		ss1 = s1.Succs[0].b
    		i1 = s1.Succs[0].i
    	}
    	if ss0 != ss1 {
    		if s0.Kind == BlockPlain && isEmpty(s0) && s1.Kind == BlockPlain && isEmpty(s1) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/looprotate.go

    	// Check each loop header and decide if we want to move it.
    	for _, loop := range loopnest.loops {
    		b := loop.header
    		var p *Block // b's in-loop predecessor
    		for _, e := range b.Preds {
    			if e.b.Kind != BlockPlain {
    				continue
    			}
    			if loopnest.b2l[e.b.ID] != loop {
    				continue
    			}
    			p = e.b
    		}
    		if p == nil {
    			continue
    		}
    		p.Hotness |= HotInitial
    		if f.IsPgoHot {
    			p.Hotness |= HotPgo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/deadcode.go

    	}
    
    	// Get rid of dead edges from live code.
    	for _, b := range f.Blocks {
    		if !reachable[b.ID] {
    			continue
    		}
    		if b.Kind != BlockFirst {
    			continue
    		}
    		b.removeEdge(1)
    		b.Kind = BlockPlain
    		b.Likely = BranchUnknown
    	}
    
    	// Splice out any copies introduced during dead block removal.
    	copyelim(f)
    
    	// Find live values.
    	live, order := liveValues(f, reachable)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:29:01 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top