- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for layoutRegallocOrder (0.2 sec)
-
src/cmd/compile/internal/ssa/layout.go
func layout(f *Func) { f.Blocks = layoutOrder(f) } // Register allocation may use a different order which has constraints // imposed by the linear-scan algorithm. func layoutRegallocOrder(f *Func) []*Block { // remnant of an experiment; perhaps there will be another. return layoutOrder(f) } func layoutOrder(f *Func) []*Block { order := make([]*Block, 0, f.NumBlocks())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 21:41:20 UTC 2022 - 5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/regalloc.go
// Decouple the register allocation order from the generated block order. // This also creates an opportunity for experiments to find a better order. s.visitOrder = layoutRegallocOrder(f) // Compute block order. This array allows us to distinguish forward edges // from backward edges and compute how far they go. s.blockOrder = make([]int32, f.NumBlocks()) for i, b := range s.visitOrder {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:49:56 UTC 2023 - 87.2K bytes - Viewed (0)