Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for IsNonNil$ (0.21 sec)

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

    }
    func rewriteValuegeneric_OpIsNonNil(v *Value) bool {
    	v_0 := v.Args[0]
    	// match: (IsNonNil (ConstNil))
    	// result: (ConstBool [false])
    	for {
    		if v_0.Op != OpConstNil {
    			break
    		}
    		v.reset(OpConstBool)
    		v.AuxInt = boolToAuxInt(false)
    		return true
    	}
    	// match: (IsNonNil (Const32 [c]))
    	// result: (ConstBool [c != 0])
    	for {
    		if v_0.Op != OpConst32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/compile/internal/ssa/_gen/S390X.rules

    // Lowering calls
    (StaticCall ...) => (CALLstatic ...)
    (ClosureCall ...) => (CALLclosure ...)
    (InterCall ...) => (CALLinter ...)
    (TailCall ...) => (CALLtail ...)
    
    // Miscellaneous
    (IsNonNil p) => (LOCGR {s390x.NotEqual} (MOVDconst [0]) (MOVDconst [1]) (CMPconst p [0]))
    (IsInBounds idx len) => (LOCGR {s390x.Less} (MOVDconst [0]) (MOVDconst [1]) (CMPU idx len))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (CMOV(QNE|QLT|QLE|QHI|QCC|LNE|LLT|LLE|LHI|LCC|WNE|WLT|WLE|WHI|WCC) _ x (FlagLT_UGT)) => x
    (CMOV(QEQ|QGT|QGE|QCS|QLS|LEQ|LGT|LGE|LCS|LLS|WEQ|WGT|WGE|WCS|WLS) y _ (FlagLT_UGT)) => y
    
    // Miscellaneous
    (IsNonNil p) => (SETNE (TESTQ p p))
    (IsInBounds idx len) => (SETB (CMPQ idx len))
    (IsSliceInBounds idx len) => (SETBE (CMPQ idx len))
    (NilCheck ...) => (LoweredNilCheck ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewriteWasm.go

    		v1.AddArg(y)
    		v.AddArg2(v0, v1)
    		return true
    	}
    }
    func rewriteValueWasm_OpIsNonNil(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (IsNonNil p)
    	// result: (I64Eqz (I64Eqz p))
    	for {
    		p := v_0
    		v.reset(OpWasmI64Eqz)
    		v0 := b.NewValue0(v.Pos, OpWasmI64Eqz, typ.Bool)
    		v0.AddArg(p)
    		v.AddArg(v0)
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 108.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/ARM.rules

    // calls
    (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: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewriteMIPS.go

    		v.reset(OpMIPSSGTU)
    		v.AddArg2(len, idx)
    		return true
    	}
    }
    func rewriteValueMIPS_OpIsNonNil(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (IsNonNil ptr)
    	// result: (SGTU ptr (MOVWconst [0]))
    	for {
    		ptr := v_0
    		v.reset(OpMIPSSGTU)
    		v0 := b.NewValue0(v.Pos, OpMIPSMOVWconst, typ.UInt32)
    		v0.AuxInt = int32ToAuxInt(0)
    		v.AddArg2(ptr, v0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 176.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    		v.reset(OpLOONG64SGTU)
    		v.AddArg2(len, idx)
    		return true
    	}
    }
    func rewriteValueLOONG64_OpIsNonNil(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (IsNonNil ptr)
    	// result: (SGTU ptr (MOVVconst [0]))
    	for {
    		ptr := v_0
    		v.reset(OpLOONG64SGTU)
    		v0 := b.NewValue0(v.Pos, OpLOONG64MOVVconst, typ.UInt64)
    		v0.AuxInt = int64ToAuxInt(0)
    		v.AddArg2(ptr, v0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    		v.reset(OpMIPS64SGTU)
    		v.AddArg2(len, idx)
    		return true
    	}
    }
    func rewriteValueMIPS64_OpIsNonNil(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (IsNonNil ptr)
    	// result: (SGTU ptr (MOVVconst [0]))
    	for {
    		ptr := v_0
    		v.reset(OpMIPS64SGTU)
    		v0 := b.NewValue0(v.Pos, OpMIPS64MOVVconst, typ.UInt64)
    		v0.AuxInt = int64ToAuxInt(0)
    		v.AddArg2(ptr, v0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
Back to top