Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for AddArgs (0.11 sec)

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

    func (v *Value) AddArg6(w1, w2, w3, w4, w5, w6 *Value) {
    	v.Args = append(v.Args, w1, w2, w3, w4, w5, w6)
    	w1.Uses++
    	w2.Uses++
    	w3.Uses++
    	w4.Uses++
    	w5.Uses++
    	w6.Uses++
    }
    
    func (v *Value) AddArgs(a ...*Value) {
    	if v.Args == nil {
    		v.resetArgs() // use argstorage
    	}
    	v.Args = append(v.Args, a...)
    	for _, x := range a {
    		x.Uses++
    	}
    }
    func (v *Value) SetArg(i int, w *Value) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/sccp.go

    	// change its value immediately after visiting Phi, because some of its input
    	// edges may still not be visited at this moment.
    	constValue := f.newValue(val.Op, val.Type, f.Entry, val.Pos)
    	constValue.AddArgs(args...)
    	matched := rewriteValuegeneric(constValue)
    	if matched {
    		if isConst(constValue) {
    			return lattice{constant, constValue}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewrite.go

    		OpPPC64XOR:      OpPPC64XORCC,
    	}
    	b := op.Block
    	opCC := b.NewValue0I(op.Pos, ccOpMap[op.Op], types.NewTuple(op.Type, types.TypeFlags), op.AuxInt)
    	opCC.AddArgs(op.Args...)
    	op.reset(OpSelect0)
    	op.AddArgs(opCC)
    	return op
    }
    
    // Try converting a RLDICL to ANDCC. If successful, return the mask otherwise 0.
    func convertPPC64RldiclAndccconst(sauxint int64) int64 {
    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. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

      // original graph that has an output edge in the subgraph, and whose second
      // element is the arg node in the subgraph that it sends to. The vector will
      // be filled in below in AddArgs.
      std::vector<std::pair<const Node*, Node*>> src_arg_pairs;
    
      TF_RETURN_IF_ERROR(CopySubgraphNodes(&node_images));
      TF_RETURN_IF_ERROR(CopySubgraphEdges(node_images, &src_arg_pairs));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssagen/ssa.go

    	if s.instrumentEnterExit {
    		s.rtcall(ir.Syms.Racefuncexit, true, nil)
    	}
    
    	results[len(results)-1] = s.mem()
    	m := s.newValue0(ssa.OpMakeResult, s.f.OwnAux.LateExpansionResultType())
    	m.AddArgs(results...)
    
    	b := s.endBlock()
    	b.Kind = ssa.BlockRet
    	b.SetControl(m)
    	if s.hasdefer && s.hasOpenDefers {
    		s.lastDeferFinalBlock = b
    	}
    	return b
    }
    
    type opAndType struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top