- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for newValue0I (0.14 sec)
-
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) -
src/cmd/compile/internal/ssa/func.go
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 } // NewValue0I returns a new value in the block with no arguments and an auxint value.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 25.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/phi.go
continue } if hasPhi.contains(c.ID) { continue } // Add a phi to block c for variable n. hasPhi.add(c.ID) v := c.NewValue0I(currentRoot.Pos, ssa.OpPhi, typ, int64(n)) // TODO: line number right? // Note: we store the variable number in the phi's AuxInt field. Used temporarily by phi building. if var_.Op() == ir.ONAME {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 15.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
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. func (s *state) newValue0A(op ssa.Op, t *types.Type, aux ssa.Aux) *ssa.Value {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewrite.go
OpPPC64RLDICL: OpPPC64RLDICLCC, OpPPC64SUB: OpPPC64SUBCC, OpPPC64NEG: OpPPC64NEGCC, OpPPC64NOR: OpPPC64NORCC, OpPPC64XOR: OpPPC64XORCC, } b := op.Block opCC := b.NewValue0I(op.Pos, ccOpMap[op.Op], types.NewTuple(op.Type, types.TypeFlags), op.AuxInt) opCC.AddArgs(op.Args...) op.reset(OpSelect0) op.AddArgs(opCC) return op }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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)