Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for LOCATION (0.42 sec)

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

    	}
    	return fmt.Sprintf("%v+%d[%v]", s.N, s.Off, s.Type)
    }
    
    type LocPair [2]Location
    
    func (t LocPair) String() string {
    	n0, n1 := "nil", "nil"
    	if t[0] != nil {
    		n0 = t[0].String()
    	}
    	if t[1] != nil {
    		n1 = t[1].String()
    	}
    	return fmt.Sprintf("<%s,%s>", n0, n1)
    }
    
    type LocResults []Location
    
    func (t LocResults) String() string {
    	s := ""
    	a := "<"
    	for _, r := range t {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/pgo_inl_test.go

    func TestPGOIntendedInlining(t *testing.T) {
    	wd, err := os.Getwd()
    	if err != nil {
    		t.Fatalf("error getting wd: %v", err)
    	}
    	srcDir := filepath.Join(wd, "testdata/pgo/inline")
    
    	// Copy the module to a scratch location so we can add a go.mod.
    	dir := t.TempDir()
    
    	for _, file := range []string{"inline_hot.go", "inline_hot_test.go", profFile} {
    		if err := copyFile(filepath.Join(dir, file), filepath.Join(srcDir, file)); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/regalloc.go

    // the merge happens in a stack location (a "stack" phi).
    //
    // A register phi must have the phi and all of its inputs allocated to the
    // same register. Register phis are spilled similarly to regular ops.
    //
    // A stack phi must have the phi and all of its inputs allocated to the same
    // stack location. Stack phis start out life already spilled - each phi
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  4. tests/serializer_test.go

    		t.Fatalf("failed to query data, got error %v", err)
    	}
    
    	AssertEqual(t, result.Roles, data.Roles)
    	AssertEqual(t, result.JobInfo.Location, data.JobInfo.Location)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Apr 21 14:09:38 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/debug.go

    	e.startValue = 0
    	for i := range e.pieces {
    		e.pieces[i] = VarLoc{}
    	}
    }
    
    // canMerge reports whether a new location description is a superset
    // of the (non-empty) pending location description, if so, the two
    // can be merged (i.e., pending is still a valid and useful location
    // description).
    func canMerge(pending, new VarLoc) bool {
    	if pending.absent() && new.absent() {
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/stackalloc.go

    		for _, b := range s.f.Blocks {
    			fmt.Printf("stacklive %s %v\n", b, s.live[b.ID])
    		}
    	}
    }
    
    func (f *Func) getHome(vid ID) Location {
    	if int(vid) >= len(f.RegAlloc) {
    		return nil
    	}
    	return f.RegAlloc[vid]
    }
    
    func (f *Func) setHome(v *Value, loc Location) {
    	for v.ID >= ID(len(f.RegAlloc)) {
    		f.RegAlloc = append(f.RegAlloc, nil)
    	}
    	f.RegAlloc[v.ID] = loc
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/tighten.go

    					continue
    				}
    				if target[c.ID] == nil {
    					target[c.ID] = b
    				} else {
    					target[c.ID] = lca.find(target[c.ID], b)
    				}
    			}
    		}
    
    		// If the target location is inside a loop,
    		// move the target location up to just before the loop head.
    		for _, b := range f.Blocks {
    			origloop := loops.b2l[b.ID]
    			for _, v := range b.Values {
    				t := target[v.ID]
    				if t == nil {
    					continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 01:01:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/regalloc_test.go

    		),
    		Bloc("exit1",
    			// store after call, y must be loaded from a spill location
    			Valu("mem2", OpAMD64CALLstatic, types.TypeMem, 0, AuxCallLSym("_"), "mem"),
    			Valu("mem3", OpAMD64MOVQstore, types.TypeMem, 0, nil, "p", "y", "mem2"),
    			Exit("mem3"),
    		),
    		Bloc("exit2",
    			// store after call, y must be loaded from a spill location
    			Valu("mem4", OpAMD64CALLstatic, types.TypeMem, 0, AuxCallLSym("_"), "mem"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  9. src/cmd/cover/html.go

    			if (!visible)
    				return;
    			files.value = part;
    			visible.style.display = 'block';
    			location.hash = part;
    		}
    		function onChange() {
    			select(files.value);
    			window.scrollTo(0, 0);
    		}
    		if (location.hash != "") {
    			select(location.hash.substr(1));
    		}
    		if (!visible) {
    			select("file0");
    		}
    	})();
    	</script>
    </html>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 14:33:36 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testgodefs/testdata/bitfields.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    package main
    
    // This file tests that we don't generate an incorrect field location
    // for a bitfield that appears aligned.
    
    /*
    struct bitfields {
        unsigned int B1     :  5;
        unsigned int B2     :  1;
        unsigned int B3     :  1;
        unsigned int B4     :  1;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 838 bytes
    - Viewed (0)
Back to top