Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for NewValue0 (0.2 sec)

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

    			break
    		}
    		v.reset(OpSliceMake)
    		v0 := b.NewValue0(v.Pos, OpLoad, t.Elem().PtrTo())
    		v0.AddArg2(ptr, mem)
    		v1 := b.NewValue0(v.Pos, OpLoad, typ.Int)
    		v2 := b.NewValue0(v.Pos, OpOffPtr, typ.IntPtr)
    		v2.AuxInt = int64ToAuxInt(config.PtrSize)
    		v2.AddArg(ptr)
    		v1.AddArg2(v2, mem)
    		v3 := b.NewValue0(v.Pos, OpLoad, typ.Int)
    		v4 := b.NewValue0(v.Pos, OpOffPtr, typ.IntPtr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/decompose.go

    }
    
    func decomposeSlicePhi(v *Value) {
    	types := &v.Block.Func.Config.Types
    	ptrType := v.Type.Elem().PtrTo()
    	lenType := types.Int
    
    	ptr := v.Block.NewValue0(v.Pos, OpPhi, ptrType)
    	len := v.Block.NewValue0(v.Pos, OpPhi, lenType)
    	cap := v.Block.NewValue0(v.Pos, OpPhi, lenType)
    	for _, a := range v.Args {
    		ptr.AddArg(a.Block.NewValue1(v.Pos, OpSlicePtr, ptrType, a))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:22:15 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteMIPS.go

    		}
    		v.reset(OpMIPSLoweredAtomicAnd)
    		v0 := b.NewValue0(v.Pos, OpMIPSAND, typ.UInt32Ptr)
    		v1 := b.NewValue0(v.Pos, OpMIPSMOVWconst, typ.UInt32)
    		v1.AuxInt = int32ToAuxInt(^3)
    		v0.AddArg2(v1, ptr)
    		v2 := b.NewValue0(v.Pos, OpMIPSOR, typ.UInt32)
    		v3 := b.NewValue0(v.Pos, OpMIPSSLL, typ.UInt32)
    		v4 := b.NewValue0(v.Pos, OpZeroExt8to32, typ.UInt32)
    		v4.AddArg(val)
    		v5 := b.NewValue0(v.Pos, OpMIPSSLLconst, typ.UInt32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 176.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    		v.reset(OpMIPS64LoweredAtomicAnd32)
    		v0 := b.NewValue0(v.Pos, OpMIPS64AND, typ.UInt32Ptr)
    		v1 := b.NewValue0(v.Pos, OpMIPS64MOVVconst, typ.UInt64)
    		v1.AuxInt = int64ToAuxInt(^3)
    		v0.AddArg2(v1, ptr)
    		v2 := b.NewValue0(v.Pos, OpMIPS64OR, typ.UInt64)
    		v3 := b.NewValue0(v.Pos, OpMIPS64SLLV, typ.UInt32)
    		v4 := b.NewValue0(v.Pos, OpZeroExt8to32, typ.UInt32)
    		v4.AddArg(val)
    		v5 := b.NewValue0(v.Pos, OpMIPS64SLLVconst, typ.UInt64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    		mem := v_2
    		v.reset(OpRISCV64LoweredAtomicAnd32)
    		v0 := b.NewValue0(v.Pos, OpRISCV64ANDI, typ.Uintptr)
    		v0.AuxInt = int64ToAuxInt(^3)
    		v0.AddArg(ptr)
    		v1 := b.NewValue0(v.Pos, OpRISCV64NOT, typ.UInt32)
    		v2 := b.NewValue0(v.Pos, OpRISCV64SLL, typ.UInt32)
    		v3 := b.NewValue0(v.Pos, OpRISCV64XORI, typ.UInt32)
    		v3.AuxInt = int64ToAuxInt(0xff)
    		v4 := b.NewValue0(v.Pos, OpZeroExt8to32, typ.UInt32)
    		v4.AddArg(val)
    		v3.AddArg(v4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewritedec64.go

    		y := v_1
    		v.reset(OpInt64Make)
    		v0 := b.NewValue0(v.Pos, OpAdd32withcarry, typ.Int32)
    		v1 := b.NewValue0(v.Pos, OpInt64Hi, typ.UInt32)
    		v1.AddArg(x)
    		v2 := b.NewValue0(v.Pos, OpInt64Hi, typ.UInt32)
    		v2.AddArg(y)
    		v3 := b.NewValue0(v.Pos, OpSelect1, types.TypeFlags)
    		v4 := b.NewValue0(v.Pos, OpAdd32carry, types.NewTuple(typ.UInt32, types.TypeFlags))
    		v5 := b.NewValue0(v.Pos, OpInt64Lo, typ.UInt32)
    		v5.AddArg(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 65.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    		x := v_0
    		y := v_1
    		v.reset(OpLOONG64MASKEQZ)
    		v0 := b.NewValue0(v.Pos, OpLOONG64SRLV, t)
    		v1 := b.NewValue0(v.Pos, OpZeroExt16to64, typ.UInt64)
    		v1.AddArg(x)
    		v2 := b.NewValue0(v.Pos, OpZeroExt16to64, typ.UInt64)
    		v2.AddArg(y)
    		v0.AddArg2(v1, v2)
    		v3 := b.NewValue0(v.Pos, OpLOONG64SGTU, typ.Bool)
    		v4 := b.NewValue0(v.Pos, OpLOONG64MOVVconst, typ.UInt64)
    		v4.AuxInt = int64ToAuxInt(64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewrite386splitload.go

    	for {
    		vo := auxIntToValAndOff(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		ptr := v_0
    		mem := v_1
    		v.reset(Op386CMPBconst)
    		v.AuxInt = int8ToAuxInt(vo.Val8())
    		v0 := b.NewValue0(v.Pos, Op386MOVBload, typ.UInt8)
    		v0.AuxInt = int32ToAuxInt(vo.Off())
    		v0.Aux = symToAux(sym)
    		v0.AddArg2(ptr, mem)
    		v.AddArg(v0)
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteWasm.go

    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpWasmSelect)
    		v0 := b.NewValue0(v.Pos, OpWasmI64Shl, typ.Int64)
    		v0.AddArg2(x, y)
    		v1 := b.NewValue0(v.Pos, OpWasmI64Const, typ.Int64)
    		v1.AuxInt = int64ToAuxInt(0)
    		v2 := b.NewValue0(v.Pos, OpWasmI64LtU, typ.Bool)
    		v3 := b.NewValue0(v.Pos, OpWasmI64Const, typ.Int64)
    		v3.AuxInt = int64ToAuxInt(64)
    		v2.AddArg2(y, v3)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 108.6K bytes
    - Viewed (0)
  10. 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)
Back to top