Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 89 for isptrto (0.21 sec)

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

    		for _, b := range po {
    			for i := len(b.Values) - 1; i >= 0; i-- {
    				v := b.Values[i]
    				if !loadAddr.contains(v.ID) {
    					continue
    				}
    				for _, a := range v.Args {
    					if a.Type.IsInteger() || a.Type.IsPtr() || a.Type.IsUnsafePtr() {
    						loadAddr.add(a.ID)
    					}
    				}
    			}
    		}
    		if loadAddr.size() == n {
    			break
    		}
    	}
    
    	change := true
    	for change {
    		change = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 30 17:46:51 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/fmt.go

    				// the field name when embedding f.Type.
    				// TODO(mdempsky): Check for other occurrences of this logic
    				// and deduplicate.
    				typ := f.Type
    				if typ.IsPtr() {
    					base.Assertf(typ.Sym() == nil, "embedded pointer type has name: %L", typ)
    					typ = typ.Elem()
    				}
    				tsym := typ.Sym()
    
    				// If the field name matches the embedded type's name, then
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 15:41:17 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/expr.go

    	n.Index = walkExpr(n.Index, init)
    
    	// if range of type cannot exceed static array bound,
    	// disable bounds check.
    	if n.Bounded() {
    		return n
    	}
    	t := n.X.Type()
    	if t != nil && t.IsPtr() {
    		t = t.Elem()
    	}
    	if t.IsArray() {
    		n.SetBounded(bounded(r, t.NumElem()))
    		if base.Flag.LowerM != 0 && n.Bounded() && !ir.IsConst(n.Index, constant.Int) {
    			base.Warn("index bounds check elided")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/Wasm.rules

    (I64LeU x (I64Const [0])) => (I64Eqz x)
    (I64LtU x (I64Const [1])) => (I64Eqz x)
    (I64LeU (I64Const [1]) x) => (I64Eqz (I64Eqz x))
    (I64Ne x (I64Const [0])) => (I64Eqz (I64Eqz x))
    
    (I64Add x (I64Const <t> [y])) && !t.IsPtr() => (I64AddConst [y] x)
    (I64AddConst [0] x) => x
    (I64Eqz (I64Eqz (I64Eqz x))) => (I64Eqz x)
    
    // folding offset into load/store
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewritedec64.go

    	v_0 := v.Args[0]
    	b := v.Block
    	config := b.Func.Config
    	// match: (Store {t} dst (Int64Make hi lo) mem)
    	// cond: t.Size() == 8 && !config.BigEndian
    	// result: (Store {hi.Type} (OffPtr <hi.Type.PtrTo()> [4] dst) hi (Store {lo.Type} dst lo mem))
    	for {
    		t := auxToType(v.Aux)
    		dst := v_0
    		if v_1.Op != OpInt64Make {
    			break
    		}
    		lo := v_1.Args[1]
    		hi := v_1.Args[0]
    		mem := v_2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 65.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/LOONG64.rules

    (Load <t> ptr mem) && (is32BitInt(t) &&  t.IsSigned()) => (MOVWload ptr mem)
    (Load <t> ptr mem) && (is32BitInt(t) && !t.IsSigned()) => (MOVWUload ptr mem)
    (Load <t> ptr mem) && (is64BitInt(t) || isPtr(t)) => (MOVVload 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: Tue Nov 21 19:26:25 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/complit.go

    		appendWalkStmt(init, ir.NewAssignStmt(base.Pos, var_, n))
    
    	case ir.OMETHEXPR:
    		n := n.(*ir.SelectorExpr)
    		anylit(n.FuncName(), var_, init)
    
    	case ir.OPTRLIT:
    		n := n.(*ir.AddrExpr)
    		if !t.IsPtr() {
    			base.Fatalf("anylit: not ptr")
    		}
    
    		var r ir.Node
    		if n.Prealloc != nil {
    			// n.Prealloc is stack temporary used as backing store.
    			r = initStackTemp(init, n.Prealloc, nil)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewritegeneric.go

    	// cond: t.IsStruct() && t.NumFields() == 3 && CanSSA(t)
    	// result: (StructMake3 (Load <t.FieldType(0)> (OffPtr <t.FieldType(0).PtrTo()> [0] ptr) mem) (Load <t.FieldType(1)> (OffPtr <t.FieldType(1).PtrTo()> [t.FieldOff(1)] ptr) mem) (Load <t.FieldType(2)> (OffPtr <t.FieldType(2).PtrTo()> [t.FieldOff(2)] ptr) mem))
    	for {
    		t := v.Type
    		ptr := v_0
    		mem := v_1
    		if !(t.IsStruct() && t.NumFields() == 3 && CanSSA(t)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    (Load <t> ptr mem) && (is32BitInt(t) &&  t.IsSigned()) => (MOVWload  ptr mem)
    (Load <t> ptr mem) && (is32BitInt(t) && !t.IsSigned()) => (MOVWUload ptr mem)
    (Load <t> ptr mem) && (is64BitInt(t) || isPtr(t))      => (MOVDload  ptr mem)
    (Load <t> ptr mem) &&  is32BitFloat(t)                 => (FMOVWload ptr mem)
    (Load <t> ptr mem) &&  is64BitFloat(t)                 => (FMOVDload ptr mem)
    
    // Stores
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssagen/ssa.go

    }
    
    // setHeapaddr allocates a new PAUTO variable to store ptr (which must be non-nil)
    // and then sets it as n's heap address.
    func (s *state) setHeapaddr(pos src.XPos, n *ir.Name, ptr *ssa.Value) {
    	if !ptr.Type.IsPtr() || !types.Identical(n.Type(), ptr.Type.Elem()) {
    		base.FatalfAt(n.Pos(), "setHeapaddr %L with type %v", n, ptr.Type)
    	}
    
    	// Declare variable to hold address.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top