- Sort Score
- Result 10 results
- Languages All
Results 21 - 27 of 27 for NewValue0 (0.45 sec)
-
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) -
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) -
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) -
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) -
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) -
src/cmd/compile/internal/ssa/_gen/rulegen.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 02 22:09:21 UTC 2023 - 48.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/regalloc.go
func (s *regAllocState) clobberRegs(m regMask) { m &= s.allocatable & s.f.Config.gpRegMask // only integer register can contain pointers, only clobber them for m != 0 { r := pickReg(m) m &^= 1 << r x := s.curBlock.NewValue0(src.NoXPos, OpClobberReg, types.TypeVoid) s.f.setHome(x, &s.registers[r]) } } // setOrig records that c's original value is the same as // v's original value.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:49:56 UTC 2023 - 87.2K bytes - Viewed (0)