- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 455 for Inliner (0.19 sec)
-
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) -
test/fixedbugs/issue54632.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // The inliner would erroneously scan the caller function's body for // reassignments *before* substituting the inlined function call body, // which could cause false positives in deciding when it's safe to // transitively inline indirect function calls. package main func main() { bug1() bug2(fail) } func bug1() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 24 14:31:08 UTC 2022 - 609 bytes - Viewed (0) -
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) -
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) -
tensorflow/compiler/mlir/lite/experimental/tac/tac_module.h
std::vector<std::string> hardware_backends; // Debug mode. // This will output different alternative subgraphs in mlir format for debug // purpose. bool debug_mode = false; // Whether to enable inliner passes or not. bool enable_inliner = false; // Whether to legalize ops to TFLite ops before exporting. bool legalize_to_tflite_ops = false; }; virtual ~TacModule() = default;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 4.3K bytes - Viewed (0) -
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) -
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) -
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) -
src/cmd/go/testdata/script/build_shorten_pkg.txt
# can be trimmed like subdirectory paths are. env GOEXPERIMENT=loopvar go build -gcflags=inlines/a=-d=loopvar=2 . stderr ^\.[\\/]b[\\/]b\.go:12:6:.*loop.inlined.into.a[\\/]a\.go stderr ^\.[\\/]b[\\/]b\.go:12:9:.*loop.inlined.into.a[\\/]a\.go -- go.mod -- module inlines go 1.21 -- a/a.go -- // Copyright 2023 The Go Authors. All rights reserved.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 14 09:07:58 UTC 2023 - 1.4K bytes - Viewed (0) -
src/runtime/start_line_test.go
} frames := runtime.CallersFrames(pcs[:]) frame, _ := frames.Next() inlined := frame.Func == nil // Func always set to nil for inlined frames if wantInlined != inlined { panic(fmt.Sprintf("caller %s inlined got %v want %v", frame.Function, inlined, wantInlined)) } return runtime.FrameStartLine(&frame)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 20 22:54:22 UTC 2023 - 2.6K bytes - Viewed (0)