Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 370 for Inliner (0.2 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_inline_tpu_island.cc

      if (!nested_module) return;
    
      InlinerInterface inliner(&getContext());
      auto walk_result = getOperation().walk([&](TF::PartitionedCallOp call_op) {
        if (!call_op.getF().getRootReference().getValue().starts_with(
                kNestedModule))
          return WalkResult::advance();
        // This is a call we need to inline!
        LLVM_DEBUG(llvm::dbgs()
                   << "Found call to inline: " << *call_op.getOperation() << "\n");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 08:06:04 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/bridge.h

    namespace mlir {
    namespace TF {
    
    inline constexpr char kStandardPipelineBefore[] = "standard_pipeline_before";
    inline constexpr char kStandardPipelineAfter[] = "standard_pipeline_after";
    
    // Runs all passes involved in transforming or optimizing an MLIR graph without
    // any target specialization. When enable_logging is true, enables
    // tensorflow::BridgeLogger. When enable_inliner is true, enables the inliner
    // pass.
    ABSL_DEPRECATED(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 24 22:46:43 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/cc/pass_pipeline.cc

      AddShapeLegalizationPasses(pm);
      pm.addNestedPass<func::FuncOp>(
          CreateConvertCustomAggregationOpToQuantStatsPass());
      pm.addPass(createQuantizeCompositeFunctionsPass(options));
      // Add an inliner pass to inline quantized StableHLO functions.
      pm.addPass(createInlinerPass());
      if (pipeline_config.unpack_quantized_types()) {
        AddStablehloQuantToIntPasses(pm);
      }
    }
    
    void AddWeightOnlyQuantizationPasses(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. test/inline_sync.go

    func small5() { // ERROR "can inline small5"
    	// the Unlock fast path should be inlined
    	mutex.Unlock() // ERROR "inlining call to sync\.\(\*Mutex\)\.Unlock"
    }
    
    func small6() { // ERROR "can inline small6"
    	// the Lock fast path should be inlined
    	mutex.Lock() // ERROR "inlining call to sync\.\(\*Mutex\)\.Lock"
    }
    
    var once *sync.Once
    
    func small7() { // ERROR "can inline small7"
    	// the Do fast path should be inlined
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 21:01:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/inline/interleaved/interleaved.go

    // returns.
    func fixpoint(fn *ir.Func, match func(ir.Node) bool, edit func(ir.Node) ir.Node) {
    	// Consider the expression "f(g())". We want to be able to replace
    	// "g()" in-place with its inlined representation. But if we first
    	// replace "f(...)" with its inlined representation, then "g()" will
    	// instead appear somewhere within this new AST.
    	//
    	// To mitigate this, each matched node n is wrapped in a ParenExpr,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. test/escape4.go

    	f = func() { // ERROR "func literal escapes to heap" "can inline f1.func2"
    		p = alloc(3) // ERROR "inlining call to alloc" "moved to heap: x"
    	}
    	f()
    }
    
    func f2() {} // ERROR "can inline f2"
    
    // No inline for recover; panic now allowed to inline.
    func f3() { panic(1) } // ERROR "can inline f3" "1 escapes to heap"
    func f4() { recover() }
    
    func f5() *byte { // ERROR "can inline f5"
    	type T struct {
    		x [1]byte
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 19:43:26 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. cmd/xl-storage-meta-inline.go

    import (
    	"errors"
    	"fmt"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    // xlMetaInlineData is serialized data in [string][]byte pairs.
    type xlMetaInlineData []byte
    
    // xlMetaInlineDataVer indicates the version of the inline data structure.
    const xlMetaInlineDataVer = 1
    
    // versionOK returns whether the version is ok.
    func (x xlMetaInlineData) versionOK() bool {
    	if len(x) == 0 {
    		return true
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/session/KtAnalysisSessionProvider.kt

         */
        @KaAnalysisApiInternals
        public abstract fun afterLeavingAnalysis(session: KaSession, useSiteElement: KtElement)
    
        /**
         * [afterLeavingAnalysis] hooks into analysis *after* [analyze]'s action has been executed.
         *
         * The signature of [afterLeavingAnalysis] should be kept stable to avoid breaking binary compatibility, since [analyze] is inlined.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:22:24 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top