Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SplitSlot (0.11 sec)

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

    		sfx = ".type"
    	}
    	c := f.SplitSlot(name, sfx, 0, u) // see comment in typebits.Set
    	d := f.SplitSlot(name, ".data", u.Size(), t)
    	return c, d
    }
    
    func (f *Func) SplitSlice(name *LocalSlot) (*LocalSlot, *LocalSlot, *LocalSlot) {
    	ptrType := types.NewPtr(name.Type.Elem())
    	lenType := types.Types[types.TINT]
    	p := f.SplitSlot(name, ".ptr", 0, ptrType)
    	l := f.SplitSlot(name, ".len", ptrType.Size(), lenType)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/export_test.go

    type TestFrontend struct {
    	t    testing.TB
    	ctxt *obj.Link
    	f    *ir.Func
    }
    
    func (TestFrontend) StringData(s string) *obj.LSym {
    	return nil
    }
    func (d TestFrontend) SplitSlot(parent *LocalSlot, suffix string, offset int64, t *types.Type) LocalSlot {
    	return LocalSlot{N: parent.N, Type: t, Off: offset}
    }
    func (d TestFrontend) Syslook(s string) *obj.LSym {
    	return d.ctxt.Lookup(s)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/config.go

    	// StringData returns a symbol pointing to the given string's contents.
    	StringData(string) *obj.LSym
    
    	// Given the name for a compound type, returns the name we should use
    	// for the parts of that compound type.
    	SplitSlot(parent *LocalSlot, suffix string, offset int64, t *types.Type) LocalSlot
    
    	// Syslook returns a symbol of the runtime function/variable with the
    	// given name.
    	Syslook(string) *obj.LSym
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/ssa.go

    		e.strings = make(map[string]*obj.LSym)
    	}
    	data := staticdata.StringSym(e.curfn.Pos(), s)
    	e.strings[s] = data
    	return data
    }
    
    // SplitSlot returns a slot representing the data of parent starting at offset.
    func (e *ssafn) SplitSlot(parent *ssa.LocalSlot, suffix string, offset int64, t *types.Type) ssa.LocalSlot {
    	node := parent.N
    
    	if node.Class != ir.PAUTO || node.Addrtaken() {
    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