Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for blocky (0.58 sec)

  1. src/cmd/compile/internal/ssa/dom_test.go

    		switch i % 2 {
    		case 0:
    			blocs = append(blocs, Bloc(blockn(i),
    				If("p", blockn(i+1), blockn(i+2))))
    		case 1:
    			blocs = append(blocs, Bloc(blockn(i),
    				If("p", blockn(i+1), blockn(i-1))))
    		}
    	}
    
    	blocs = append(blocs,
    		Bloc(blockn(size), Goto("exit")),
    		Bloc("exit", Exit("mem")),
    	)
    
    	return blocs
    }
    
    // genManyPred creates an array of blocks where 1/3rd have a successor of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/labels.go

    		}
    	}
    }
    
    // A block tracks label declarations in a block and its enclosing blocks.
    type block struct {
    	parent *block                         // enclosing block
    	lstmt  *syntax.LabeledStmt            // labeled statement to which this block belongs, or nil
    	labels map[string]*syntax.LabeledStmt // allocated lazily
    }
    
    // insert records a new label declaration for the current block.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/check.go

    					bb := s.Block()
    					if ln.b2l[b.ID] == nil && ln.b2l[bb.ID] != nil && bb != ln.b2l[bb.ID].header {
    						f.Fatalf("block %s not in loop branches to non-header block %s in loop", b.String(), bb.String())
    					}
    					if ln.b2l[b.ID] != nil && ln.b2l[bb.ID] != nil && bb != ln.b2l[bb.ID].header && !ln.b2l[b.ID].isWithinOrEq(ln.b2l[bb.ID]) {
    						f.Fatalf("block %s in loop branches to non-header block %s in non-containing loop", b.String(), bb.String())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/compile.go

    // Compile modifies f so that on return:
    //   - all Values in f map to 0 or 1 assembly instructions of the target architecture
    //   - the order of f.Blocks is the order to emit the Blocks
    //   - the order of b.Values is the order to emit the Values in each Block
    //   - f has a non-nil regAlloc field
    func Compile(f *Func) {
    	// TODO: debugging - set flags to control verbosity of compiler,
    	// which phases to dump IR before/after, etc.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/schedule.go

    	// inBlockUses records whether a value is used in the block
    	// in which it lives. (block control values don't count as uses.)
    	inBlockUses := f.Cache.allocBoolSlice(f.NumValues())
    	defer f.Cache.freeBoolSlice(inBlockUses)
    	if f.Config.optimize {
    		for _, b := range f.Blocks {
    			for _, v := range b.Values {
    				for _, a := range v.Args {
    					if a.Block == b {
    						inBlockUses[a.ID] = true
    					}
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. src/cmd/gofmt/gofmt.go

    // a task to be executed without any other concurrent tasks.
    const exclusive = -1
    
    // Add blocks until the sequencer has enough weight to spare, then adds f as a
    // task to be executed concurrently.
    //
    // If the weight is either negative or larger than the sequencer's maximum
    // weight, Add blocks until all other tasks have completed, then the task
    // executes exclusively (blocking all other calls to Add until it completes).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. src/archive/tar/writer.go

    					sa.IsExtended()[0] = 1
    				}
    				return sp
    			}
    			sp2 := formatSPD(spd, blk.GNU().Sparse())
    			for len(sp2) > 0 {
    				var spHdr block
    				sp2 = formatSPD(sp2, spHdr.Sparse())
    				spb = append(spb, spHdr[:]...)
    			}
    
    			// Update size fields in the header block.
    			realSize := hdr.Size
    			hdr.Size = 0 // Encoded size; does not account for encoded sparse map
    			for _, s := range spd {
    				hdr.Size += s.Length
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. doc/go_spec.html

    </p>
    
    <h2 id="Blocks">Blocks</h2>
    
    <p>
    A <i>block</i> is a possibly empty sequence of declarations and statements
    within matching brace brackets.
    </p>
    
    <pre class="ebnf">
    Block = "{" StatementList "}" .
    StatementList = { Statement ";" } .
    </pre>
    
    <p>
    In addition to explicit blocks in the source code, there are implicit blocks:
    </p>
    
    <ol>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/copyelim.go

    // A subsequent deadcode pass is needed to actually remove the copies.
    func copyelim(f *Func) {
    	phielim(f)
    
    	// loop of copyelimValue(v) process has been done in phielim() pass.
    	// Update block control values.
    	for _, b := range f.Blocks {
    		for i, v := range b.ControlValues() {
    			if v.Op == OpCopy {
    				b.ReplaceControl(i, v.Args[0])
    			}
    		}
    	}
    
    	// Update named values.
    	for _, name := range f.Names {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssagen/ssa.go

    			base.Fatalf("in %s, badly placed LoweredGetClosurePtr: %v %v", v.Block.Func.Name, v.Block, v)
    		}
    	}
    }
    
    // CheckArgReg ensures that v is in the function's entry block.
    func CheckArgReg(v *ssa.Value) {
    	entry := v.Block.Func.Entry
    	if entry != v.Block {
    		base.Fatalf("in %s, badly placed ArgIReg or ArgFReg: %v %v", v.Block.Func.Name, v.Block, v)
    	}
    }
    
    func AddrAuto(a *obj.Addr, v *ssa.Value) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top