Searched refs:return_operands (Results 1 – 3 of 3) sorted by relevance
259 auto return_operands = llvm::to_vector<4>(return_op.getOperands()); in PromoteResourcesToArguments() local288 {new_argument_index, return_operands.size()}); in PromoteResourcesToArguments()291 {return_operands.size(), in PromoteResourcesToArguments()294 return_operands.push_back(resource.live_value); in PromoteResourcesToArguments()321 const int return_operands_size = return_operands.size(); in PromoteResourcesToArguments()323 builder.create<func::ReturnOp>(return_op.getLoc(), return_operands); in PromoteResourcesToArguments()
589 SmallVector<Value> return_operands; in ConvertFunctionDef() local590 return_operands.reserve(signature.output_arg_size() + in ConvertFunctionDef()610 return_operands.push_back(result.data); in ConvertFunctionDef()625 return_operands.push_back(result->control); in ConvertFunctionDef()629 builder.create<ReturnOp>(unknown_loc_, return_operands, in ConvertFunctionDef()
1367 llvm::SmallVector<Value, 4> return_operands; in ConvertSubgraph() local1384 return_operands.push_back(vals_map[index]); in ConvertSubgraph()1387 op_builder.create<mlir::func::ReturnOp>(base_loc, return_operands); in ConvertSubgraph()