Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for combine (0.41 sec)

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

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package ssa
    
    import (
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/types"
    	"cmd/internal/src"
    	"sort"
    )
    
    // memcombine combines smaller loads and stores into larger ones.
    // We ensure this generates good code for encoding/binary operations.
    // It may help other cases also.
    func memcombine(f *Func) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. src/cmd/covdata/metamerge.go

    	if *verbflag >= 3 {
    		fmt.Printf("visit pk=%d fid=%d func %s\n", pkgIdx, fnIdx, fd.Funcname)
    	}
    
    	var counters []uint32
    	key := pkfunc{pk: pkgIdx, fcn: fnIdx}
    	v, haveCounters := mm.pod.pmm[key]
    	if haveCounters {
    		counters = v.Counters
    	}
    
    	if pcombine {
    		// If the merge is running in "combine programs" mode, then hash
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 17:17:47 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    (MOVBUreg x:(ANDI [c] y)) && c >= 0 && int64(uint8(c)) == c => x
    (MOVHUreg x:(ANDI [c] y)) && c >= 0 && int64(uint16(c)) == c => x
    (MOVWUreg x:(ANDI [c] y)) && c >= 0 && int64(uint32(c)) == c => x
    
    // Combine masking and zero extension.
    (MOVBUreg (ANDI [c] x)) && c < 0 => (ANDI [int64(uint8(c))] x)
    (MOVHUreg (ANDI [c] x)) && c < 0 => (ANDI [int64(uint16(c))] x)
    (MOVWUreg (ANDI [c] x)) && c < 0 => (AND (MOVDconst [int64(uint32(c))]) x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/switch.go

    package walk
    
    import (
    	"fmt"
    	"go/constant"
    	"go/token"
    	"math/bits"
    	"sort"
    
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/objw"
    	"cmd/compile/internal/reflectdata"
    	"cmd/compile/internal/rttype"
    	"cmd/compile/internal/ssagen"
    	"cmd/compile/internal/typecheck"
    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    	"cmd/internal/src"
    )
    
    // walkSwitch walks a switch statement.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  5. src/cmd/go/internal/help/helpdoc.go

    		but for the linker.
    	CXX
    		The command to use to compile C++ code.
    	FC
    		The command to use to compile Fortran code.
    	PKG_CONFIG
    		Path to pkg-config tool.
    
    Architecture-specific environment variables:
    
    	GOARM
    		For GOARCH=arm, the ARM architecture for which to compile.
    		Valid values are 5, 6, 7.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/compile.go

    	"sort"
    	"strings"
    	"time"
    )
    
    // Compile is the main entry point for this package.
    // 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) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. src/cmd/cgo/doc.go

    combine the go.o object file and any supporting non-Go code into a
    final executable. External linking avoids the dynamic library
    requirement but introduces a requirement that the host linker be
    present to create such a binary.
    
    Most builds both compile source code and invoke the linker to create a
    binary. When cgo is involved, the compile step already requires gcc, so
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/gccgo.go

    		// initialization code.
    		//
    		// The user remains responsible for linking against
    		// -lgo -lpthread -lm in the final link. We can't use
    		// -r to pick them up because we can't combine
    		// split-stack and non-split-stack code in a single -r
    		// link, and libgo picks up non-split-stack code from
    		// libffi.
    		ldflags = append(ldflags, "-Wl,-r", "-nostdlib")
    		ldflags = append(ldflags, goLibBegin...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:18:34 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/gc.go

    }
    
    // pluginPath computes the package path for a plugin main package.
    //
    // This is typically the import path of the main package p, unless the
    // plugin is being built directly from source files. In that case we
    // combine the package build ID with the contents of the main package
    // source files. This allows us to identify two different plugins
    // built from two source files with the same name.
    func pluginPath(a *Action) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/liveness/intervals.go

    		}
    		first = second
    	}
    	return false
    }
    
    // Merge combines the intervals from "is" and "is2" and returns
    // a new Intervals object containing all combined ranges from the
    // two inputs.
    func (is Intervals) Merge(is2 Intervals) Intervals {
    	if len(is) == 0 {
    		return is2
    	} else if len(is2) == 0 {
    		return is
    	}
    	// walk the combined set of intervals and merge them together.
    	var ret Intervals
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 21:55:27 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top