Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 885 for Inliner (0.82 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top