Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for rewrites (0.17 sec)

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

    const (
    	leaveDeadValues  deadValueChoice = false
    	removeDeadValues                 = true
    )
    
    // deadcode indicates whether rewrite should try to remove any values that become dead.
    func applyRewrite(f *Func, rb blockRewriter, rv valueRewriter, deadcode deadValueChoice) {
    	// repeat rewrites until we find no more rewrites
    	pendingLines := f.cachedLineStarts // Holds statement boundaries that need to be moved to a new value/block
    	pendingLines.clear()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

                              ArrayRef<int64_t> shape, int64_t val) {
      RankedTensorType type =
          tensorflow::GetTypeFromTFTensorShape(shape, rewriter->getIntegerType(64));
      DenseElementsAttr attr =
          DenseElementsAttr::get(type, rewriter->getI64IntegerAttr(val));
      return rewriter->create<arith::ConstantOp>(loc, type, attr);
    }
    
    Value CreateI32SplatTensor(Location loc, PatternRewriter *rewriter,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    				needsUnsafe = true
    			}
    		}
    	}
    	return needsUnsafe
    }
    
    // rewriteCall rewrites one call to add pointer checks.
    // If any pointer checks are required, we rewrite the call into a
    // function literal that calls _cgoCheckPointer for each pointer
    // argument and then calls the original function.
    // This returns the rewritten call and whether the package needs to
    // import unsafe as _cgo_unsafe.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/ppc64.s

    	//TODO: this compiles to add r5,r6,r0. It should be addi r5,r6,0.
    	//      this is OK since r0 == $0, but the latter is preferred.
    	ADD $0, R6, R5             	// 7ca60214
    
            //TODO: the assembler rewrites these into ADDIS $19, R5, Rx and ADD $-10617, Rx, Rx, but the test only sees the first ADDIS
    	ADD $1234567, R5                // 3ca50013 or 0600001238a5d687
    	ADD $1234567, R5, R6            // 3cc50013 or 0600001238c5d687
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 21:53:50 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/buildlist.go

    		// are present in the module graph reachable from rootPaths, they must not
    		// be at a lower version. That could cause a missing sum error or a new
    		// import ambiguity.
    		//
    		// For example, suppose a developer rewrites imports from example.com/m to
    		// example.com/m/v2, then runs 'go mod tidy'. Tidy may delete the
    		// requirement on example.com/m if there is no other transitive requirement
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  6. src/cmd/go/internal/test/test.go

    	    Sets -cover.
    
    	-cpuprofile cpu.out
    	    Write a CPU profile to the specified file before exiting.
    	    Writes test binary as -c would.
    
    	-memprofile mem.out
    	    Write an allocation profile to the file after all tests have passed.
    	    Writes test binary as -c would.
    
    	-memprofilerate n
    	    Enable more precise (and expensive) memory allocation profiles by
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

            rewriter.getIntegerAttr(attribute_type, revised_begin_mask),
            rewriter.getIntegerAttr(attribute_type, revised_end_mask),
            /*ellipsis_mask=*/rewriter.getI64IntegerAttr(0),
            rewriter.getIntegerAttr(attribute_type, revised_new_axis_mask),
            rewriter.getIntegerAttr(attribute_type, revised_shrink_axis_mask));
    
        return success();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/BUILD

        ],
    )
    
    gentbl_cc_library(
        name = "tensorflow_lite_prepare_tf_inc_gen",
        compatible_with = get_compatible_with_portable(),
        tbl_outs = [
            (
                ["-gen-rewriters"],
                "transforms/generated_prepare_tf.inc",
            ),
        ],
        tblgen = "@llvm-project//mlir:mlir-tblgen",
        td_file = "transforms/prepare_patterns.td",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/gateway/conversion.go

    				Rewrite: *filter.Path.ReplaceFullPath,
    			}
    		}
    	}
    	if filter.Hostname != nil {
    		rewrite.Authority = string(*filter.Hostname)
    	}
    	// Nothing done
    	if rewrite.Uri == "" && rewrite.UriRegexRewrite == nil && rewrite.Authority == "" {
    		return nil
    	}
    	return rewrite
    }
    
    func createRedirectFilter(filter *k8s.HTTPRequestRedirectFilter) *istio.HTTPRedirect {
    	if filter == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/route/route_test.go

    		Http: []*networking.HTTPRoute{
    			{
    				Match: []*networking.HTTPMatchRequest{
    					{
    						Name: "full-path-rewrite",
    					},
    				},
    				Rewrite: &networking.HTTPRewrite{
    					UriRegexRewrite: &networking.RegexRewrite{
    						Match:   "/.*",
    						Rewrite: "/replace-full",
    					},
    				},
    				Route: []*networking.HTTPRouteDestination{
    					{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
Back to top