- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 139 for auxint (0.16 sec)
-
src/cmd/compile/internal/ssa/expand_calls.go
mem := x.memForCall[call.ID] if mem == nil { v.AuxInt = int64(aux.abiInfo.OutRegistersUsed()) x.memForCall[call.ID] = v } else { panic(fmt.Errorf("Saw two memories for call %v, %v and %v", call, mem, v)) } } else { selects = append(selects, v) } case OpSelectNAddr: call := v.Args[0] which := v.AuxInt aux := call.Aux.(*AuxCall) pt := v.Type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 28 05:13:40 UTC 2023 - 31.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/writebarrier.go
memThen = bThen.NewValue1(pos, OpSelect1, types.TypeMem, curCall) } // Store value in write buffer num := curCall.AuxInt curCall.AuxInt = num + 1 wbuf := bThen.NewValue1I(pos, OpOffPtr, types.Types[types.TUINTPTR].PtrTo(), num*f.Config.PtrSize, curPtr) memThen = bThen.NewValue3A(pos, OpStore, types.TypeMem, types.Types[types.TUINTPTR], wbuf, v, memThen) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:09:14 UTC 2023 - 23.5K bytes - Viewed (0) -
src/cmd/compile/internal/wasm/ssa.go
p.Pos = v.Pos } case ssa.OpWasmLoweredMove: getValue32(s, v.Args[0]) getValue32(s, v.Args[1]) i32Const(s, int32(v.AuxInt)) s.Prog(wasm.AMemoryCopy) case ssa.OpWasmLoweredZero: getValue32(s, v.Args[0]) i32Const(s, 0) i32Const(s, int32(v.AuxInt)) s.Prog(wasm.AMemoryFill) case ssa.OpWasmLoweredNilCheck: getValue64(s, v.Args[0]) s.Prog(wasm.AI64Eqz) s.Prog(wasm.AIf)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 00:21:13 UTC 2023 - 17.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/nilcheck.go
case auxSymOff: if v.Aux != nil || v.AuxInt < 0 || v.AuxInt >= minZeroPage { continue } case auxSymValAndOff: off := ValAndOff(v.AuxInt).Off() if v.Aux != nil || off < 0 || off >= minZeroPage { continue } case auxInt32: // Mips uses this auxType for atomic add constant. It does not affect the effective address. case auxInt64:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 20:45:54 UTC 2023 - 11.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/deadstore.go
ptr := v.Args[0] var off int64 for ptr.Op == OpOffPtr { // Walk to base pointer off += ptr.AuxInt ptr = ptr.Args[0] } var sz int64 if v.Op == OpStore { sz = v.Aux.(*types.Type).Size() } else { // OpZero sz = v.AuxInt } if ptr.Op == OpLocalAddr { if la, ok := localAddrs[ptr.Aux]; ok { ptr = la } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 25 20:07:26 UTC 2024 - 11K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/tuple.go
if !tuple.Type.IsTuple() { f.Fatalf("arg of tuple selector %s is not a tuple: %s", selector.String(), tuple.LongString()) } case OpSelectN: tuple = selector.Args[0] idx = int(selector.AuxInt) if !tuple.Type.IsResults() { f.Fatalf("arg of result selector %s is not a results: %s", selector.String(), tuple.LongString()) } } // If there is a pre-existing selector in the target block then
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 26 02:52:33 UTC 2021 - 2K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/phi.go
} // Resolve FwdRefs to the correct write or phi. s.resolveFwdRefs() // Erase variable numbers stored in AuxInt fields of phi ops. They are no longer needed. for _, b := range s.f.Blocks { for _, v := range b.Values { if v.Op == ssa.OpPhi { v.AuxInt = 0 } // Any remaining FwdRefs are dead code. if v.Op == ssa.OpFwdRef { v.Op = ssa.OpUnknown v.Aux = nil }
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/ssa/memcombine.go
idx = ptr.Args[1] if idx.Op == OpAdd32 || idx.Op == OpAdd64 { if idx.Args[0].Op == OpConst32 || idx.Args[0].Op == OpConst64 { off += idx.Args[0].AuxInt idx = idx.Args[1] } else if idx.Args[1].Op == OpConst32 || idx.Args[1].Op == OpConst64 { off += idx.Args[1].AuxInt idx = idx.Args[0] } } ptr = ptr.Args[0] } else { return BaseAddress{ptr: ptr, idx: idx}, off } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 19:45:41 UTC 2024 - 18.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/magic.go
// // floor(x / uint64(c)) = x * (m + 2^n) >> (n+s) func umagic(n uint, c int64) umagicData { // Convert from ConstX auxint values to the real uint64 constant they represent. d := uint64(c) << (64 - n) >> (64 - n) C := new(big.Int).SetUint64(d) s := C.BitLen() M := big.NewInt(1) M.Lsh(M, n+uint(s)) // 2^(n+s) M.Add(M, C) // 2^(n+s)+c M.Sub(M, big.NewInt(1)) // 2^(n+s)+c-1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:25 UTC 2024 - 15.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/branchelim.go
// because it requires three instructions (OR, MASKEQZ, MASKNEZ) and will increase the // register pressure. if !(v.Args[0].isGenericIntConst() && v.Args[0].AuxInt == 0) && !(v.Args[1].isGenericIntConst() && v.Args[1].AuxInt == 0) { return false } } // For now, stick to simple scalars that fit in registers switch { case v.Type.Size() > v.Block.Func.Config.RegSize: return false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 30 17:46:51 UTC 2022 - 12.7K bytes - Viewed (0)