Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for inlineCall (0.51 sec)

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

        auto call_interface = cast<CallOpInterface>(call_op.getOperation());
        auto called_func =
            dyn_cast_or_null<func::FuncOp>(call_interface.resolveCallable());
    
        if (failed(inlineCall(inliner, call_interface,
                              cast<CallableOpInterface>(called_func.getOperation()),
                              called_func.getCallableRegion(),
    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/tfr/passes/decompose.cc

        Operation* after_inlined_point =
            &*std::next(Block::iterator(call_op.getOperation()));
    
        // Use the inliner to replace all the uses of the call_op by its
        // composition.
        if (failed(inlineCall(inliner,
                              cast<CallOpInterface>(call_op.getOperation()),
                              cast<CallableOpInterface>(callee.getOperation()),
                              callee.getCallableRegion(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

            return LogicalResult::failure();
          }
          auto callee =
              llvm::dyn_cast<func::FuncOp>(symbol_table.lookup(caller.getF()));
          auto& src_region = callee.getRegion();
          auto result = inlineCall(*this, caller, callee, &src_region, true);
          if (failed(result)) {
            func.emitError("Inliner failed");
            return result;
          }
          ops_to_erase.insert(caller);
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/inl.go

    //
    // Eventually, the compiler extracts a per-function inlining tree from
    // the global inlining tree (see pcln.go).
    type InlTree struct {
    	nodes []InlinedCall
    }
    
    // InlinedCall is a node in an InlTree.
    type InlinedCall struct {
    	Parent   int      // index of the parent in the InlTree or < 0 if outermost call
    	Pos      src.XPos // position of the inlined call
    	Func     *LSym    // function that was inlined
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 22:47:15 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. src/runtime/symtabinl.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    import (
    	"internal/abi"
    	_ "unsafe" // for linkname
    )
    
    // inlinedCall is the encoding of entries in the FUNCDATA_InlTree table.
    type inlinedCall struct {
    	funcID    abi.FuncID // type of the called function
    	_         [3]byte
    	nameOff   int32 // offset into pclntab for name of called function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. src/runtime/start_line_test.go

    package runtime_test
    
    import (
    	"fmt"
    	"internal/testenv"
    	"runtime"
    	"testing"
    )
    
    // The tests in this file test the function start line metadata included in
    // _func and inlinedCall. TestStartLine hard-codes the start lines of functions
    // in this file. If code moves, the test will need to be updated.
    //
    // The "start line" of a function should be the line containing the func
    // keyword.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 22:54:22 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    					instruction: x.disasm,
    					function:    fn.name,
    					file:        x.file,
    					line:        x.line,
    					flat:        x.flat,
    					cum:         x.cum,
    					startsBlock: startsBlock,
    					inlineCalls: inst.stack,
    				})
    			}
    
    			listfn.Lines = append(listfn.Lines, makeWebListLine(l, flatSum, cumSum, lineContents, asm, sp.reader, rpt))
    		}
    
    		result.Funcs = append(result.Funcs, listfn)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ir/func.go

    	// too (#60324).
    	if inlIndex := base.Ctxt.InnermostPos(pos).Base().InliningIndex(); inlIndex >= 0 {
    		names := []string{outer}
    		base.Ctxt.InlTree.AllParents(inlIndex, func(call obj.InlinedCall) {
    			names = append(names, call.Name)
    		})
    		outer = strings.Join(names, ".")
    	}
    
    	*gen++
    	return pkg.Lookup(fmt.Sprintf("%s%s%d", outer, suffix, *gen))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/inline/inlheur/scoring.go

    func LargestPositiveScoreAdjustment(fn *ir.Func) int {
    	return adjValues[panicPathAdj] + adjValues[initFuncAdj]
    }
    
    // callSiteTab contains entries for each call in the function
    // currently being processed by InlineCalls; this variable will either
    // be set to 'cstabCache' below (for non-inlinable routines) or to the
    // local 'cstab' entry in the fnInlHeur object for inlinable routines.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/pcln.go

    			// FuncID in this case. See https://go.dev/issue/55954.
    			panic(fmt.Sprintf("inlined function %s missing func info", ldr.SymName(call.Func)))
    		}
    
    		// Construct runtime.inlinedCall value.
    		const size = 16
    		inlTreeSym.SetUint8(arch, int64(i*size+0), uint8(funcID))
    		// Bytes 1-3 are unused.
    		inlTreeSym.SetUint32(arch, int64(i*size+4), uint32(nameOff))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
Back to top