Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for phi2 (0.04 sec)

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

    	// between assignments (typically branch-dependent
    	// conditionals) occurring "before" the block (e.g., as inputs
    	// to the block and its phi functions), "within" the block,
    	// and "after" the block.
    	AdjustBefore = -1 // defined before phi
    	AdjustWithin = 0  // defined by phi
    	AdjustAfter  = 1  // defined within block
    )
    
    // A SparseTree is a tree of Blocks.
    // It allows rapid ancestor queries,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/deadstore_test.go

    			Valu("addr", OpAddr, ptrType, 0, nil, "sb"),
    			Goto("loop")),
    		Bloc("loop",
    			Valu("phi", OpPhi, types.TypeMem, 0, nil, "start", "store"),
    			Valu("store", OpStore, types.TypeMem, 0, c.config.Types.Bool, "addr", "v", "phi"),
    			If("v", "loop", "exit")),
    		Bloc("exit",
    			Exit("store")))
    
    	CheckFunc(fun.f)
    	dse(fun.f)
    	CheckFunc(fun.f)
    }
    
    func TestDeadStoreTypes(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. test/typeparam/issue48191.go

    		am4 = []map[float64]map[G2]*func(*byte, map[uint]int64, G3, struct {
    		}) G2{am4[i2%*pi3]}
    		pi2 = &i2
    		pi64_0 = pi64_1
    		ai8_8[*pi3] = *pi8_5&ai8_9[(*pi4+*pi3)%*pi3] ^ ai8_8[90+i2|*pi4]
    		ai64_2 = []int64{}
    		m4 = m4
    		pi2 = &i1
    		pi3 = &i2
    		_, _, _, _, _, _, _, _, _ = ai8_8, ai8_9, pi2, pi3, pi4, pi8_5, pi8_6, i64_0, i64_1
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/work_sum_mismatch.txt

    -- a/main.go --
    package main
    
    import (
    	"fmt"
    	"rsc.io/quote"
    )
    
    func main() {
    	fmt.Println(quote.Hello())
    }
    -- b/go.mod --
    go 1.18
    
    module example.com/hi2
    
    require "rsc.io/quote" v1.5.2
    -- b/go.sum --
    rsc.io/sampler v1.3.0 h1:HLGR/BgEtI3r0uymSP/nl2uPLsUnNJX8toRyhfpBTII=
    rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
    -- b/main.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. src/math/const.go

    const (
    	E   = 2.71828182845904523536028747135266249775724709369995957496696763 // https://oeis.org/A001113
    	Pi  = 3.14159265358979323846264338327950288419716939937510582097494459 // https://oeis.org/A000796
    	Phi = 1.61803398874989484820458683436563811772030917980576286213544862 // https://oeis.org/A001622
    
    	Sqrt2   = 1.41421356237309504880168872420969807856967187537694807317667974 // https://oeis.org/A002193
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 21 14:07:39 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/fuse_test.go

    			Valu("bool1", OpNeqPtr, c.config.Types.Bool, 0, nil, "ptr1", "nilptr"),
    			If("bool1", "then", "else")),
    		Bloc("then",
    			Goto("exit")),
    		Bloc("else",
    			Goto("exit")),
    		Bloc("exit",
    			Valu("phi", OpPhi, ptrType, 0, nil, "ptr1", "ptr1"),
    			Exit("mem")))
    
    	CheckFunc(fun.f)
    	fuseLate(fun.f)
    
    	for _, b := range fun.f.Blocks {
    		if b == fun.blocks["then"] && b.Kind != BlockInvalid {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  7. test/fuse.go

    	return a != nil && f > Cf2 || a != nil && f < -Cf2 // ERROR "Redirect IsNonNil based on IsNonNil$"
    }
    
    func fPhi(a, b string) string {
    	aslash := strings.HasSuffix(a, "/") // ERROR "Redirect Phi based on Phi$"
    	bslash := strings.HasPrefix(b, "/")
    	switch {
    	case aslash && bslash:
    		return a + b[1:]
    	case !aslash && !bslash:
    		return a + "/" + b
    	}
    	return a + b
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 00:02:36 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/testdata/ctl_test.go

    // license that can be found in the LICENSE file.
    
    // Test control flow
    
    package main
    
    import "testing"
    
    // nor_ssa calculates NOR(a, b).
    // It is implemented in a way that generates
    // phi control values.
    func nor_ssa(a, b bool) bool {
    	var c bool
    	if a {
    		c = true
    	}
    	if b {
    		c = true
    	}
    	if c {
    		return false
    	}
    	return true
    }
    
    func testPhiControl(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/fuse_branchredirect.go

    				out := 1 ^ j
    				child := parent.Succs[out].b
    				if child == b {
    					continue
    				}
    				b.removePred(k)
    				p.Succs[pk.i] = Edge{child, len(child.Preds)}
    				// Fix up Phi value in b to have one less argument.
    				for _, v := range b.Values {
    					if v.Op != OpPhi {
    						continue
    					}
    					b.removePhiArg(v, k)
    				}
    				// Fix up child to have one more predecessor.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 21:40:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/dec.rules

    // This file contains rules to decompose builtin compound types
    // (complex,string,slice,interface) into their constituent
    // types.  These rules work together with the decomposeBuiltIn
    // pass which handles phis of these types.
    
    (Store {t} _ _ mem) && t.Size() == 0 => mem
    
    // complex ops
    (ComplexReal (ComplexMake real _  )) => real
    (ComplexImag (ComplexMake _ imag )) => imag
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top