Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,029 for Inliner (0.27 sec)

  1. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      // that work on TF dialect and before inliner so that the function calls in
      // body and cond are inlined for optimization.
      pass_manager->addPass(mlir::TFL::CreateLegalizeTFWhilePass());
    
      // Add function inlining pass. Both TF and TFLite dialects are opted into
      // function inliner interface.
      pass_manager->addPass(mlir::createInlinerPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. test/closure3.dir/main.go

    		}
    	}
    
    	{
    		a := 2
    		if r := func(x int) int { // ERROR "can inline main.func28"
    			b := 3
    			return func(y int) int { // ERROR "can inline main.func28.1" "can inline main.main.func28.func35"
    				c := 5
    				func(z int) { // ERROR "can inline main.func28.1.1" "can inline main.func28.main.func28.1.2" "can inline main.main.func28.func35.1" "can inline main.main.func28.main.main.func28.func35.func37"
    					a = a * x
    					b = b * y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:29 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ir/func.go

    	// from another package is imported and inlined.
    	Dcl     []*Name
    	HaveDcl bool // whether we've loaded Dcl
    
    	// Function properties, encoded as a string (these are used for
    	// making inlining decisions). See cmd/compile/internal/inline/inlheur.
    	Properties string
    
    	// CanDelayResults reports whether it's safe for the inliner to delay
    	// initializing the result parameters until immediately before the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

        const LayoutOptimizationPipelineOptions& options);
    
    struct StandardPipelineOptions
        : public PassPipelineOptions<StandardPipelineOptions> {
      Option<bool> enable_inliner{*this, "enable-inliner",
                                  llvm::cl::desc("Enable inliner."),
                                  llvm::cl::init(false)};
      Option<bool> form_clusters{*this, "form-clusters",
                                 llvm::cl::desc("Enable Cluster Formation pass."),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc

        //     post inlining, the function will be dead and eliminated from the IR.
        //     So there won't be any code duplication.
        // plus the function caller op can be replaced by inlined ops.
        return !wouldBeCloned || TensorFlowDialect::CanDuplicate(op);
      }
    
      //===--------------------------------------------------------------------===//
      // Transformation Hooks
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. src/net/udpsock.go

    	// This function is designed to allow the caller to control the lifetime
    	// of the returned *UDPAddr and thereby prevent an allocation.
    	// See https://blog.filippo.io/efficient-go-apis-with-the-inliner/.
    	// The real work is done by readFromUDP, below.
    	return c.readFromUDP(b, &UDPAddr{})
    }
    
    // readFromUDP implements ReadFromUDP.
    func (c *UDPConn) readFromUDP(b []byte, addr *UDPAddr) (int, *UDPAddr, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 16:58:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top