Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for needRaceCleanup (0.16 sec)

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

    		return true
    	}
    	if typ.IsInteger() {
    		return typ.Size() <= b.Func.Config.RegSize
    	}
    	return false
    }
    
    // needRaceCleanup reports whether this call to racefuncenter/exit isn't needed.
    func needRaceCleanup(sym *AuxCall, v *Value) bool {
    	f := v.Block.Func
    	if !f.Config.Race {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/generic.rules

    			(Store {t4} (OffPtr <tt4> [o4] dst) d3
    				(Store {t5} (OffPtr <tt5> [o5] dst) d4
    					(Zero {t1} [n] dst mem)))))
    
    (SelectN [0] call:(StaticLECall {sym} a x)) && needRaceCleanup(sym, call) && clobber(call) => x
    (SelectN [0] call:(StaticLECall {sym} x)) && needRaceCleanup(sym, call) && clobber(call) => x
    
    // When rewriting append to growslice, we use as the new length the result of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewritegeneric.go

    	// match: (SelectN [0] call:(StaticLECall {sym} a x))
    	// cond: needRaceCleanup(sym, call) && clobber(call)
    	// result: x
    	for {
    		if auxIntToInt64(v.AuxInt) != 0 {
    			break
    		}
    		call := v_0
    		if call.Op != OpStaticLECall || len(call.Args) != 2 {
    			break
    		}
    		sym := auxToCall(call.Aux)
    		x := call.Args[1]
    		if !(needRaceCleanup(sym, call) && clobber(call)) {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
Back to top