Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for newValue0A (0.2 sec)

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

    			if !(isPowerOfTwo64(c+1) && int32(c) >= 7) {
    				continue
    			}
    			v.reset(OpARM64MOVWUreg)
    			v0 := b.NewValue0(v.Pos, OpARM64NEG, x.Type)
    			v1 := b.NewValue0(v.Pos, OpARM64ADDshiftLL, x.Type)
    			v1.AuxInt = int64ToAuxInt(log64(c + 1))
    			v2 := b.NewValue0(v.Pos, OpARM64NEG, x.Type)
    			v2.AddArg(x)
    			v1.AddArg2(v2, x)
    			v0.AddArg(v1)
    			v.AddArg(v0)
    			return true
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteS390X.go

    		v.reset(OpS390XSUB)
    		v0 := b.NewValue0(v.Pos, OpS390XMOVDconst, typ.UInt64)
    		v0.AuxInt = int64ToAuxInt(64)
    		v1 := b.NewValue0(v.Pos, OpS390XFLOGR, typ.UInt64)
    		v2 := b.NewValue0(v.Pos, OpS390XMOVWZreg, typ.UInt64)
    		v3 := b.NewValue0(v.Pos, OpS390XANDW, t)
    		v4 := b.NewValue0(v.Pos, OpS390XSUBWconst, t)
    		v4.AuxInt = int32ToAuxInt(1)
    		v4.AddArg(x)
    		v5 := b.NewValue0(v.Pos, OpS390XNOTW, t)
    		v5.AddArg(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 395.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteAMD64.go

    		v.Aux = symToAux(dstSym)
    		v0 := b.NewValue0(v_1.Pos, OpAMD64MOVQconst, typ.UInt64)
    		v0.AuxInt = int64ToAuxInt(int64(read64(srcSym, int64(srcOff)+8, config.ctxt.Arch.ByteOrder)))
    		v1 := b.NewValue0(v_1.Pos, OpAMD64MOVQstore, types.TypeMem)
    		v1.AuxInt = int32ToAuxInt(dstOff)
    		v1.Aux = symToAux(dstSym)
    		v2 := b.NewValue0(v_1.Pos, OpAMD64MOVQconst, typ.UInt64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteARM64latelower.go

    	// cond: !isARM64addcon(c)
    	// result: (ADDSflags x (MOVDconst [c]))
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		x := v_0
    		if !(!isARM64addcon(c)) {
    			break
    		}
    		v.reset(OpARM64ADDSflags)
    		v0 := b.NewValue0(v.Pos, OpARM64MOVDconst, typ.UInt64)
    		v0.AuxInt = int64ToAuxInt(c)
    		v.AddArg2(x, v0)
    		return true
    	}
    	return false
    }
    func rewriteValueARM64latelower_OpARM64ADDconst(v *Value) bool {
    	v_0 := v.Args[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewritePPC64latelower.go

    	for {
    		if auxIntToInt32(v.AuxInt) != 2 {
    			break
    		}
    		cmp := v_0
    		if !(buildcfg.GOPPC64 <= 9) {
    			break
    		}
    		v.reset(OpPPC64ISELZ)
    		v.AuxInt = int32ToAuxInt(2)
    		v0 := b.NewValue0(v.Pos, OpPPC64MOVDconst, typ.Int64)
    		v0.AuxInt = int64ToAuxInt(1)
    		v.AddArg2(v0, cmp)
    		return true
    	}
    	// match: (SETBC [0] cmp)
    	// cond: buildcfg.GOPPC64 <= 9
    	// result: (ISELZ [0] (MOVDconst [1]) cmp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/loopreschedchecks.go

    		tofixBackedges = append(tofixBackedges, edgeMem{e, nil})
    	}
    
    	// It's possible that there is no memory state (no global/pointer loads/stores or calls)
    	if lastMems[f.Entry.ID] == nil {
    		lastMems[f.Entry.ID] = f.Entry.NewValue0(f.Entry.Pos, OpInitMem, types.TypeMem)
    	}
    
    	memDefsAtBlockEnds := f.Cache.allocValueSlice(f.NumBlocks()) // For each block, the mem def seen at its bottom. Could be from earlier block.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:10 UTC 2023
    - 16K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/prove.go

    					max = int64(^uint64(0)>>1) - delta
    
    					vmin = parent.NewValue0I(parent.Pos, OpConst64, parent.Func.Config.Types.Int64, min)
    					vmax = parent.NewValue0I(parent.Pos, OpConst64, parent.Func.Config.Types.Int64, max)
    
    				case 4:
    					min = int64(int32(w.AuxInt) - int32(delta))
    					max = int64(int32(^uint32(0)>>1) - int32(delta))
    
    					vmin = parent.NewValue0I(parent.Pos, OpConst32, parent.Func.Config.Types.Int32, min)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/value.go

    	}
    }
    
    // If/when midstack inlining is enabled (-l=4), the compiler gets both larger and slower.
    // Not-inlining this method is a help (*Value.reset and *Block.NewValue0 are similar).
    //
    //go:noinline
    func (v *Value) AddArg(w *Value) {
    	if v.Args == nil {
    		v.resetArgs() // use argstorage
    	}
    	v.Args = append(v.Args, w)
    	w.Uses++
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/expand_calls.go

    	if at == types.TypeMem {
    		a.copyOf(m0)
    		return a
    	}
    
    	makeOf := func(a *Value, op Op, args []*Value) *Value {
    		if a == nil {
    			a = b.NewValue0(pos, op, at)
    			a.AddArgs(args...)
    		} else {
    			a.resetArgs()
    			a.Aux, a.AuxInt = nil, 0
    			a.Pos, a.Op, a.Type = pos, op, at
    			a.AddArgs(args...)
    		}
    		return a
    	}
    
    	if at.Size() == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/rulegen.go

    		}
    		if resname == "" {
    			v = fmt.Sprintf("v%d", rr.Alloc)
    		} else {
    			v = resname
    		}
    		rr.Alloc++
    		rr.add(declf(rr.Loc, v, "b.NewValue0(%s, Op%s%s, %s)", pos, oparch, op.name, typ))
    		if move && top {
    			// Rewrite original into a copy
    			rr.add(stmtf("v.copyOf(%s)", v))
    		}
    	}
    
    	if auxint != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
Back to top