Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for SymAddr (0.14 sec)

  1. 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.
    // Currently a Sym can be one of 3 things:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loader/loader.go

    	if v {
    		l.attrUsedInIface.Set(i)
    	} else {
    		l.attrUsedInIface.Unset(i)
    	}
    }
    
    // SymAddr checks that a symbol is reachable, and returns its value.
    func (l *Loader) SymAddr(i Sym) int64 {
    	if !l.AttrReachable(i) {
    		panic("unreachable symbol in symaddr")
    	}
    	return l.values[i]
    }
    
    // AttrNotInSymbolTable returns true for symbols that should not be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/macho.go

    				symtab.AddUint8(0)
    			} else {
    				symtab.AddUint8(uint8(ldr.SymSect(o).Extnum))
    			}
    			symtab.AddUint16(ctxt.Arch, 0) // desc
    			symtab.AddUintXX(ctxt.Arch, uint64(ldr.SymAddr(s)), ctxt.Arch.PtrSize)
    		}
    	}
    }
    
    func machodysymtab(ctxt *Link, base int64) {
    	ml := newMachoLoad(ctxt.Arch, LC_DYSYMTAB, 18)
    
    	n := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/opGen.go

    		rematerializeable: true,
    		symEffect:         SymAddr,
    		reg: regInfo{
    			inputs: []inputInfo{
    				{0, 65791}, // AX CX DX BX SP BP SI DI SB
    			},
    			outputs: []outputInfo{
    				{0, 239}, // AX CX DX BX BP SI DI
    			},
    		},
    	},
    	{
    		name:        "LEAL1",
    		auxType:     auxSymOff,
    		argLen:      2,
    		commutative: true,
    		symEffect:   SymAddr,
    		reg: regInfo{
    			inputs: []inputInfo{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
  5. src/cmd/compile/internal/liveness/plive.go

    	// This also prevents a variable from "coming back from the dead" and presenting
    	// stale pointers to the garbage collector. See issue 28445.
    	if e&(ssa.SymRead|ssa.SymAddr) != 0 {
    		effect |= uevar
    	}
    	if e&ssa.SymWrite != 0 {
    		if !isfat(n.Type()) || v.Op == ssa.OpVarDef {
    			effect |= varkill
    		} else if lv.conservativeWrites {
    			effect |= uevar
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/data.go

    	ldr.SetAttrLocal(s, true)
    	ctxt.xdefine("runtime.egcdata", sym.SRODATA, ldr.SymAddr(s)+ldr.SymSize(s))
    	ldr.SetSymSect(ldr.LookupOrCreateSym("runtime.egcdata", 0), ldr.SymSect(s))
    
    	s = ldr.LookupOrCreateSym("runtime.gcbss", 0)
    	ldr.SetAttrLocal(s, true)
    	ctxt.xdefine("runtime.egcbss", sym.SRODATA, ldr.SymAddr(s)+ldr.SymSize(s))
    	ldr.SetSymSect(ldr.LookupOrCreateSym("runtime.egcbss", 0), ldr.SymSect(s))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  7. 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.
    			//   v1 = LOAD ...
    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