Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 200 for clobber (0.2 sec)

  1. src/cmd/compile/internal/liveness/plive.go

    // clobber generates code to clobber pointer slots in all dead variables
    // (those not marked in live). Clobbering instructions are added to the end
    // of b.Values.
    func clobber(lv *liveness, b *ssa.Block, live bitvec.BitVec) {
    	for i, n := range lv.vars {
    		if !live.Get(int32(i)) && !n.Addrtaken() && !n.OpenDeferSlot() && !n.IsOutputParamHeapAddr() {
    			// Don't clobber stack objects (address-taken). They are
    			// tracked dynamically.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/mergelocals/integration.go

    	np uintptr
    	x  [1023]int
    }
    
    var G int
    
    //go:noinline
    func clobber() {
    	G++
    }
    
    func ABC(i, j int) int {
    	r := 0
    
    	// here v2 and v3 can be overlapped.
    	clobber()
    	if i < 101 {
    		var v2 Vanilla
    		v2.x[i] = j
    		r += v2.x[j]
    	}
    	if j != 303 {
    		var v3 Vanilla2
    		v3.x[i] = j
    		r += v3.x[j]
    	}
    	clobber()
    
    	// not an overlap candidate (only one var of this size).
    	var s Single
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 17:42:19 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (MOVBQZX x:(MOVBload [off] {sym} ptr mem)) && x.Uses == 1 && clobber(x) => @x.Block (MOVBload <v.Type> [off] {sym} ptr mem)
    (MOVBQZX x:(MOVWload [off] {sym} ptr mem)) && x.Uses == 1 && clobber(x) => @x.Block (MOVBload <v.Type> [off] {sym} ptr mem)
    (MOVBQZX x:(MOVLload [off] {sym} ptr mem)) && x.Uses == 1 && clobber(x) => @x.Block (MOVBload <v.Type> [off] {sym} ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/framepointer/framepointer.go

    // Package framepointer defines an Analyzer that reports assembly code
    // that clobbers the frame pointer before saving it.
    package framepointer
    
    import (
    	"go/build"
    	"regexp"
    	"strings"
    
    	"golang.org/x/tools/go/analysis"
    	"golang.org/x/tools/go/analysis/passes/internal/analysisutil"
    )
    
    const Doc = "report assembly that clobbers the frame pointer before saving it"
    
    var Analyzer = &analysis.Analyzer{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/internal/buildid/buildid_test.go

    				if elf.ProgType(phdr.Type) == elf.PT_NOTE {
    					// Increase the size so we keep
    					// reading notes.
    					order.PutUint64(data[phoff+4*8:], phdr.Filesz+1)
    
    					// Clobber the Align field to zero.
    					order.PutUint64(data[phoff+6*8:], 0)
    
    					// Clobber the note type so we
    					// keep reading notes.
    					order.PutUint32(data[phdr.Off+12:], 0)
    				}
    
    				phoff += phsize
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/memcombine.go

    		v = leftShift(loadBlock, pos, v, shift0-(n-1)*size*8)
    	}
    
    	// Install with (Copy v).
    	root.reset(OpCopy)
    	root.AddArg(v)
    
    	// Clobber the loads, just to prevent additional work being done on
    	// subtrees (which are now unreachable).
    	for i := int64(0); i < n; i++ {
    		clobber(r[i].load)
    	}
    	return true
    }
    
    func memcombineStores(f *Func) {
    	mark := f.newSparseSet(f.NumValues())
    	defer f.retSparseSet(mark)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/inittask.go

    		ctxt.mainInittasks = ctxt.inittaskSym([]string{fmt.Sprintf("%s..inittask", objabi.PathToPrefix(*flagPluginPath))}, "go:plugin.inittasks")
    		// Make symbol local so multiple plugins don't clobber each other's inittask list.
    		ctxt.loader.SetAttrLocal(ctxt.mainInittasks, true)
    	case BuildModeShared:
    		// For a shared library, all packages are roots.
    		var roots []string
    		for _, lib := range ctxt.Library {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewriteAMD64.go

    	// cond: canMergeLoad(v, l) && clobber(l)
    	// result: (CMPBload {sym} [off] ptr x mem)
    	for {
    		l := v_0
    		if l.Op != OpAMD64MOVBload {
    			break
    		}
    		off := auxIntToInt32(l.AuxInt)
    		sym := auxToSym(l.Aux)
    		mem := l.Args[1]
    		ptr := l.Args[0]
    		x := v_1
    		if !(canMergeLoad(v, l) && clobber(l)) {
    			break
    		}
    		v.reset(OpAMD64CMPBload)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  9. src/runtime/race_arm64.s

    	load_g
    	MOVD	g_racectx(g), R0	// goroutine context
    	BL	racecall<>(SB)
    	MOVD	R21, R9	// restore the original function
    	// Call the atomic function.
    	// racecall will call LLVM race code which might clobber R28 (g)
    	load_g
    	MOVD	g_racectx(g), R0	// goroutine context
    	MOVD	16(RSP), R1	// caller pc
    	MOVD	R9, R2	// pc
    	ADD	$40, RSP, R3	// arguments
    	BL	racecall<>(SB)
    	// Call __tsan_go_ignore_sync_end.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. tools/build-base-images.sh

    # * export DOCKER_ARCHITECTURES="linux/amd64,linux/arm64"
    # Note: if you already have a container builder before running the qemu setup you will need to restart them
    "${ROOT}/tools/docker" --push --no-cache --no-clobber --targets="${DOCKER_TARGETS}"
    
    APKO_IMAGES=""
    for h in ${HUBS}; do
      for t in ${TAGS:-$TAG}; do
        APKO_IMAGES+="${h}/iptables:$t "
      done
    done
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 17:24:41 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top