- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for NumBlocks (0.17 sec)
-
src/cmd/compile/internal/ssa/loopreschedchecks.go
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. defer f.Cache.freeValueSlice(memDefsAtBlockEnds) // Propagate last mem definitions forward through successor blocks.
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/html.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 15:11:40 UTC 2023 - 34.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/check.go
package ssa import ( "cmd/compile/internal/ir" "cmd/internal/obj/s390x" "math" "math/bits" ) // checkFunc checks invariants of f. func checkFunc(f *Func) { blockMark := make([]bool, f.NumBlocks()) valueMark := make([]bool, f.NumValues()) for _, b := range f.Blocks { if blockMark[b.ID] { f.Fatalf("block %s appears twice in %s!", b, f.Name) } blockMark[b.ID] = true if b.Func != f {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 16:41:23 UTC 2024 - 17.6K bytes - Viewed (0) -
src/cmd/compile/internal/liveness/plive.go
if lc, _ := f.Cache.Liveness.(*livenessFuncCache); lc == nil { // Prep the cache so liveness can fill it later. f.Cache.Liveness = new(livenessFuncCache) } else { if cap(lc.be) >= f.NumBlocks() { lv.be = lc.be[:f.NumBlocks()] } lv.livenessMap = Map{ Vals: lc.livenessMap.Vals, UnsafeVals: lc.livenessMap.UnsafeVals, UnsafeBlocks: lc.livenessMap.UnsafeBlocks,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 15:22:22 UTC 2024 - 45.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/func.go
CanonicalLocalSlots: make(map[LocalSlot]*LocalSlot), CanonicalLocalSplits: make(map[LocalSlotSplitKey]*LocalSlot), } } // NumBlocks returns an integer larger than the id of any Block in the Func. func (f *Func) NumBlocks() int { return f.bid.num() } // NumValues returns an integer larger than the id of any Value in the Func. func (f *Func) NumValues() int { return f.vid.num() }
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/internal/coverage/defs.go
// object we associated with instrumented function can be thought of // as a struct of the following form: // // struct { // numCtrs uint32 // pkgid uint32 // funcid uint32 // counterArray [numBlocks]uint32 // } // // where "numCtrs" is the number of blocks / coverable units within the // function, "pkgid" is the unique index assigned to this package by
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 12:51:16 UTC 2023 - 11.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/stackalloc.go
// basic blocks. Figure out a way to make this function (or, more precisely, the user // of this function) require only linear size & time. func (s *stackAllocState) computeLive(spillLive [][]ID) { s.live = make([][]ID, s.f.NumBlocks()) var phis []*Value live := s.f.newSparseSet(s.f.NumValues()) defer s.f.retSparseSet(live) t := s.f.newSparseSet(s.f.NumValues()) defer s.f.retSparseSet(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 21:29:41 UTC 2024 - 12.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/sccp.go
t.edges = append(t.edges, Edge{f.Entry, 0}) t.defUse = make(map[*Value][]*Value) t.defBlock = make(map[*Value][]*Block) t.latticeCells = make(map[*Value]lattice) t.visitedBlock = f.Cache.allocBoolSlice(f.NumBlocks()) defer f.Cache.freeBoolSlice(t.visitedBlock) // build it early since we rely heavily on the def-use chain later t.buildDefUses() // pick up either an edge or SSA value from worklist, process it for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:54:50 UTC 2024 - 17.6K bytes - Viewed (0) -
src/archive/tar/common.go
paxSchilyXattr = "SCHILY.xattr." // Keywords for GNU sparse files in a PAX extended header. paxGNUSparse = "GNU.sparse." paxGNUSparseNumBlocks = "GNU.sparse.numblocks" paxGNUSparseOffset = "GNU.sparse.offset" paxGNUSparseNumBytes = "GNU.sparse.numbytes" paxGNUSparseMap = "GNU.sparse.map" paxGNUSparseName = "GNU.sparse.name"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 16:01:50 UTC 2024 - 24.7K bytes - Viewed (0)