Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for genFwdBack (0.12 sec)

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

    			}
    		}
    	}
    }
    
    func TestLCALinear(t *testing.T) {
    	testLCAgen(t, genLinear, 10)
    	testLCAgen(t, genLinear, 100)
    }
    
    func TestLCAFwdBack(t *testing.T) {
    	testLCAgen(t, genFwdBack, 10)
    	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)
    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
    }
    
    // genFwdBack creates an array of blocks that alternate between
    // b_n -> [b_n+1], b_n -> [b_n+1, b_n-1] , b_n -> [b_n+1, b_n+2]
    func genFwdBack(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