Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for nilcheck (0.19 sec)

  1. src/cmd/compile/internal/ssa/_gen/generic.rules

    	&& isConstZero(x)
    	&& isSameCall(call.Aux, "runtime.newobject")
    	=> mem
    
    (NilCheck ptr:(SelectN [0] call:(StaticLECall _ _)) _)
    	&& isSameCall(call.Aux, "runtime.newobject")
    	&& warnRule(fe.Debug_checknil(), v, "removed nil check")
    	=> ptr
    
    (NilCheck ptr:(OffPtr (SelectN [0] call:(StaticLECall _ _))) _)
    	&& isSameCall(call.Aux, "runtime.newobject")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/AMD64Ops.go

    		//arg0=ptr,arg1=mem, returns void.  Faults if ptr is nil.
    		{name: "LoweredNilCheck", argLength: 2, reg: regInfo{inputs: []regMask{gpsp}}, clobberFlags: true, nilCheck: true, faultOnNilArg0: true},
    		// LoweredWB invokes runtime.gcWriteBarrier{auxint}. arg0=mem, auxint=# of buffer entries needed.
    		// It saves all GP registers if necessary, but may clobber others.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 98K bytes
    - Viewed (1)
  3. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    		mem)
    
    // calls
    (StaticCall  ...) => (CALLstatic  ...)
    (ClosureCall ...) => (CALLclosure ...)
    (InterCall   ...) => (CALLinter   ...)
    (TailCall    ...) => (CALLtail    ...)
    
    // checks
    (NilCheck ...) => (LoweredNilCheck ...)
    (IsNonNil ptr) => (NotEqual (CMPconst [0] ptr))
    (IsInBounds      idx len) => (LessThanU  (CMP idx len))
    (IsSliceInBounds idx len) => (LessEqualU (CMP idx len))
    
    // pseudo-ops
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/extract_outside_compilation.mlir

    // RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-extract-outside-compilation | FILECHECK_OPTS="" FileCheck %s
    
    module attributes {tf.versions = {producer = 888 : i32}, tf.devices = ["/job:worker/replica:0/task:0/device:CPU:0", "/job:worker/replica:0/task:0/device:TPU_SYSTEM:0", "/job:worker/replica:0/task:0/device:TPU:0"]} {
      // Tests that TPU cluster with no outside compilation does not generate parallel_execute.
    
      // CHECK-LABEL: func @no_outside_compilation
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 129.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    // RUN: odml-to-stablehlo-opt --uniform-quantized-stablehlo-to-tfl \
    // RUN:     --split-input-file --verify-diagnostics %s | FileCheck %s
    
    // ============================================================================
    // The following functions tests example quantization patterns outputted from
    // JAX Quantizer. JAX Quantizer should output integer types, which are
    // composed into `UniformQuantized{|PerAxis}Type` via
    // `compose_uniform_quantized_type_pass.cc`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/prepare-composite-functions-tf.mlir

    // RUN: tf-opt -tfl-prepare-composite-funcs-tf %s -split-input-file -verify-diagnostics | FILECHECK_OPTS="" FileCheck %s
    
    module{
    func.func @embedding(%arg0: tensor<*xf32>, %arg1: tensor<*xi32>) -> tensor<*xf32> attributes  {tf._implements = "embedding_matmul", tf._reference = "mlir"} {
      %0 = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
      %1 = "tf.ExpandDims"(%arg1, %0) : (tensor<*xi32>, tensor<i32>) -> tensor<*xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 122.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

    // RUN: tf-opt %s -pass-pipeline='builtin.module(func.func(canonicalize{test-convergence}))' | FileCheck %s
    
    // CHECK-LABEL: func @tfAssertTrue
    func.func @tfAssertTrue(%arg0: tensor<1x1x6x2xf32>) {
      %t = arith.constant dense<true> : tensor<i1>
      // CHECK-NOT: tf.Assert
      "tf.Assert"(%t, %arg0) {summarize = 3} : (tensor<i1>, tensor<1x1x6x2xf32>) -> ()
      func.return
    }
    
    // CHECK-LABEL: func @tfAssertFalse
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewriteWasm.go

    		v.Op = OpWasmF64Ne
    		return true
    	case OpNeq8:
    		return rewriteValueWasm_OpNeq8(v)
    	case OpNeqB:
    		v.Op = OpWasmI64Ne
    		return true
    	case OpNeqPtr:
    		v.Op = OpWasmI64Ne
    		return true
    	case OpNilCheck:
    		v.Op = OpWasmLoweredNilCheck
    		return true
    	case OpNot:
    		v.Op = OpWasmI64Eqz
    		return true
    	case OpOffPtr:
    		v.Op = OpWasmI64AddConst
    		return true
    	case OpOr16:
    		v.Op = OpWasmI64Or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 108.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir

    // RUN: tf-opt -split-input-file -tf-test-side-effect-analysis -verify-diagnostics %s | FileCheck %s
    
    // Tests that the pass tracks control dependencies for reads/writes on the same
    // resource.
    
    // CHECK-LABEL: func @non_aliasing_reads_writes
    func.func @non_aliasing_reads_writes(
    // expected-remark@above {{ID: 13}}
      %arg0: tensor<*x!tf_type.resource<tensor<32xf32>>>,
      %arg1: tensor<*x!tf_type.resource<tensor<32xf32>>>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 04:39:18 UTC 2023
    - 129.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

    // RUN: tf-opt %s -tfl-legalize-tf --cse -split-input-file| FileCheck %s --dump-input=fail
    
    func.func @add(%arg0: tensor<1xf32>, %arg1: tensor<1xf32>) -> tensor<1xf32> {
      %0 = "tf.Add"(%arg0, %arg1) : (tensor<1xf32>, tensor<1xf32>) -> tensor<1xf32>
      func.return %0: tensor<1xf32>
    
    // CHECK-LABEL: add
    // CHECK:  tfl.add %arg0, %arg1 {fused_activation_function = "NONE"} : tensor<1xf32>
    // CHECK:  return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
Back to top