- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 483 for Inlined (0.13 sec)
-
src/cmd/compile/internal/dwarfgen/dwinl.go
// is part of the top-level function (ii == 0) or if it was // produced as a result of an inline (ii != 0). // // If a variable was not produced by an inline and its containing // function was not inlined, then we just assign an ordering of // based on variable name. // // If a variable was not produced by an inline and its containing // function was inlined, then we need to assign a child index
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:45:07 UTC 2024 - 12.8K bytes - Viewed (0) -
src/cmd/compile/internal/test/pgo_inl_test.go
} return out } // testPGOIntendedInlining tests that specific functions are inlined. func testPGOIntendedInlining(t *testing.T, dir string, profFile string) { testenv.MustHaveGoRun(t) t.Parallel() const pkg = "example.com/pgo/inline" want := []string{ "(*BS).NS", } // The functions which are not expected to be inlined are as follows. wantNot := []string{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 11.1K bytes - Viewed (0) -
src/runtime/traceback_test.go
}, // function, inlined { func(buf []byte) int { return testTracebackGenericFnInlined[int](buf) }, "testTracebackGenericFnInlined[...](", }, // method, not inlined { x.M, "testTracebackGenericTyp[...].M(", }, // method, inlined { func(buf []byte) int { return x.Inlined(buf) }, "testTracebackGenericTyp[...].Inlined(", }, } var buf [1000]byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 22.9K bytes - Viewed (0) -
src/cmd/compile/internal/test/inl_test.go
t.Fatal(err) } for fullName, reason := range notInlinedReason { t.Errorf("%s was not inlined: %s", fullName, reason) } } func collectInlCands(msgs string) map[string]struct{} { rv := make(map[string]struct{}) lines := strings.Split(msgs, "\n") re := regexp.MustCompile(`^\S+\s+can\s+inline\s+(\S+)`) for _, line := range lines { m := re.FindStringSubmatch(line) if m != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 10.7K bytes - Viewed (0) -
src/runtime/pprof/proto.go
// Here's an example of how Go 1.17 writes out inlined functions, compiled for // linux/amd64. The disassembly of main.main shows two levels of inlining: main // calls b, b calls a, a does some work. // // inline.go:9 0x4553ec 90 NOPL // func main() { b(v) } // inline.go:6 0x4553ed 90 NOPL // func b(v *int) { a(v) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 13 20:40:52 UTC 2023 - 25.7K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/scoring.go
st = "PROMOTED" expinl = true case hairyval <= bud && score > bud: // Demoted: we would have inlined it before, but after // score adjustment we decided not to inline. st = "DEMOTED" } inlined := cs.aux&csAuxInlined != 0 indprom := false if cs.parent != nil { indprom = indirectlyDueToPromotion(cs.parent) } if inlined && indprom { st += "|INDPROM" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:42:52 UTC 2024 - 24.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.td
def IsEinsumOpSupported : Constraint< CPred<"IsEinsumOpSupported($0, $1, $2)">, "Check if the given einsum op could be converted into a XlaDotV2 op.">; // Converts inlined Conv2D pattern to TF XlaConvV2 op. This pattern doesn't // support non-constant weights. def ConvertTFConv2DToXLAConvOp : Pat< (TF_Conv2DOp:$conv (TF_SubOp (TF_CastOp $input, $truncate), $input_zp),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Dec 10 05:52:02 UTC 2023 - 21.1K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf_test.go
name, ok := originDIE.Val(dwarf.AttrName).(string) if !ok { t.Fatalf("no name attr for inlined subroutine at offset %v", child.Offset) } if name != "main.inlined" { t.Fatalf("expected inlined routine %s got %s", "main.cand", name) } // Verify that the call_file attribute for the inlined // instance is ok. In this case it should match the file
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 01:38:11 UTC 2024 - 48.6K bytes - Viewed (0) -
src/cmd/internal/dwarf/dwarf.go
return nil } // Emit DWARF attributes and child DIEs for an inlined subroutine. The // first attribute of an inlined subroutine DIE is a reference back to // its corresponding 'abstract' DIE (containing location-independent // attributes such as name, type, etc). Inlined subroutine DIEs can // have other inlined subroutine DIEs as children. func putInlinedFunc(ctxt Context, s *FnState, callIdx int) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 15:23:18 UTC 2024 - 43K bytes - Viewed (0) -
test/inline.go
return x + func(y int) int { // ERROR "can inline r.func2.1" "can inline r.r.func2.func3" return 2*y + x*z }(x) // ERROR "inlining call to r.func2.1" } return foo(42) + bar(42) // ERROR "inlining call to r.func1" "inlining call to r.func2" "inlining call to r.r.func2.func3" } func s0(x int) int { // ERROR "can inline s0" foo := func() { // ERROR "can inline s0.func1" "func literal does not escape" x = x + 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 11.7K bytes - Viewed (0)