Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 89 for isptrto (0.18 sec)

  1. src/cmd/compile/internal/ir/fmt.go

    			nn := nn.(*ConvExpr)
    			if nn.Implicit() {
    				n = nn.X
    				continue
    			}
    		}
    
    		break
    	}
    
    	nprec := OpPrec[n.Op()]
    	if n.Op() == OTYPE && n.Type() != nil && n.Type().IsPtr() {
    		nprec = OpPrec[ODEREF]
    	}
    
    	if prec > nprec {
    		fmt.Fprintf(s, "(%v)", n)
    		return
    	}
    
    	switch n.Op() {
    	case OPAREN:
    		n := n.(*ParenExpr)
    		fmt.Fprintf(s, "(%v)", n.X)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (ISEL [6] x y ((CMP|CMPW)const [0] (SETBC [c] cmp))) => (ISEL [c] x y cmp)
    (ISEL [6] x y ((CMP|CMPW)const [0] (SETBCR [c] cmp))) => (ISEL [c+4] x y cmp)
    
    // Lowering loads
    (Load <t> ptr mem) && (is64BitInt(t) || isPtr(t)) => (MOVDload ptr mem)
    (Load <t> ptr mem) && is32BitInt(t) &&  t.IsSigned() => (MOVWload ptr mem)
    (Load <t> ptr mem) && is32BitInt(t) && !t.IsSigned() => (MOVWZload ptr mem)
    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/reflect/value.go

    		panic("reflect.Value.Addr of unaddressable value")
    	}
    	// Preserve flagRO instead of using v.flag.ro() so that
    	// v.Addr().Elem() is equivalent to v (#32772)
    	fl := v.flag & flagRO
    	return Value{ptrTo(v.typ()), v.ptr, fl | flag(Pointer)}
    }
    
    // Bool returns v's underlying value.
    // It panics if v's kind is not [Bool].
    func (v Value) Bool() bool {
    	// panicNotBool is split out to keep Bool inlineable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteMIPS.go

    		}
    		v.reset(OpMIPSMOVHUload)
    		v.AddArg2(ptr, mem)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    	// cond: (is32BitInt(t) || isPtr(t))
    	// result: (MOVWload ptr mem)
    	for {
    		t := v.Type
    		ptr := v_0
    		mem := v_1
    		if !(is32BitInt(t) || isPtr(t)) {
    			break
    		}
    		v.reset(OpMIPSMOVWload)
    		v.AddArg2(ptr, mem)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 176.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    	// match: (ADDV x (MOVVconst <t> [c]))
    	// cond: is32Bit(c) && !t.IsPtr()
    	// result: (ADDVconst [c] x)
    	for {
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    			x := v_0
    			if v_1.Op != OpLOONG64MOVVconst {
    				continue
    			}
    			t := v_1.Type
    			c := auxIntToInt64(v_1.AuxInt)
    			if !(is32Bit(c) && !t.IsPtr()) {
    				continue
    			}
    			v.reset(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)
  6. src/cmd/compile/internal/walk/order.go

    		}
    		tmp := o.newTemp(kt, true)
    		// *(*nt)(&tmp) = n
    		var e ir.Node = typecheck.NodAddr(tmp)
    		e = ir.NewConvExpr(pos, ir.OCONVNOP, nt.PtrTo(), e)
    		e = ir.NewStarExpr(pos, e)
    		o.append(ir.NewAssignStmt(pos, e, n))
    		return tmp
    	}
    }
    
    // mapKeyReplaceStrConv replaces OBYTES2STR by OBYTES2STRTMP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteWasm.go

    		v.AddArg2(y, v0)
    		return true
    	}
    	// match: (I64Add x (I64Const <t> [y]))
    	// cond: !t.IsPtr()
    	// result: (I64AddConst [y] x)
    	for {
    		x := v_0
    		if v_1.Op != OpWasmI64Const {
    			break
    		}
    		t := v_1.Type
    		y := auxIntToInt64(v_1.AuxInt)
    		if !(!t.IsPtr()) {
    			break
    		}
    		v.reset(OpWasmI64AddConst)
    		v.AuxInt = int64ToAuxInt(y)
    		v.AddArg(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 108.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/ARM.rules

    (Load <t> ptr mem) && (is16BitInt(t) &&  t.IsSigned()) => (MOVHload ptr mem)
    (Load <t> ptr mem) && (is16BitInt(t) && !t.IsSigned()) => (MOVHUload ptr mem)
    (Load <t> ptr mem) && (is32BitInt(t) || isPtr(t)) => (MOVWload ptr mem)
    (Load <t> ptr mem) && is32BitFloat(t) => (MOVFload ptr mem)
    (Load <t> ptr mem) && is64BitFloat(t) => (MOVDload ptr mem)
    
    // stores
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    		}
    		v.reset(OpMIPS64MOVWUload)
    		v.AddArg2(ptr, mem)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    	// cond: (is64BitInt(t) || isPtr(t))
    	// result: (MOVVload ptr mem)
    	for {
    		t := v.Type
    		ptr := v_0
    		mem := v_1
    		if !(is64BitInt(t) || isPtr(t)) {
    			break
    		}
    		v.reset(OpMIPS64MOVVload)
    		v.AddArg2(ptr, mem)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    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

    		}
    		v.reset(OpRISCV64MOVWUload)
    		v.AddArg2(ptr, mem)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    	// cond: (is64BitInt(t) || isPtr(t))
    	// result: (MOVDload ptr mem)
    	for {
    		t := v.Type
    		ptr := v_0
    		mem := v_1
    		if !(is64BitInt(t) || isPtr(t)) {
    			break
    		}
    		v.reset(OpRISCV64MOVDload)
    		v.AddArg2(ptr, mem)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    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