Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for nilcheck (0.14 sec)

  1. src/cmd/compile/internal/ssagen/ssa.go

    		}
    		return p
    	}
    	p = s.nilCheck(p)
    	return p
    }
    
    // nilCheck generates nil pointer checking code.
    // Used only for automatically inserted nil checks,
    // not for user code like 'x != nil'.
    // Returns a "definitely not nil" copy of x to ensure proper ordering
    // of the uses of the post-nilcheck pointer.
    func (s *state) nilCheck(ptr *ssa.Value) *ssa.Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (GetCallerPC ...) => (LoweredGetCallerPC ...)
    (IsNonNil ptr) => (NotEqual (CMPconst [0] ptr))
    (IsInBounds idx len) => (LessThan (CMPU idx len))
    (IsSliceInBounds idx len) => (LessEqual (CMPU idx len))
    (NilCheck ...) => (LoweredNilCheck ...)
    
    // Write barrier.
    (WB ...) => (LoweredWB ...)
    
    // Publication barrier as intrinsic
    (PubBarrier ...) => (LoweredPubBarrier ...)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewrite.go

    	}
    	baseAndOffset := func(ptr *Value) (base *Value, offset int64) {
    		base, offset = ptr, 0
    		for base.Op == OpOffPtr {
    			offset += base.AuxInt
    			base = base.Args[0]
    		}
    		if opcodeTable[base.Op].nilCheck {
    			base = base.Args[0]
    		}
    		return base, offset
    	}
    	p1, off1 := baseAndOffset(p1)
    	p2, off2 := baseAndOffset(p2)
    	if isSamePtr(p1, p2) {
    		return !overlap(off1, n1, off2, n2)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredFileAccess.groovy

                "new File(\"${filePath}\").$checkKind()"
            }
        }
    
        static FileCheck fileExists(String filePath) {
            new FileCheck(filePath, "exists")
        }
    
        static FileCheck fileIsFile(String filePath) {
            new FileCheck(filePath, "isFile")
        }
    
        static FileCheck fileIsDirectory(String filePath) {
            new FileCheck(filePath, "isDirectory")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/AbstractUndeclaredBuildInputsIntegrationTest.groovy

            Assume.assumeFalse("cannot use the file APIs in restricted DSL", isRestrictedDsl())
    
            def configurationCache = newConfigurationCacheFixture()
    
            UndeclaredFileAccess.FileCheck check = fileCheck(testDirectory)
            buildLogicApplication(check)
            def accessedFile = new File(check.filePath)
    
            when: "the file system entry used in configuration does not exist"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/xla_broadcast.mlir

    // RUN: tf-opt %s -split-input-file -tf-xla-broadcast | FileCheck %s
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/runlit.cfg.py

    config.test_source_root = config.mlir_test_dir
    
    # test_exec_root: The root path where tests should be run.
    config.test_exec_root = os.environ['RUNFILES_DIR']
    
    if platform.system() == 'Windows':
      tool_patterns = [
          ToolSubst('FileCheck.exe', unresolved='fatal'),
          #  Handle these specially as they are strings searched for during testing.
          ToolSubst('count.exe', unresolved='fatal'),
          ToolSubst('not.exe', unresolved='fatal')
      ]
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 18:52:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/decompose_optionals.mlir

    // RUN: tf-opt %s --tf-decompose-optionals --split-input-file | FileCheck %s
    
    // CHECK-LABEL: @from_value
    func.func @from_value(%arg0: tensor<f32>) {
      // CHECK-NOT: Optional
      %0 = "tf.OptionalFromValue"(%arg0) : (tensor<f32>) -> tensor<!tf_type.variant<tensor<f32>>>
      return
    }
    
    // -----
    
    // CHECK-LABEL: @get_value
    func.func @get_value(%arg0: tensor<!tf_type.variant<tensor<f32>>>) {
      // CHECK-NOT: Optional
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewritePPC64.go

    		return rewriteValuePPC64_OpNeq64F(v)
    	case OpNeq8:
    		return rewriteValuePPC64_OpNeq8(v)
    	case OpNeqB:
    		v.Op = OpPPC64XOR
    		return true
    	case OpNeqPtr:
    		return rewriteValuePPC64_OpNeqPtr(v)
    	case OpNilCheck:
    		v.Op = OpPPC64LoweredNilCheck
    		return true
    	case OpNot:
    		return rewriteValuePPC64_OpNot(v)
    	case OpOffPtr:
    		return rewriteValuePPC64_OpOffPtr(v)
    	case OpOr16:
    		v.Op = OpPPC64OR
    		return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
Back to top