Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for lighten (0.11 sec)

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

    package ssa
    
    import "cmd/compile/internal/base"
    
    // tighten moves Values closer to the Blocks in which they are used.
    // This can reduce the amount of register spilling required,
    // if it doesn't also create more live values.
    // A Value can be moved to any block that
    // dominates all blocks in which it is used.
    func tighten(f *Func) {
    	if base.Flag.N != 0 && len(f.Blocks) < 10000 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 01:01:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/compile.go

    	{name: "lowered cse", fn: cse},
    	{name: "elim unread autos", fn: elimUnreadAutos},
    	{name: "tighten tuple selectors", fn: tightenTupleSelectors, required: true},
    	{name: "lowered deadcode", fn: deadcode, required: true},
    	{name: "checkLower", fn: checkLower, required: true},
    	{name: "late phielim and copyelim", fn: copyelim},
    	{name: "tighten", fn: tighten, required: true}, // move values closer to their uses
    	{name: "late deadcode", fn: deadcode},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modindex/syslist_test.go

    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file is a lightly modified copy go/build/syslist_test.go.
    
    package modindex
    
    import (
    	"go/build"
    	"runtime"
    	"testing"
    )
    
    var (
    	thisOS    = runtime.GOOS
    	thisArch  = runtime.GOARCH
    	otherOS   = anotherOS()
    	otherArch = anotherArch()
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 20:19:10 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/vcweb/svn.go

    	// to port exhaustion) we can return an error from the Handler method instead
    	// of serving an error for each individual HTTP request.
    	h.listenOnce.Do(func() {
    		h.s = make(chan *svnState, 1)
    		l, err := net.Listen("tcp", "localhost:0")
    		done := make(chan struct{})
    
    		h.s <- &svnState{
    			listener:  l,
    			listenErr: err,
    			conns:     map[net.Conn]struct{}{},
    			done:      done,
    		}
    		if err != nil {
    			close(done)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:44:48 UTC 2022
    - 5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/pos.go

    const PosMax = 1 << 30
    
    // A Pos represents an absolute (line, col) source position
    // with a reference to position base for computing relative
    // (to a file, or line directive) position information.
    // Pos values are intentionally light-weight so that they
    // can be created without too much concern about space use.
    type Pos struct {
    	base      *PosBase
    	line, col uint32
    }
    
    // MakePos returns a new Pos for the given PosBase, line and column.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 20:44:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. api/go1.20.txt

    pkg syscall (freebsd-riscv64), func Kill(int, Signal) error #53466
    pkg syscall (freebsd-riscv64), func Kqueue() (int, error) #53466
    pkg syscall (freebsd-riscv64), func Listen(int, int) error #53466
    pkg syscall (freebsd-riscv64), func Lstat(string, *Stat_t) error #53466
    pkg syscall (freebsd-riscv64), func Mkfifo(string, uint32) error #53466
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
  7. doc/go_spec.html

    repeating the previous list.  The number of identifiers must be equal
    to the number of expressions in the previous list.
    Together with the <a href="#Iota"><code>iota</code> constant generator</a>
    this mechanism permits light-weight declaration of sequential values:
    </p>
    
    <pre>
    const (
    	Sunday = iota
    	Monday
    	Tuesday
    	Wednesday
    	Thursday
    	Friday
    	Partyday
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modindex/build_read.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file is a lightly modified copy go/build/read.go with unused parts
    // removed.
    
    package modindex
    
    import (
    	"bufio"
    	"bytes"
    	"errors"
    	"fmt"
    	"go/ast"
    	"go/build"
    	"go/parser"
    	"go/token"
    	"io"
    	"strconv"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 10:10:21 UTC 2023
    - 13K bytes
    - Viewed (0)
  9. src/cmd/dist/build.go

    	if !isGitRepo() {
    		fatalf("FAILED: not a Git repo; must put a VERSION file in $GOROOT")
    	}
    
    	// Otherwise, use Git.
    	//
    	// Include 1.x base version, hash, and date in the version.
    	//
    	// Note that we lightly parse internal/goversion/goversion.go to
    	// obtain the base version. We can't just import the package,
    	// because cmd/dist is built with a bootstrap GOROOT which could
    	// be an entirely different version of Go. We assume
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssagen/ssa.go

    func (s *state) entryBlock() *ssa.Block {
    	b := s.f.Entry
    	if base.Flag.N > 0 && s.curBlock != nil {
    		// If optimizations are off, allocate in current block instead. Since with -N
    		// we're not doing the CSE or tighten passes, putting lots of stuff in the
    		// entry block leads to O(n^2) entries in the live value map during regalloc.
    		// See issue 45897.
    		b = s.curBlock
    	}
    	return b
    }
    
    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