Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for OpIsNonNil (0.19 sec)

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

    			Valu("bool1", OpIsNonNil, c.config.Types.Bool, 0, nil, "ptr1"),
    			If("bool1", "differentCheck", "exit")),
    		Bloc("differentCheck",
    			Valu("ptr2", OpLoad, ptrType, 0, nil, "sb", "mem"),
    			Valu("bool2", OpIsNonNil, c.config.Types.Bool, 0, nil, "ptr2"),
    			If("bool2", "secondCheck", "exit")),
    		Bloc("secondCheck",
    			Valu("bool3", OpIsNonNil, c.config.Types.Bool, 0, nil, "ptr1"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/sccp_test.go

    			Valu("t19", OpCvt64Fto64, c.config.Types.Float64, 0, nil, "t17"),
    			Valu("t20", OpCtz64, c.config.Types.Int64, 0, nil, "v2"),
    			Valu("t21", OpSlicemask, c.config.Types.Int64, 0, nil, "t20"),
    			Valu("t22", OpIsNonNil, c.config.Types.Int64, 0, nil, "v2"),
    			Valu("t23", OpNot, c.config.Types.Bool, 0, nil, "v4"),
    			Valu("t24", OpEq64, c.config.Types.Bool, 0, nil, "v1", "v2"),
    			Valu("t25", OpLess64, c.config.Types.Bool, 0, nil, "v1", "v2"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 21:01:50 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/nilcheck.go

    		switch node.op {
    		case Work:
    			b := node.block
    
    			// First, see if we're dominated by an explicit nil check.
    			if len(b.Preds) == 1 {
    				p := b.Preds[0].b
    				if p.Kind == BlockIf && p.Controls[0].Op == OpIsNonNil && p.Succs[0].b == b {
    					if ptr := p.Controls[0].Args[0]; nonNilValues[ptr.ID] == nil {
    						nonNilValues[ptr.ID] = ptr
    						work = append(work, bp{op: ClearPtr, ptr: ptr})
    					}
    				}
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/sccp.go

    		OpSignExt8to64, OpSignExt16to32, OpSignExt16to64, OpSignExt32to64,
    		// bit
    		OpCtz8, OpCtz16, OpCtz32, OpCtz64,
    		// mask
    		OpSlicemask,
    		// safety check
    		OpIsNonNil,
    		// not
    		OpNot:
    		return true
    	case
    		// add
    		OpAdd64, OpAdd32, OpAdd16, OpAdd8,
    		OpAdd32F, OpAdd64F,
    		// sub
    		OpSub64, OpSub32, OpSub16, OpSub8,
    		OpSub32F, OpSub64F,
    		// mul
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewritegeneric.go

    				continue
    			}
    			v.reset(OpIsNonNil)
    			v.AddArg(o1)
    			return true
    		}
    		break
    	}
    	// match: (NeqPtr (Const32 [0]) p)
    	// result: (IsNonNil p)
    	for {
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    			if v_0.Op != OpConst32 || auxIntToInt32(v_0.AuxInt) != 0 {
    				continue
    			}
    			p := v_1
    			v.reset(OpIsNonNil)
    			v.AddArg(p)
    			return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewriteWasm.go

    	case OpGetClosurePtr:
    		v.Op = OpWasmLoweredGetClosurePtr
    		return true
    	case OpInterCall:
    		v.Op = OpWasmLoweredInterCall
    		return true
    	case OpIsInBounds:
    		v.Op = OpWasmI64LtU
    		return true
    	case OpIsNonNil:
    		return rewriteValueWasm_OpIsNonNil(v)
    	case OpIsSliceInBounds:
    		v.Op = OpWasmI64LeU
    		return true
    	case OpLeq16:
    		return rewriteValueWasm_OpLeq16(v)
    	case OpLeq16U:
    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/rewriteMIPS.go

    	case OpHmul32u:
    		return rewriteValueMIPS_OpHmul32u(v)
    	case OpInterCall:
    		v.Op = OpMIPSCALLinter
    		return true
    	case OpIsInBounds:
    		return rewriteValueMIPS_OpIsInBounds(v)
    	case OpIsNonNil:
    		return rewriteValueMIPS_OpIsNonNil(v)
    	case OpIsSliceInBounds:
    		return rewriteValueMIPS_OpIsSliceInBounds(v)
    	case OpLeq16:
    		return rewriteValueMIPS_OpLeq16(v)
    	case OpLeq16U:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 176.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    	case OpHmul64u:
    		v.Op = OpLOONG64MULHVU
    		return true
    	case OpInterCall:
    		v.Op = OpLOONG64CALLinter
    		return true
    	case OpIsInBounds:
    		return rewriteValueLOONG64_OpIsInBounds(v)
    	case OpIsNonNil:
    		return rewriteValueLOONG64_OpIsNonNil(v)
    	case OpIsSliceInBounds:
    		return rewriteValueLOONG64_OpIsSliceInBounds(v)
    	case OpLOONG64ADDV:
    		return rewriteValueLOONG64_OpLOONG64ADDV(v)
    	case OpLOONG64ADDVconst:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    	case OpHmul64u:
    		return rewriteValueMIPS64_OpHmul64u(v)
    	case OpInterCall:
    		v.Op = OpMIPS64CALLinter
    		return true
    	case OpIsInBounds:
    		return rewriteValueMIPS64_OpIsInBounds(v)
    	case OpIsNonNil:
    		return rewriteValueMIPS64_OpIsNonNil(v)
    	case OpIsSliceInBounds:
    		return rewriteValueMIPS64_OpIsSliceInBounds(v)
    	case OpLeq16:
    		return rewriteValueMIPS64_OpLeq16(v)
    	case OpLeq16U:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    		return true
    	case OpHmul64u:
    		v.Op = OpRISCV64MULHU
    		return true
    	case OpInterCall:
    		v.Op = OpRISCV64CALLinter
    		return true
    	case OpIsInBounds:
    		v.Op = OpLess64U
    		return true
    	case OpIsNonNil:
    		v.Op = OpRISCV64SNEZ
    		return true
    	case OpIsSliceInBounds:
    		v.Op = OpLeq64U
    		return true
    	case OpLeq16:
    		return rewriteValueRISCV64_OpLeq16(v)
    	case OpLeq16U:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
Back to top