Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for newResult (0.14 sec)

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

    		// Break aggregate args passed to call into smaller pieces.
    		x.rewriteCallArgs(v, argStart)
    		v.Op = newOp
    		rts := abi.RegisterTypes(v.Aux.(*AuxCall).abiInfo.OutParams())
    		v.Type = types.NewResults(append(rts, types.TypeMem))
    	}
    
    	// Rewrite calls
    	for _, v := range calls {
    		switch v.Op {
    		case OpStaticLECall:
    			rewriteCall(v, OpStaticCall, 0)
    		case OpTailLECall:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/op.go

    func (a *AuxCall) LateExpansionResultType() *types.Type {
    	var tys []*types.Type
    	for i := int64(0); i < a.NResults(); i++ {
    		tys = append(tys, a.TypeOfResult(i))
    	}
    	tys = append(tys, types.TypeMem)
    	return types.NewResults(tys)
    }
    
    // NArgs returns the number of arguments (including receiver, if there is one).
    func (a *AuxCall) NArgs() int64 {
    	return int64(len(a.abiInfo.InParams()))
    }
    
    // String returns "AuxCall{<fn>}"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      for (Operation& op : func.getOps()) {
        if (!IsTPUOp(&op)) continue;
        op.setAttr(TF::kReplicationInfoAttr, new_group);
      }
      TF::TPUCompilationResultOp new_result = compilation_op.clone();
      new_result->setAttr(kTpuCompilationStatus, new_group);
      builder.insert(new_result);
    }
    
    template <typename OpType>
    LogicalResult FindAndExcludeOp(func::FuncOp func,
                                   const StringAttr& replication_attr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

        OpResult old_result = std::get<0>(pair);  // result of original Unpack
        OpResult new_result = std::get<1>(pair);  // result of transformed Unpack
        for (Operation *user : llvm::make_early_inc_range(old_result.getUsers()))
          rewriter.replaceOp(user, ValueRange(new_result));
      }
    
      // Erase original unpack operation.
      rewriter.eraseOp(op.getOperation());
    
      return success();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
Back to top