Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for IsNonNil$ (0.14 sec)

  1. test/fuse.go

    }
    
    func fNeqInterNeqInter(a interface{}, f float64) bool {
    	return a != nil && f > Cf2 || a != nil && f < -Cf2 // ERROR "Redirect IsNonNil based on IsNonNil$"
    }
    
    func fEqSliceEqSlice(a []int, f float64) bool {
    	return a == nil && f > Cf2 || a == nil && f < -Cf2 // ERROR "Redirect IsNonNil based on IsNonNil$"
    }
    
    func fEqSliceNeqSlice(a []int, f float64) bool {
    	return a == nil && f > Cf2 || a != nil && f < -Cf2
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 00:02:36 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/compile/internal/ssa/schedule.go

    // (not necessarily dependency order). This should be cheaper
    // than a full scheduling as done above.
    // Note that simple dependency order won't work: there is no
    // dependency between NilChecks and values like IsNonNil.
    // Auxiliary data structures are passed in as arguments, so
    // that they can be allocated in the caller and be reused.
    // This function takes care of reset them.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/Wasm.rules

    (ClosureCall ...) => (LoweredClosureCall ...)
    (InterCall ...) => (LoweredInterCall ...)
    (TailCall ...) => (LoweredTailCall ...)
    
    // Miscellaneous
    (Convert ...) => (LoweredConvert ...)
    (IsNonNil p) => (I64Eqz (I64Eqz p))
    (IsInBounds ...) => (I64LtU ...)
    (IsSliceInBounds ...) => (I64LeU ...)
    (NilCheck ...) => (LoweredNilCheck ...)
    (GetClosurePtr ...) => (LoweredGetClosurePtr ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/compile/internal/ssa/_gen/LOONG64.rules

    (AtomicCompareAndSwap32 ptr old new mem) => (LoweredAtomicCas32 ptr (SignExt32to64 old) new mem)
    (AtomicCompareAndSwap64 ...) => (LoweredAtomicCas64 ...)
    
    // checks
    (NilCheck ...) => (LoweredNilCheck ...)
    (IsNonNil ptr) => (SGTU ptr (MOVVconst [0]))
    (IsInBounds idx len) => (SGTU len idx)
    (IsSliceInBounds idx len) => (XOR (MOVVconst [1]) (SGTU idx len))
    
    // pseudo-ops
    (GetClosurePtr ...) => (LoweredGetClosurePtr ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    // Generic zeroing uses a loop
    (Zero [s] {t} ptr mem) =>
    	(LoweredZero [t.Alignment()]
    		ptr
    		(ADD <ptr.Type> ptr (MOVDconst [s-moveSize(t.Alignment(), config)]))
    		mem)
    
    // Checks
    (IsNonNil ...) => (SNEZ ...)
    (IsInBounds ...) => (Less64U ...)
    (IsSliceInBounds ...) => (Leq64U ...)
    
    // Trivial lowering
    (NilCheck ...) => (LoweredNilCheck ...)
    (GetClosurePtr ...) => (LoweredGetClosurePtr ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/MIPS.rules

    					(XORconst <typ.UInt32> [3] ptr)))))) mem)
    
    (AtomicAnd32 ...) => (LoweredAtomicAnd ...)
    (AtomicOr32  ...) => (LoweredAtomicOr  ...)
    
    
    // checks
    (NilCheck ...) => (LoweredNilCheck ...)
    (IsNonNil ptr) => (SGTU ptr (MOVWconst [0]))
    (IsInBounds idx len) => (SGTU len idx)
    (IsSliceInBounds idx len) => (XORconst [1] (SGTU idx len))
    
    // pseudo-ops
    (GetClosurePtr ...) => (LoweredGetClosurePtr ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 35.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/MIPS64.rules

    					(XORconst <typ.UInt64> [3] ptr)))))) mem)
    
    (AtomicAnd32 ...) => (LoweredAtomicAnd32 ...)
    (AtomicOr32  ...) => (LoweredAtomicOr32  ...)
    
    // checks
    (NilCheck ...) => (LoweredNilCheck ...)
    (IsNonNil ptr) => (SGTU ptr (MOVVconst [0]))
    (IsInBounds idx len) => (SGTU len idx)
    (IsSliceInBounds idx len) => (XOR (MOVVconst [1]) (SGTU idx len))
    
    // pseudo-ops
    (GetClosurePtr ...) => (LoweredGetClosurePtr ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 41.9K bytes
    - Viewed (0)
  10. 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)
Back to top