Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newFactsTable (0.13 sec)

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

    //	5,       For any successor s of b, try to update relationship b->s, if a
    //	         contradiction is found then redirect p to another successor of b.
    func fuseBranchRedirect(f *Func) bool {
    	ft := newFactsTable(f)
    	ft.checkpoint()
    
    	changed := false
    	for i := len(f.Blocks) - 1; i >= 0; i-- {
    		b := f.Blocks[i]
    		if b.Kind != BlockIf {
    			continue
    		}
    		// b is either empty or only contains the control value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 21:40:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/prove.go

    	zero *Value
    }
    
    // checkpointFact is an invalid value used for checkpointing
    // and restoring factsTable.
    var checkpointFact = fact{}
    var checkpointBound = limitFact{}
    
    func newFactsTable(f *Func) *factsTable {
    	ft := &factsTable{}
    	ft.orderS = f.newPoset()
    	ft.orderU = f.newPoset()
    	ft.orderS.SetUnsigned(false)
    	ft.orderU.SetUnsigned(true)
    	ft.facts = make(map[pair]relation)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
Back to top