Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for IsSliceInBounds$ (0.37 sec)

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

    (IsSliceInBounds x x) => (ConstBool [true])
    (IsSliceInBounds (And32 (Const32 [c]) _) (Const32 [d])) && 0 <= c && c <= d => (ConstBool [true])
    (IsSliceInBounds (And64 (Const64 [c]) _) (Const64 [d])) && 0 <= c && c <= d => (ConstBool [true])
    (IsSliceInBounds (Const32 [0]) _) => (ConstBool [true])
    (IsSliceInBounds (Const64 [0]) _) => (ConstBool [true])
    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/cmd/compile/internal/ssa/_gen/ARM64.rules

    (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 ...)
    (GetCallerSP   ...) => (LoweredGetCallerSP   ...)
    (GetCallerPC   ...) => (LoweredGetCallerPC   ...)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteMIPS.go

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

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

    		return true
    	}
    }
    func rewriteValueMIPS64_OpIsSliceInBounds(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (IsSliceInBounds idx len)
    	// result: (XOR (MOVVconst [1]) (SGTU idx len))
    	for {
    		idx := v_0
    		len := v_1
    		v.reset(OpMIPS64XOR)
    		v0 := b.NewValue0(v.Pos, OpMIPS64MOVVconst, typ.UInt64)
    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