Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 610 for nilcheck (0.21 sec)

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

    				(ANDconst <typ.UInt32> [3]
    					(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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 35.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    		mem)
    
    // Checks
    (IsNonNil ...) => (SNEZ ...)
    (IsInBounds ...) => (Less64U ...)
    (IsSliceInBounds ...) => (Leq64U ...)
    
    // Trivial lowering
    (NilCheck ...) => (LoweredNilCheck ...)
    (GetClosurePtr ...) => (LoweredGetClosurePtr ...)
    (GetCallerSP ...) => (LoweredGetCallerSP ...)
    (GetCallerPC ...) => (LoweredGetCallerPC ...)
    
    // Write barrier.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/386Ops.go

    		//arg0=ptr,arg1=mem, returns void.  Faults if ptr is nil.
    		{name: "LoweredNilCheck", argLength: 2, reg: regInfo{inputs: []regMask{gpsp}}, clobberFlags: true, nilCheck: true, faultOnNilArg0: true},
    
    		// LoweredWB invokes runtime.gcWriteBarrier. arg0=mem, auxint=# of write barrier slots
    		// It saves all GP registers if necessary, but may clobber others.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 14 08:10:32 UTC 2023
    - 45.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/MIPS64.rules

    				(ANDconst <typ.UInt64> [3]
    					(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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 41.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		//arg0=ptr,arg1=mem, returns void.  Faults if ptr is nil.
    		{name: "LoweredNilCheck", argLength: 2, reg: regInfo{inputs: []regMask{gp | sp | sb}, clobbers: tmp}, clobberFlags: true, nilCheck: true, faultOnNilArg0: true},
    		// Round ops to block fused-multiply-add extraction.
    		{name: "LoweredRound32F", argLength: 1, reg: fp11, resultInArg0: true, zeroWidth: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/S390XOps.go

    		// See runtime/stubs.go for a more detailed discussion.
    		{name: "LoweredGetCallerPC", reg: gp01, rematerializeable: true},
    		{name: "LoweredNilCheck", argLength: 2, reg: regInfo{inputs: []regMask{ptrsp}}, clobberFlags: true, nilCheck: true, faultOnNilArg0: true},
    		// Round ops to block fused-multiply-add extraction.
    		{name: "LoweredRound32F", argLength: 1, reg: fp11, resultInArg0: true, zeroWidth: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 52.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		// pseudo-ops
    		{name: "LoweredNilCheck", argLength: 2, reg: regInfo{inputs: []regMask{gpg}}, nilCheck: true, faultOnNilArg0: true}, // panic if arg0 is nil.  arg1=mem.
    
    		{name: "Equal", argLength: 1, reg: readflags},            // bool, true flags encode x==y false otherwise.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ppc64/ssa.go

    			p.From.Type = obj.TYPE_MEM
    			p.From.Reg = v.Args[0].Reg()
    			ssagen.AddAux(&p.From, v)
    			p.To.Type = obj.TYPE_REG
    			p.To.Reg = ppc64.REGTMP
    		}
    		if logopt.Enabled() {
    			logopt.LogOpt(v.Pos, "nilcheck", "genssa", v.Block.Func.Name)
    		}
    		if base.Debug.Nil != 0 && v.Pos.Line() > 1 { // v.Pos.Line()==1 in generated wrappers
    			base.WarnfAt(v.Pos, "generated nil check")
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (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.
    (WB ...) => (LoweredWB ...)
    
    // Publication barrier as intrinsic
    (PubBarrier ...) => (LoweredPubBarrier ...)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewrite.go

    	}
    	baseAndOffset := func(ptr *Value) (base *Value, offset int64) {
    		base, offset = ptr, 0
    		for base.Op == OpOffPtr {
    			offset += base.AuxInt
    			base = base.Args[0]
    		}
    		if opcodeTable[base.Op].nilCheck {
    			base = base.Args[0]
    		}
    		return base, offset
    	}
    	p1, off1 := baseAndOffset(p1)
    	p2, off2 := baseAndOffset(p2)
    	if isSamePtr(p1, p2) {
    		return !overlap(off1, n1, off2, n2)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
Back to top