Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for SymEffect (0.15 sec)

  1. src/cmd/compile/internal/ssa/_gen/main.go

    			}
    			needEffect := strings.HasPrefix(v.aux, "Sym")
    			if v.symEffect != "" {
    				if !needEffect {
    					log.Fatalf("symEffect with aux %s not allowed", v.aux)
    				}
    				fmt.Fprintf(w, "symEffect: Sym%s,\n", strings.Replace(v.symEffect, ",", "|Sym", -1))
    			} else if needEffect {
    				log.Fatalf("symEffect needed for aux %s", v.aux)
    			}
    			if a.name == "generic" {
    				fmt.Fprintln(w, "generic:true,")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/ARMOps.go

    		{name: "MOVBload", argLength: 2, reg: gpload, aux: "SymOff", asm: "MOVB", typ: "Int8", faultOnNilArg0: true, symEffect: "Read"},     // load from arg0 + auxInt + aux.  arg1=mem.
    		{name: "MOVBUload", argLength: 2, reg: gpload, aux: "SymOff", asm: "MOVBU", typ: "UInt8", faultOnNilArg0: true, symEffect: "Read"},  // load from arg0 + auxInt + aux.  arg1=mem.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 41K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/op.go

    )
    
    // A SymEffect describes the effect that an SSA Value has on the variable
    // identified by the symbol in its Aux field.
    type SymEffect int8
    
    const (
    	SymRead SymEffect = 1 << iota
    	SymWrite
    	SymAddr
    
    	SymRdWr = SymRead | SymWrite
    
    	SymNone SymEffect = 0
    )
    
    // A Sym represents a symbolic offset from a base register.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	// If the variable is a local, the base pointer will be SP and
    	// the Aux field will be a *gc.Node.
    	{name: "Addr", argLength: 1, aux: "Sym", symEffect: "Addr"},      // Address of a variable.  Arg0=SB.  Aux identifies the variable.
    	{name: "LocalAddr", argLength: 2, aux: "Sym", symEffect: "Addr"}, // Address of a variable.  Arg0=SP. Arg1=mem. Aux identifies the variable.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/deadstore.go

    			args = args[1:]
    		}
    
    		// The code below assumes that we have handled all the ops
    		// with sym effects already. Sanity check that here.
    		// Ignore Args since they can't be autos.
    		if v.Op.SymEffect() != SymNone && v.Op != OpArg {
    			panic("unhandled op with sym effect")
    		}
    
    		if v.Uses == 0 && v.Op != OpNilCheck && !v.Op.IsCall() && !v.Op.HasSideEffects() || len(args) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/WasmOps.go

    		{name: "LoweredAddr", argLength: 1, reg: gp11, aux: "SymOff", rematerializeable: true, symEffect: "Addr"}, // returns base+aux+auxint, arg0=base
    		{name: "LoweredMove", argLength: 3, reg: regInfo{inputs: []regMask{gp, gp}}, aux: "Int64"},                // large move. arg0=dst, arg1=src, arg2=mem, auxint=len, returns mem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/liveness/plive.go

    		return -1, 0
    	}
    
    	if pos, ok := lv.idx[n]; ok {
    		return pos, effect
    	}
    	return -1, 0
    }
    
    // affectedVar returns the *ir.Name node affected by v.
    func affectedVar(v *ssa.Value) (*ir.Name, ssa.SymEffect) {
    	// Special cases.
    	switch v.Op {
    	case ssa.OpLoadReg:
    		n, _ := ssa.AutoVar(v.Args[0])
    		return n, ssa.SymRead
    	case ssa.OpStoreReg:
    		n, _ := ssa.AutoVar(v)
    		return n, ssa.SymWrite
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewrite.go

    			continue
    		}
    		if v.Type.IsTuple() && v.Type.FieldType(1).IsMemory() {
    			// We could handle this situation however it is likely
    			// to be very rare.
    			return false
    		}
    		if v.Op.SymEffect()&SymAddr != 0 {
    			// This case prevents an operation that calculates the
    			// address of a local variable from being forced to schedule
    			// before its corresponding VarDef.
    			// See issue 28445.
    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