Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for NeqPtr (0.16 sec)

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

    (NeqPtr (OffPtr [o1] p1) (OffPtr [o2] p2)) && isSamePtr(p1, p2) => (ConstBool [o1 != o2])
    (EqPtr  (Const(32|64) [c]) (Const(32|64) [d])) => (ConstBool [c == d])
    (NeqPtr (Const(32|64) [c]) (Const(32|64) [d])) => (ConstBool [c != d])
    (EqPtr  (Convert (Addr {x} _) _) (Addr {y} _)) => (ConstBool [x==y])
    (NeqPtr (Convert (Addr {x} _) _) (Addr {y} _)) => (ConstBool [x!=y])
    
    (EqPtr  (LocalAddr _ _) (Addr _)) => (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/cmd/compile/internal/ssa/deadstore.go

    				if node == nil {
    					node = n
    				} else if node != n {
    					// Most of the time we only see one pointer
    					// reaching an op, but some ops can take
    					// multiple pointers (e.g. NeqPtr, Phi etc.).
    					// This is rare, so just propagate the first
    					// value to keep things simple.
    					used.Add(n)
    					changed = true
    				}
    			}
    		}
    		if node == nil {
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    (Eq16  x y) => (SEQZ (SUB <x.Type> (ZeroExt16to64 x) (ZeroExt16to64 y)))
    (Eq8   x y) => (SEQZ (SUB <x.Type> (ZeroExt8to64  x) (ZeroExt8to64  y)))
    (Eq(64|32)F ...) => (FEQ(D|S) ...)
    
    (NeqPtr x y) => (Not (EqPtr x y))
    (Neq64  x y) => (Not (Eq64  x y))
    (Neq32  x y) => (Not (Eq32  x y))
    (Neq16  x y) => (Not (Eq16  x y))
    (Neq8   x y) => (Not (Eq8   x y))
    (Neq(64|32)F ...) => (FNE(D|S) ...)
    
    // Loads
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewritegeneric.go

    func rewriteValuegeneric_OpNeqPtr(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (NeqPtr x x)
    	// result: (ConstBool [false])
    	for {
    		x := v_0
    		if x != v_1 {
    			break
    		}
    		v.reset(OpConstBool)
    		v.AuxInt = boolToAuxInt(false)
    		return true
    	}
    	// match: (NeqPtr (Addr {x} _) (Addr {y} _))
    	// result: (ConstBool [x != y])
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "Neq16", argLength: 2, commutative: true, typ: "Bool"},
    	{name: "Neq32", argLength: 2, commutative: true, typ: "Bool"},
    	{name: "Neq64", argLength: 2, commutative: true, typ: "Bool"},
    	{name: "NeqPtr", argLength: 2, commutative: true, typ: "Bool"},
    	{name: "NeqInter", argLength: 2, typ: "Bool"}, // arg0 or arg1 is nil; other cases handled by frontend
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (Eq64  x y) => (Equal (CMP   x y))
    (EqPtr x y) => (Equal (CMP   x y))
    (Eq32F x y) => (Equal (FCMPS x y))
    (Eq64F x y) => (Equal (FCMPD x y))
    
    (Neq8   x y) => (NotEqual (CMPW (ZeroExt8to32  x) (ZeroExt8to32  y)))
    (Neq16  x y) => (NotEqual (CMPW (ZeroExt16to32 x) (ZeroExt16to32 y)))
    (Neq32  x y) => (NotEqual (CMPW  x y))
    (Neq64  x y) => (NotEqual (CMP   x y))
    (NeqPtr x y) => (NotEqual (CMP   x y))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    		return true
    	}
    }
    func rewriteValueRISCV64_OpNeqPtr(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (NeqPtr x y)
    	// result: (Not (EqPtr x y))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpNot)
    		v0 := b.NewValue0(v.Pos, OpEqPtr, typ.Bool)
    		v0.AddArg2(x, y)
    		v.AddArg(v0)
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewritePPC64.go

    		v2.AddArg(y)
    		v0.AddArg2(v1, v2)
    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValuePPC64_OpNeqPtr(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	// match: (NeqPtr x y)
    	// result: (NotEqual (CMP x y))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpPPC64NotEqual)
    		v0 := b.NewValue0(v.Pos, OpPPC64CMP, types.TypeFlags)
    		v0.AddArg2(x, y)
    		v.AddArg(v0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteARM64.go

    		v0.AddArg2(v1, v2)
    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValueARM64_OpNeqPtr(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	// match: (NeqPtr x y)
    	// result: (NotEqual (CMP x y))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpARM64NotEqual)
    		v0 := b.NewValue0(v.Pos, OpARM64CMP, types.TypeFlags)
    		v0.AddArg2(x, y)
    		v.AddArg(v0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteAMD64.go

    		v0.AddArg2(x, y)
    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValueAMD64_OpNeqPtr(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	// match: (NeqPtr x y)
    	// result: (SETNE (CMPQ x y))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpAMD64SETNE)
    		v0 := b.NewValue0(v.Pos, OpAMD64CMPQ, types.TypeFlags)
    		v0.AddArg2(x, y)
    		v.AddArg(v0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
Back to top