Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for NewValue0 (0.27 sec)

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

    		}
    		v.reset(OpTrunc32to16)
    		v0 := b.NewValue0(v.Pos, OpRsh32Ux64, typ.UInt32)
    		v1 := b.NewValue0(v.Pos, OpMul32, typ.UInt32)
    		v2 := b.NewValue0(v.Pos, OpConst32, typ.UInt32)
    		v2.AuxInt = int32ToAuxInt(int32(1<<15 + (umagic16(c).m+1)/2))
    		v3 := b.NewValue0(v.Pos, OpRsh32Ux64, typ.UInt32)
    		v4 := b.NewValue0(v.Pos, OpZeroExt16to32, typ.UInt32)
    		v4.AddArg(x)
    		v5 := b.NewValue0(v.Pos, OpConst64, typ.UInt64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewritePPC64.go

    		v.AuxInt = int32ToAuxInt(2)
    		v0 := b.NewValue0(v.Pos, OpPPC64SLD, t)
    		v1 := b.NewValue0(v.Pos, OpPPC64MOVHZreg, typ.Int64)
    		v1.AddArg(x)
    		v0.AddArg2(v1, y)
    		v2 := b.NewValue0(v.Pos, OpPPC64MOVDconst, typ.Int64)
    		v2.AuxInt = int64ToAuxInt(0)
    		v3 := b.NewValue0(v.Pos, OpPPC64CMPconst, types.TypeFlags)
    		v3.AuxInt = int64ToAuxInt(0)
    		v4 := b.NewValue0(v.Pos, OpPPC64ANDconst, typ.Int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/compile/internal/ssa/func.go

    	}
    	// Clear everything but ID (which we reuse).
    	id := b.ID
    	*b = Block{}
    	b.ID = id
    	b.succstorage[0].b = f.freeBlocks
    	f.freeBlocks = b
    }
    
    // NewValue0 returns a new value in the block with no arguments and zero aux values.
    func (b *Block) NewValue0(pos src.XPos, op Op, t *types.Type) *Value {
    	v := b.Func.newValue(op, t, b, pos)
    	v.AuxInt = 0
    	v.Args = v.argstorage[:0]
    	return v
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/compile/internal/ssagen/ssa.go

    // peekPos peeks the top of the line number stack.
    func (s *state) peekPos() src.XPos {
    	return s.line[len(s.line)-1]
    }
    
    // newValue0 adds a new value with no arguments to the current block.
    func (s *state) newValue0(op ssa.Op, t *types.Type) *ssa.Value {
    	return s.curBlock.NewValue0(s.peekPos(), op, t)
    }
    
    // newValue0A adds a new value with no arguments and an aux value to the current block.
    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