Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for genMaxPred (1.28 sec)

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

    	testLCAgen(t, genFwdBack, 100)
    }
    
    func TestLCAManyPred(t *testing.T) {
    	testLCAgen(t, genManyPred, 10)
    	testLCAgen(t, genManyPred, 100)
    }
    
    func TestLCAMaxPred(t *testing.T) {
    	testLCAgen(t, genMaxPred, 10)
    	testLCAgen(t, genMaxPred, 100)
    }
    
    func TestLCAMaxPredValue(t *testing.T) {
    	testLCAgen(t, genMaxPredValue, 10)
    	testLCAgen(t, genMaxPredValue, 100)
    }
    
    // Simple implementation of LCA to compare against.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 01 14:25:12 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/dom_test.go

    		}
    	}
    
    	blocs = append(blocs,
    		Bloc(blockn(size), Goto("exit")),
    		Bloc("exit", Exit("mem")),
    	)
    
    	return blocs
    }
    
    // genMaxPred maximizes the size of the 'exit' predecessor list.
    func genMaxPred(size int) []bloc {
    	var blocs []bloc
    	blocs = append(blocs,
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top