Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,277 for Inliner (0.4 sec)

  1. 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)
  2. 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)
  3. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

          mlir::mhlo::CreateTFXLADeviceSpecificTransformsPass(device_type));
    
      // Note that the region-based control-flow produced here still contains
      // function call ops which get inlined by the subsequent inliner pass.
      pm.addPass(mlir::TF::CreateTFFunctionalControlFlowToRegions());
      pm.addPass(mlir::createInlinerPass());
      pm.addNestedPass<mlir::func::FuncOp>(
          mlir::TF::CreateDropWhileShapeInvariantPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  4. src/cmd/internal/dwarf/dwarf.go

    type InlCall struct {
    	// index into ctx.InlTree describing the call inlined here
    	InlIndex int
    
    	// Position of the inlined call site.
    	CallPos src.Pos
    
    	// Dwarf abstract subroutine symbol (really *obj.LSym).
    	AbsFunSym Sym
    
    	// Indices of child inlines within Calls array above.
    	Children []int
    
    	// entries in this list are PAUTO's created by the inliner to
    	// capture the promoted formals and locals of the inlined callee.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/link.go

    	WasmI64
    	WasmF32
    	WasmF64
    	WasmPtr
    )
    
    type InlMark struct {
    	// When unwinding from an instruction in an inlined body, mark
    	// where we should unwind to.
    	// id records the global inlining id of the inlined body.
    	// p records the location of an instruction in the parent (inliner) frame.
    	p  *Prog
    	id int32
    }
    
    // Mark p as the instruction to set as the pc when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  6. src/reflect/value.go

    	// does not allow it to escape.
    	// See https://blog.filippo.io/efficient-go-apis-with-the-inliner/
    	if v.kind() != Map {
    		v.panicNotMap()
    	}
    	return &MapIter{m: v}
    }
    
    // Force slow panicking path not inlined, so it won't add to the
    // inlining budget of the caller.
    // TODO: undo when the inliner is no longer bottom-up only.
    //
    //go:noinline
    func (f flag) panicNotMap() {
    	f.mustBe(Map)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/compiler/mlir/tfrt/tests/mlrt/inline.mlir

    // RUN: tf-tfrt-opt -split-input-file -pass-pipeline='builtin.module(tf-to-mlrt, inline)' %s | FileCheck %s -dump-input=fail
    
    // Test generated tf_mlrt while body and predicate is inlined.
    
    func.func @then(%x: tensor<i1>, %y: tensor<i1>, %z: tensor<i32>) -> tensor<i1> {
      return %x: tensor<i1>
    }
    
    func.func @else(%x: tensor<i1>, %y: tensor<i1>, %z: tensor<i32>) -> tensor<i1> {
      return %y: tensor<i1>
    }
    
    // CHECK-LABEL: func @while_cond_if
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 01:01:31 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/rsc.io/markdown/inline.go

    		p.emitted = i
    	}
    }
    
    func (p *parseState) skip(i int) {
    	p.emitted = i
    }
    
    func (p *parseState) inline(s string) []Inline {
    	s = trimSpaceTab(s)
    	// Scan text looking for inlines.
    	// Leaf inlines are converted immediately.
    	// Non-leaf inlines have potential starts pushed on a stack while we await completion.
    	// Links take priority over other emphasis, so the emphasis must be delayed.
    	p.s = s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

          // and internal nodes redundant, and so we do not import them. The TF
          // inliner however assumes no such dependency between function args and
          // internal nodes exists, unless explicitly stated. Since we drop control
          // dependencies here, it leads to loss of information. If the function is
          // inlined later, the inliner would not know of these explicit control
          // dependencies present in the original graph.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top