Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 329 for ssa2 (0.04 sec)

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

    // Copyright 2020 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 (
    	"math/rand"
    	"testing"
    )
    
    var d int
    
    //go:noinline
    func fn(a, b int) bool {
    	c := false
    	if a > 0 {
    		if b < 0 {
    			d = d + 1
    		}
    		c = true
    	}
    	return c
    }
    
    func BenchmarkPhioptPass(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 02:36:06 UTC 2023
    - 835 bytes
    - Viewed (0)
  2. src/internal/cpu/cpu.go

    // Options are arch dependent and are added by the arch specific doinit functions.
    // Features that are mandatory for the specific GOARCH should not be added to options
    // (e.g. SSE2 on amd64).
    var options []option
    
    // Option names should be lower case. e.g. avx instead of AVX.
    type option struct {
    	Name      string
    	Feature   *bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. test/fixedbugs/issue32680.go

    // run -gcflags=-d=ssa/check/on
    
    // Copyright 2019 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.
    
    // As of 2019-06, bug affects/ed amd64 and s390x.
    
    package main
    
    var foo = []byte{105, 57, 172, 152}
    
    func main() {
    	for i := 0; i < len(foo); i += 4 {
    		// Requires inlining and non-constant i
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 20 16:56:47 UTC 2019
    - 687 bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_workloadentry_test.go

    	// WorkloadEntry not in policy
    	s.addWorkloadEntries(t, "127.0.0.2", "name2", "sa2", map[string]string{"app": "not-a"})
    	s.assertEvent(t, s.wleXdsName("name2"))
    	assert.Equal(t,
    		s.lookup(s.addrXdsName("127.0.0.2"))[0].GetWorkload().GetAuthorizationPolicies(),
    		nil)
    
    	// Add it to the policy by updating its selector
    	s.addWorkloadEntries(t, "127.0.0.2", "name2", "sa2", map[string]string{"app": "a"})
    	s.assertEvent(t, s.wleXdsName("name2"))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. test/abi/too_big_to_ssa.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    )
    
    var sink *string
    
    type toobig struct {
    	// 6 words will not SSA but will fit in registers
    	a, b, c string
    }
    
    //go:registerparams
    //go:noinline
    func H(x toobig) string {
    	return x.a + " " + x.b + " " + x.c
    }
    
    //go:registerparams
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 833 bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/checkbce.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/logopt"
    
    // checkbce prints all bounds checks that are present in the function.
    // Useful to find regressions. checkbce is only activated when with
    // corresponding debug options, so it's off by default.
    // See test/checkbce.go
    func checkbce(f *Func) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Nov 10 17:12:35 UTC 2019
    - 956 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/ssa_test.go

    	ok := os.WriteFile(rungo, stdout.Bytes(), 0600)
    	if ok != nil {
    		t.Fatalf("Failed to create temporary file " + rungo)
    	}
    
    	stdout.Reset()
    	stderr.Reset()
    	cmd = testenv.Command(t, gotool, "run", "-gcflags=-d=ssa/check/on", rungo)
    	cmd.Stdout = &stdout
    	cmd.Stderr = &stderr
    	cmd.Env = append(cmd.Env, ev...)
    	err := cmd.Run()
    	if err != nil {
    		t.Fatalf("Failed: %v:\nOut: %s\nStderr: %s\n", err, &stdout, &stderr)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/poset.go

    	undoNonEqual             // forget that SSA value undo.ID is non-equal to undo.idx (another ID)
    	undoNewNode              // remove new node created for SSA value undo.ID
    	undoNewConstant          // remove the constant node idx from the constants map
    	undoAliasNode            // unalias SSA value undo.ID so that it points back to node index undo.idx
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 17:23:05 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  9. test/codegen/clobberdead.go

    // Copyright 2021 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 codegen
    
    type T [2]*int // contain pointer, not SSA-able (so locals are not registerized)
    
    var p1, p2, p3 T
    
    func F() {
    	// 3735936685 is 0xdeaddead. On ARM64 R27 is REGTMP.
    	// clobber x, y at entry. not clobber z (stack object).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/shortcircuit_test.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/types"
    	"testing"
    )
    
    func TestShortCircuit(t *testing.T) {
    	c := testConfig(t)
    
    	fun := c.Fun("entry",
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Valu("arg1", OpArg, c.config.Types.Int64, 0, nil),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 23:01:51 UTC 2017
    - 1.3K bytes
    - Viewed (0)
Back to top