Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 115 for combine (0.14 sec)

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

    			// has the pointer in arg[1] and the index in arg[2].
    			ptrIndex := 0
    			if opcodeTable[v.Op].resultInArg0 {
    				ptrIndex = 1
    			}
    			p := v.Args[ptrIndex]
    			c, ok := combine[[2]Op{v.Op, p.Op}]
    			if !ok {
    				continue
    			}
    			// See if we can combine the Aux/AuxInt values.
    			switch [2]auxType{opcodeTable[v.Op].auxType, opcodeTable[p.Op].auxType} {
    			case [2]auxType{auxSymOff, auxInt32}:
    				// TODO: introduce auxSymOff32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 17:19:57 UTC 2023
    - 24.3K 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/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)
  4. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    // to produce a properties dump, then returns the path of the newly
    // created file. NB: we can't use "go tool compile" here, since
    // some of the test cases import stdlib packages (such as "os").
    // This means using "go build", which is problematic since the
    // Go command can potentially cache the results of the compile step,
    // causing the test to fail when being run interactively. E.g.
    //
    //	$ rm -f dump.txt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/writebarrier.go

    // Copyright 2016 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.
    
    package ssa
    
    import (
    	"cmd/compile/internal/reflectdata"
    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    	"fmt"
    	"internal/buildcfg"
    )
    
    // A ZeroRegion records parts of an object which are known to be zero.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/cmd/compile/internal/syntax/printer.go

    	p.print(close)
    }
    
    // combinesWithName reports whether a name followed by the expression x
    // syntactically combines to another valid (value) expression. For instance
    // using *T for x, "name *T" syntactically appears as the expression x*T.
    // On the other hand, using  P|Q or *P|~Q for x, "name P|Q" or name *P|~Q"
    // cannot be combined into a valid (value) expression.
    func combinesWithName(x Expr) bool {
    	switch x := x.(type) {
    	case *Operation:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
Back to top