Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 326 for racewrite (1.51 sec)

  1. src/cmd/internal/obj/x86/obj6.go

    			p.To.Scale = 2
    		}
    	}
    
    	// Rewrite 0 to $0 in 3rd argument to CMPPS etc.
    	// That's what the tables expect.
    	switch p.As {
    	case ACMPPD, ACMPPS, ACMPSD, ACMPSS:
    		if p.To.Type == obj.TYPE_MEM && p.To.Name == obj.NAME_NONE && p.To.Reg == REG_NONE && p.To.Index == REG_NONE && p.To.Sym == nil {
    			p.To.Type = obj.TYPE_CONST
    		}
    	}
    
    	// Rewrite CALL/JMP/RET to symbol as TYPE_BRANCH.
    	switch p.As {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  2. src/runtime/tracestack.go

    	if root := (*traceMapNode)(t.tab.root.Load()); root != nil {
    		w = dumpStacksRec(root, w, stackBuf)
    	}
    	w.flush().end()
    	t.tab.reset()
    }
    
    func dumpStacksRec(node *traceMapNode, w traceWriter, stackBuf []uintptr) traceWriter {
    	stack := unsafe.Slice((*uintptr)(unsafe.Pointer(&node.data[0])), uintptr(len(node.data))/unsafe.Sizeof(uintptr(0)))
    
    	// N.B. This might allocate, but that's OK because we're not writing to the M's buffer,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc

      // Book keeping new filter shape for backprop filter rewrite.
      // Filter shape is defined in HandleConv2DFilter, thus it is RankedTensorType.
      filter_shape =
          mlir::cast<RankedTensorType>(conv2d.getFilter().getType()).getShape();
      SmallVector<int32_t, 4> new_filter_shape(filter_shape.begin(),
                                               filter_shape.end());
    
      // Rewrite Conv2DBackPropFilter that is the user of first convolution's input.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/passes.h

        bool legalize_chlo = true,
        std::optional<StringRef> tf2xla_fallback_device_type = std::nullopt,
        bool prefer_tf2xla = false);
    
    /// Adds the TF to TF lowerings and TF to XLA rewrite patterns to the pattern
    /// list.
    void PopulateLegalizeTfPatterns(MLIRContext* context,
                                    RewritePatternSet* patterns);
    
    // Populates TF to MHLO legalization for some of the quantization ops.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. pilot/pkg/model/virtualservice.go

    	}
    	delegate.Match = merged
    
    	if delegate.Name == "" {
    		delegate.Name = root.Name
    	} else if root.Name != "" {
    		delegate.Name = root.Name + "-" + delegate.Name
    	}
    	if delegate.Rewrite == nil {
    		delegate.Rewrite = root.Rewrite
    	}
    	if delegate.DirectResponse == nil {
    		delegate.DirectResponse = root.DirectResponse
    	}
    	if delegate.Timeout == nil {
    		delegate.Timeout = root.Timeout
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 11:17:03 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/copyelim.go

    func phielim(f *Func) {
    	for {
    		change := false
    		for _, b := range f.Blocks {
    			for _, v := range b.Values {
    				// This is an early place in SSA where all values are examined.
    				// Rewrite all 0-sized Go values to remove accessors, dereferences, loads, etc.
    				if t := v.Type; (t.IsStruct() || t.IsArray()) && t.Size() == 0 {
    					if t.IsStruct() {
    						v.reset(OpStructMake0)
    					} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/extract_outside_compilation_pass.h

    #include "absl/types/optional.h"
    #include "tensorflow/compiler/jit/encapsulate_util.h"
    #include "xla/status_macros.h"
    #include "tensorflow/core/graph/graph.h"
    
    namespace tensorflow {
    
    // Rewrite function for outside compilation subgraphs. It will perform the
    // following steps:
    //
    // 1. Add a XLA computation key placeholder node (it will be used as input for
    //    XlaRecvAtHost and XlaSendFromHost);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc

    #include "mlir/IR/PatternMatch.h"  // from @llvm-project
    #include "mlir/IR/SymbolTable.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    #include "mlir/Pass/PassRegistry.h"  // from @llvm-project
    #include "mlir/Rewrite/FrozenRewritePatternSet.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "mlir/Support/TypeID.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

          AddHostComputeKeyPlaceholder(xla_cluster_name, &host_graph));
    
      // Step 2: rewrite cond function.
      TF_RETURN_IF_ERROR(RewriteHostWhileLoopCond(
          cond_host_func_name, while_node_name, host_transfer_key,
          xla_cluster_attr_name, xla_cluster_name, outside_compilation_attr_name,
          outside_compilation_name, fld));
    
      // Step 3: rewrite body function.
      TF_RETURN_IF_ERROR(RewriteHostWhileLoopBody(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/rsc.io/markdown/link.go

    	var out []Inline // allocated lazily when we first change list
    	for i, x := range list {
    		switch x := x.(type) {
    		case *Plain:
    			if rewrite := p.autoLinkPlain(x.Text); rewrite != nil {
    				if out == nil {
    					out = append(out, list[:i]...)
    				}
    				out = append(out, rewrite...)
    				continue
    			}
    		case *Strong:
    			x.Inner = p.autoLinkText(x.Inner)
    		case *Del:
    			x.Inner = p.autoLinkText(x.Inner)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top