- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for calculateDepths (0.28 sec)
-
src/cmd/compile/internal/ssa/rewrite.go
// approximate x dying with: // 1) target is x's only use. // 2) target is not in a deeper loop than x. if x.Uses != 1 { return false } loopnest := x.Block.Func.loopnest() loopnest.calculateDepths() if loopnest.depth(target.Block.ID) > loopnest.depth(x.Block.ID) { return false } return canMergeLoad(target, load) } // canMergeLoad reports whether the load can be merged into target without
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/regalloc.go
// components as single blocks, duplicated calculated liveness information // out to all of them. po := f.postorder() s.loopnest = f.loopnest() s.loopnest.calculateDepths() for { changed := false for _, b := range po { // Start with known live values at the end of the block. // Add len(b.Values) to adjust from end-of-block distance
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:49:56 UTC 2023 - 87.2K bytes - Viewed (0)