Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 440 for rewrites (0.39 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

      DenseIntElementsAttr val = DenseIntElementsAttr::get(const_type, 1);
      auto const_op = builder.create<TF::ConstOp>(loc, val);
      auto const_island = CreateIsland(const_op, {}, builder);
      return const_island;
    }
    
    // Rewrites the while op with extra chaining operands and results. Uses a
    // dummy constant of requested type as argument to all the new chaining
    // operands.
    TF::WhileOp RewriteWhileOp(TF::WhileOp while_op, int num_resource_inputs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/ppc64/asm_test.go

    	// A few interesting test cases for long conditional branch fixups
    	tests := []struct {
    		jmpinsn     string
    		backpattern []string
    		fwdpattern  []string
    	}{
    		// Test the interesting cases of conditional branch rewrites for too-far targets. Simple conditional
    		// branches can be made to reach with one JMP insertion, compound conditionals require two.
    		//
    		// beq <-> bne conversion (insert one jump)
    		{"BEQ",
    			[]string{``,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 22:14:57 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/deadcode.go

    			}
    			d.markableMethods = append(d.markableMethods, methods...)
    		}
    	}
    }
    
    // mapinitcleanup walks all pkg init functions and looks for weak relocations
    // to mapinit symbols that are no longer reachable. It rewrites
    // the relocs to target a new no-op routine in the runtime.
    func (d *deadcodePass) mapinitcleanup() {
    	for _, idx := range d.pkginits {
    		relocs := d.ldr.Relocs(idx)
    		var su *loader.SymbolBuilder
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/internal/obj/s390x/objz.go

    	p.From.Class = 0
    	p.To.Class = 0
    
    	c := ctxtz{ctxt: ctxt, newprog: newprog}
    
    	// Rewrite BR/BL to symbol as TYPE_BRANCH.
    	switch p.As {
    	case ABR, ABL, obj.ARET, obj.ADUFFZERO, obj.ADUFFCOPY:
    		if p.To.Sym != nil {
    			p.To.Type = obj.TYPE_BRANCH
    		}
    	}
    
    	// Rewrite float constants to values stored in memory unless they are +0.
    	switch p.As {
    	case AFMOVS:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  6. src/runtime/sys_linux_386.s

    	 * for us.  When we do that, the private storage
    	 * we get is not at 0(GS), but -4(GS).
    	 * To insulate the rest of the tool chain from this
    	 * ugliness, 8l rewrites 0(TLS) into -4(GS) for us.
    	 * To accommodate that rewrite, we translate
    	 * the address here and bump the limit to 0xffffffff (no limit)
    	 * so that -4(GS) maps to 0(address).
    	 * Also, the final 0(GS) (current 4(DX)) has to point
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/cmd/bisect/main.go

    // to use with specific targets.
    //
    //	-compile=<rewrite>
    //
    // This flag is equivalent to adding an environment variable
    // “GOCOMPILEDEBUG=<rewrite>hash=PATTERN”,
    // which, as discussed in more detail in the example below,
    // allows bisect to identify the specific source locations where the
    // compiler rewrite causes the target to fail.
    //
    //	-godebug=<name>=<value>
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 18:11:19 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  8. src/net/textproto/reader.go

    // with a dot are escaped with an additional dot to avoid
    // looking like the end of the sequence.
    //
    // The decoded form returned by the Reader's Read method
    // rewrites the "\r\n" line endings into the simpler "\n",
    // removes leading dot escapes if present, and stops with error [io.EOF]
    // after consuming (and discarding) the end-of-sequence line.
    func (r *Reader) DotReader() io.Reader {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/assign.go

    	y := mk.Len
    	if !ir.IsConst(y, constant.Int) && y.Type().Size() > types.Types[types.TUINT].Size() {
    		return false
    	}
    
    	return true
    }
    
    // extendSlice rewrites append(l1, make([]T, l2)...) to
    //
    //	init {
    //	  if l2 >= 0 { // Empty if block here for more meaningful node.SetLikely(true)
    //	  } else {
    //	    panicmakeslicelen()
    //	  }
    //	  s := l1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  10. test/prove.go

    // So, instead, opt rewrites the division with a less-than-optimal replacement.
    // Prove, which can see that n is nonnegative, cannot see the division because
    // opt, an earlier pass, has already replaced it.
    // The fix for this issue allows prove to zero a right shift that was added as
    // part of the less-than-optimal reqwrite. That change by prove then allows
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 00:02:36 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top