Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SetUnsigned (0.15 sec)

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

    			v[i].Op = OpConst64
    			v[i].AuxInt = int64(i - 1000 - 128)
    		}
    		if i >= 1256 && i < 1512 {
    			v[i].Op = OpConst64
    			v[i].AuxInt = int64(i - 1000 - 256)
    		}
    	}
    
    	po := newPoset()
    	po.SetUnsigned(unsigned)
    	for idx, op := range ops {
    		t.Logf("op%d%v", idx, op)
    		switch op.typ {
    		case SetOrder:
    			if !po.SetOrder(v[op.a], v[op.b]) {
    				t.Errorf("FAILED: op%d%v failed", idx, op)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 26 07:52:35 UTC 2019
    - 18.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/prove.go

    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)
    	ft.stack = make([]fact, 4)
    	ft.limits = make(map[ID]limit)
    	ft.limitStack = make([]limitFact, 4)
    	ft.zero = f.ConstInt64(f.Config.Types.Int64, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/poset.go

    		nodes:     make([]posetNode, 1, 16),
    		roots:     make([]uint32, 0, 4),
    		noneq:     make(map[uint32]bitset),
    		undo:      make([]posetUndo, 0, 4),
    	}
    }
    
    func (po *poset) SetUnsigned(uns bool) {
    	if uns {
    		po.flags |= posetFlagUnsigned
    	} else {
    		po.flags &^= posetFlagUnsigned
    	}
    }
    
    // Handle children
    func (po *poset) setchl(i uint32, l posetEdge) { po.nodes[i].l = l }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 17:23:05 UTC 2023
    - 37.2K bytes
    - Viewed (0)
Back to top