Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for newValue1 (0.22 sec)

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

    	lenType := types.Int
    
    	ptr := v.Block.NewValue0(v.Pos, OpPhi, ptrType)
    	len := v.Block.NewValue0(v.Pos, OpPhi, lenType)
    	cap := v.Block.NewValue0(v.Pos, OpPhi, lenType)
    	for _, a := range v.Args {
    		ptr.AddArg(a.Block.NewValue1(v.Pos, OpSlicePtr, ptrType, a))
    		len.AddArg(a.Block.NewValue1(v.Pos, OpSliceLen, lenType, a))
    		cap.AddArg(a.Block.NewValue1(v.Pos, OpSliceCap, lenType, a))
    	}
    	v.reset(OpSliceMake)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:22:15 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/memcombine.go

    	}
    }
    
    func truncate(b *Block, pos src.XPos, v *Value, from, to int64) *Value {
    	switch from*10 + to {
    	case 82:
    		return b.NewValue1(pos, OpTrunc64to16, types.Types[types.TUINT16], v)
    	case 84:
    		return b.NewValue1(pos, OpTrunc64to32, types.Types[types.TUINT32], v)
    	case 42:
    		return b.NewValue1(pos, OpTrunc32to16, types.Types[types.TUINT16], v)
    	default:
    		base.Fatalf("bad sizes %d %d\n", from, to)
    		return nil
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/writebarrier.go

    				curCall = bThen.NewValue1(pos, OpWB, t, memThen)
    				curPtr = bThen.NewValue1(pos, OpSelect0, types.Types[types.TUINTPTR].PtrTo(), curCall)
    				memThen = bThen.NewValue1(pos, OpSelect1, types.TypeMem, curCall)
    			}
    			// Store value in write buffer
    			num := curCall.AuxInt
    			curCall.AuxInt = num + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/loopreschedchecks.go

    		cfgtypes := &f.Config.Types
    		pt := cfgtypes.Uintptr
    		g := test.NewValue1(bb.Pos, OpGetG, pt, mem0)
    		sp := test.NewValue0(bb.Pos, OpSP, pt)
    		cmpOp := OpLess64U
    		if pt.Size() == 4 {
    			cmpOp = OpLess32U
    		}
    		limaddr := test.NewValue1I(bb.Pos, OpOffPtr, pt, 2*pt.Size(), g)
    		lim := test.NewValue2(bb.Pos, OpLoad, pt, limaddr, mem0)
    		cmp := test.NewValue2(bb.Pos, cmpOp, cfgtypes.Bool, sp, lim)
    		test.SetControl(cmp)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:10 UTC 2023
    - 16K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/expand_calls.go

    	return
    }
    
    func (x *expandState) decomposePair(pos src.XPos, b *Block, a, mem *Value, t0, t1 *types.Type, o0, o1 Op, rc *registerCursor) *Value {
    	e := b.NewValue1(pos, o0, t0, a)
    	pos = pos.WithNotStmt()
    	mem = x.decomposeAsNecessary(pos, b, e, mem, rc.next(t0))
    	e = b.NewValue1(pos, o1, t1, a)
    	mem = x.decomposeAsNecessary(pos, b, e, mem, rc.next(t1))
    	return mem
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/func.go

    	v := b.Func.newValue(op, t, b, pos)
    	v.AuxInt = auxint
    	v.Aux = aux
    	v.Args = v.argstorage[:0]
    	return v
    }
    
    // NewValue1 returns a new value in the block with one argument and zero aux values.
    func (b *Block) NewValue1(pos src.XPos, op Op, t *types.Type, arg *Value) *Value {
    	v := b.Func.newValue(op, t, b, pos)
    	v.AuxInt = 0
    	v.Args = v.argstorage[:1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/common/equality_test.go

    			return err
    		}
    	}
    
    	if correlatedObject == nil {
    		if c.OldValue != nil || c.NewValue != nil {
    			return fmt.Errorf("expected non-nil value, got nil")
    		}
    	} else {
    		// Check that the correlated object has the expected values
    		if !reflect.DeepEqual(correlatedObject.Value, c.NewValue) {
    			return fmt.Errorf("expected value %v, got %v", c.NewValue, correlatedObject.Value)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 21:36:46 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewritedec.go

    			break
    		}
    		v.reset(OpSliceMake)
    		v0 := b.NewValue0(v.Pos, OpLoad, t.Elem().PtrTo())
    		v0.AddArg2(ptr, mem)
    		v1 := b.NewValue0(v.Pos, OpLoad, typ.Int)
    		v2 := b.NewValue0(v.Pos, OpOffPtr, typ.IntPtr)
    		v2.AuxInt = int64ToAuxInt(config.PtrSize)
    		v2.AddArg(ptr)
    		v1.AddArg2(v2, mem)
    		v3 := b.NewValue0(v.Pos, OpLoad, typ.Int)
    		v4 := b.NewValue0(v.Pos, OpOffPtr, typ.IntPtr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesTest.groovy

            then:
            result == expectedResult
            map[key] == expectedResult
    
            where:
            key        | newValue   | expectedResult
            'existing' | 'newValue' | 'newValue'
            'existing' | null       | null
            'missing'  | 'newValue' | 'newValue'
            'missing'  | null       | null
        }
    
        def "method compute(#key, #newValue) reports change"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteAMD64splitload.go

    	for {
    		vo := auxIntToValAndOff(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		ptr := v_0
    		mem := v_1
    		if !(vo.Val() == 0) {
    			break
    		}
    		v.reset(OpAMD64TESTB)
    		x := b.NewValue0(v.Pos, OpAMD64MOVBload, typ.UInt8)
    		x.AuxInt = int32ToAuxInt(vo.Off())
    		x.Aux = symToAux(sym)
    		x.AddArg2(ptr, mem)
    		v.AddArg2(x, x)
    		return true
    	}
    	// match: (CMPBconstload {sym} [vo] ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 21.4K bytes
    - Viewed (0)
Back to top