Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for OpPhi (0.92 sec)

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

    				ft.update(b, v, v.Args[1], unsigned, lt)
    			case OpPhi:
    				// Determine the min and max value of OpPhi composed entirely of integer constants.
    				//
    				// For example, for an OpPhi:
    				//
    				// v1 = OpConst64 [13]
    				// v2 = OpConst64 [7]
    				// v3 = OpConst64 [42]
    				//
    				// v4 = OpPhi(v1, v2, v3)
    				//
    				// We can prove:
    				//
    				// v4 >= 7 && v4 <= 42
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/regalloc.go

    				regValLiveSet.add(v.ID)
    			}
    		}
    		for i := len(b.Values) - 1; i >= 0; i-- {
    			v := b.Values[i]
    			regValLiveSet.remove(v.ID)
    			if v.Op == OpPhi {
    				// Remove v from the live set, but don't add
    				// any inputs. This is the state the len(b.Preds)>1
    				// case below desires; it wants to process phis specially.
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewrite.go

    		args = args[:len(args)-1]
    		if target.Block.ID != v.Block.ID {
    			// Since target and load are in the same block
    			// we can stop searching when we leave the block.
    			continue
    		}
    		if v.Op == OpPhi {
    			// A Phi implies we have reached the top of the block.
    			// The memory phi, if it exists, is always
    			// the first logical store in the block.
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/debug.go

    					var source *Value
    					switch v.Op {
    					case OpStoreReg:
    						source = v.Args[0]
    					case OpLoadReg:
    						switch a := v.Args[0]; a.Op {
    						case OpArg, OpPhi:
    							source = a
    						case OpStoreReg:
    							source = a.Args[0]
    						default:
    							if state.loggingLevel > 1 {
    								state.logf("at %v: load with unexpected source op: %v (%v)\n", v, a.Op, a)
    							}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (OffPtr [off] ptr) => (ADD (MOVDconst <typ.Int64> [off]) ptr)
    (MOVDaddr {sym} [n] p:(ADD x y)) && sym == nil && n == 0 => p
    (MOVDaddr {sym} [n] ptr) && sym == nil && n == 0 && (ptr.Op == OpArgIntReg || ptr.Op == OpPhi) => ptr
    
    // TODO: optimize these cases?
    (Ctz32NonZero ...) => (Ctz32 ...)
    (Ctz64NonZero ...) => (Ctz64 ...)
    
    (Ctz64 x) && buildcfg.GOPPC64<=8 => (POPCNTD (ANDN <typ.Int64> (ADDconst <typ.Int64> [-1] x) x))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top