Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for nilcheckelim (0.22 sec)

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

    	{"generic cse", "dse"},
    	// cse substantially improves nilcheckelim efficacy
    	{"generic cse", "nilcheckelim"},
    	// allow deadcode to clean up after nilcheckelim
    	{"nilcheckelim", "generic deadcode"},
    	// nilcheckelim generates sequences of plain basic blocks
    	{"nilcheckelim", "late fuse"},
    	// nilcheckelim relies on opt to rewrite user nil checks
    	{"opt", "nilcheckelim"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/schedule.go

    				continue
    			}
    			sset.add(v.MemoryArg().ID) // record that v's memory arg is used
    		}
    		if v.Op == OpNilCheck {
    			hasNilCheck = true
    		}
    	}
    	if len(stores) == 0 || !hasNilCheck && f.pass.name == "nilcheckelim" {
    		// there is no store, the order does not matter
    		return values
    	}
    
    	// find last store, which is the one that is not used by other stores
    	var last *Value
    	for _, v := range stores {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top