Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,032 for flive (0.05 sec)

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

    func ssaMarkMoves(s *ssagen.State, b *ssa.Block) {
    	flive := b.FlagsLiveAtEnd
    	for _, c := range b.ControlValues() {
    		flive = c.Type.IsFlags() || flive
    	}
    	for i := len(b.Values) - 1; i >= 0; i-- {
    		v := b.Values[i]
    		if flive && v.Op == ssa.Op386MOVLconst {
    			// The "mark" is any non-nil Aux value.
    			v.Aux = ssa.AuxMark
    		}
    		if v.Type.IsFlags() {
    			flive = false
    		}
    		for _, a := range v.Args {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/s390x/ssa.go

    func ssaMarkMoves(s *ssagen.State, b *ssa.Block) {
    	flive := b.FlagsLiveAtEnd
    	for _, c := range b.ControlValues() {
    		flive = c.Type.IsFlags() || flive
    	}
    	for i := len(b.Values) - 1; i >= 0; i-- {
    		v := b.Values[i]
    		if flive && v.Op == ssa.OpS390XMOVDconst {
    			// The "mark" is any non-nil Aux value.
    			v.Aux = ssa.AuxMark
    		}
    		if v.Type.IsFlags() {
    			flive = false
    		}
    		for _, a := range v.Args {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ppc64/ssa.go

    func ssaMarkMoves(s *ssagen.State, b *ssa.Block) {
    	//	flive := b.FlagsLiveAtEnd
    	//	if b.Control != nil && b.Control.Type.IsFlags() {
    	//		flive = true
    	//	}
    	//	for i := len(b.Values) - 1; i >= 0; i-- {
    	//		v := b.Values[i]
    	//		if flive && (v.Op == v.Op == ssa.OpPPC64MOVDconst) {
    	//			// The "mark" is any non-nil Aux value.
    	//			v.Aux = v
    	//		}
    	//		if v.Type.IsFlags() {
    	//			flive = false
    	//		}
    	//		for _, a := range v.Args {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/liveness/plive.go

    			// Check to make sure only input variables are live.
    			for i, n := range lv.vars {
    				if !liveout.Get(int32(i)) {
    					continue
    				}
    				if n.Class == ir.PPARAM {
    					continue // ok
    				}
    				base.FatalfAt(n.Pos(), "bad live variable at entry of %v: %L", lv.fn.Nname, n)
    			}
    
    			// Record live variables.
    			live := &lv.livevars[index]
    			live.Or(*live, liveout)
    		}
    
    		if lv.doClobber {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  5. test/live.go

    	m2s[str()] = p // ERROR "live at call to mapassign_faststr: p$" "live at call to str: p$"
    }
    
    func f17c() {
    	// key and value temporaries
    	if b {
    		m2s[str()] = f17d() // ERROR "live at call to f17d: .autotmp_[0-9]+$" "live at call to mapassign_faststr: .autotmp_[0-9]+$"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/testdata/unsafe_test.go

    	var x uintptr
    	if always {
    		x = uintptr(unsafe.Pointer(a))
    	} else {
    		x = 0
    	}
    	// Clobber the global pointer. The only live ref
    	// to the allocated object is now x.
    	a = nil
    
    	// Convert to pointer so it should hold
    	// the object live across GC call.
    	p := unsafe.Pointer(x)
    
    	// Call gc.
    	runtime.GC()
    
    	// Convert back to uintptr.
    	y := uintptr(p)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 3K bytes
    - Viewed (0)
  7. test/finprofiled.go

    	// only for middle bytes. The finalizer resurrects that object.
    	// As the result, all allocated memory must stay alive.
    	const (
    		N             = 1 << 20
    		tinyBlockSize = 16 // runtime._TinySize
    	)
    	hold := make([]*int32, 0, N)
    	for i := 0; i < N; i++ {
    		x := new(int32)
    		if i%3 == 0 {
    			runtime.SetFinalizer(x, func(p *int32) {
    				hold = append(hold, p)
    			})
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 05:48:00 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. src/runtime/traceback_test.go

    	if a < 0 {
    		// use in-reg args to keep them alive
    		return a + b + c + d + e
    	}
    	return n
    }
    
    //go:noinline
    func testTracebackArgs2(a bool, b struct {
    	a, b, c int
    	x       [2]int
    }, _ [0]int, d [3]byte) int {
    	n := runtime.Stack(testTracebackArgsBuf[:], false)
    	if a {
    		// use in-reg args to keep them alive
    		return b.a + b.b + b.c + b.x[0] + b.x[1] + int(d[0]) + int(d[1]) + int(d[2])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  9. src/runtime/arena_test.go

    	})
    
    	// Make sure it stays alive.
    	GC()
    	GC()
    
    	// In order to ensure the object can be freed, we now need to make sure to use
    	// the entire arena. Exhaust the rest of the arena.
    
    	for i := 0; i < int(UserArenaChunkBytes/unsafe.Sizeof(mediumScalarEven{})); i++ {
    		var x any
    		x = (*mediumScalarEven)(nil)
    		arena.New(&x)
    	}
    
    	// Make sure it stays alive again.
    	GC()
    	GC()
    
    	v = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/test/zerorange_test.go

    // improve coverage of the compiler's arch-specific "zerorange"
    // function, which is invoked to zero out ambiguously live portions of
    // the stack frame in certain specific circumstances.
    //
    // In the current compiler implementation, for zerorange to be
    // invoked, we need to have an ambiguously live variable that needs
    // zeroing. One way to trigger this is to have a function with an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 4.1K bytes
    - Viewed (0)
Back to top