Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for IsNonNil$ (0.29 sec)

  1. src/cmd/compile/internal/ssa/_gen/generic.rules

    (EqPtr  (AddPtr p1 o1) p2) && isSamePtr(p1, p2) => (Not (IsNonNil o1))
    (NeqPtr (AddPtr p1 o1) p2) && isSamePtr(p1, p2) => (IsNonNil o1)
    (EqPtr  (Const(32|64) [0]) p) => (Not (IsNonNil p))
    (NeqPtr (Const(32|64) [0]) p) => (IsNonNil p)
    (EqPtr  (ConstNil) p) => (Not (IsNonNil p))
    (NeqPtr (ConstNil) p) => (IsNonNil p)
    
    // Evaluate constant user nil checks.
    (IsNonNil (ConstNil)) => (ConstBool [false])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  2. src/reflect/all_test.go

    	isValid(m.Func)
    	isNonNil(v.Elem().Field(0).Interface())
    	isNonNil(v.Elem().Field(1).Interface())
    	isNonNil(v.Elem().Field(2).Field(2).Index(0))
    	isNonNil(v.Elem().FieldByName("X").Interface())
    	isNonNil(v.Elem().FieldByName("Y").Interface())
    	isNonNil(v.Elem().FieldByName("Z").Interface())
    	isNonNil(v.Elem().FieldByName("S").Index(0).Interface())
    	isNonNil(v.Type().Method(0).Func.Interface())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "CvtBoolToUint8", argLength: 1},
    
    	// Force rounding to precision of type.
    	{name: "Round32F", argLength: 1},
    	{name: "Round64F", argLength: 1},
    
    	// Automatically inserted safety checks
    	{name: "IsNonNil", argLength: 1, typ: "Bool"},        // arg0 != nil
    	{name: "IsInBounds", argLength: 2, typ: "Bool"},      // 0 <= arg0 < arg1. arg1 is guaranteed >= 0.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (TailCall ...) => (CALLtail ...)
    
    // Miscellaneous
    (GetClosurePtr ...) => (LoweredGetClosurePtr ...)
    (GetCallerSP ...) => (LoweredGetCallerSP ...)
    (GetCallerPC ...) => (LoweredGetCallerPC ...)
    (IsNonNil ptr) => (NotEqual (CMPconst [0] ptr))
    (IsInBounds idx len) => (LessThan (CMPU idx len))
    (IsSliceInBounds idx len) => (LessEqual (CMPU idx len))
    (NilCheck ...) => (LoweredNilCheck ...)
    
    // Write barrier.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (StaticCall  ...) => (CALLstatic  ...)
    (ClosureCall ...) => (CALLclosure ...)
    (InterCall   ...) => (CALLinter   ...)
    (TailCall    ...) => (CALLtail    ...)
    
    // checks
    (NilCheck ...) => (LoweredNilCheck ...)
    (IsNonNil ptr) => (NotEqual (CMPconst [0] ptr))
    (IsInBounds      idx len) => (LessThanU  (CMP idx len))
    (IsSliceInBounds idx len) => (LessEqualU (CMP idx len))
    
    // pseudo-ops
    (GetClosurePtr ...) => (LoweredGetClosurePtr ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewritePPC64.go

    		v0.AddArg2(idx, len)
    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValuePPC64_OpIsNonNil(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	// match: (IsNonNil ptr)
    	// result: (NotEqual (CMPconst [0] ptr))
    	for {
    		ptr := v_0
    		v.reset(OpPPC64NotEqual)
    		v0 := b.NewValue0(v.Pos, OpPPC64CMPconst, types.TypeFlags)
    		v0.AuxInt = int64ToAuxInt(0)
    		v0.AddArg(ptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteARM64.go

    		v0.AddArg2(idx, len)
    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValueARM64_OpIsNonNil(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	// match: (IsNonNil ptr)
    	// result: (NotEqual (CMPconst [0] ptr))
    	for {
    		ptr := v_0
    		v.reset(OpARM64NotEqual)
    		v0 := b.NewValue0(v.Pos, OpARM64CMPconst, types.TypeFlags)
    		v0.AuxInt = int64ToAuxInt(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/opGen.go

    	},
    	{
    		name:    "Round32F",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "Round64F",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "IsNonNil",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "IsInBounds",
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:    "IsSliceInBounds",
    		argLen:  2,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top