Displaying 2 results from an estimated 2 matches for "iter_params".
Did you mean:
filter_params
2010 Dec 22
0
[LLVMdev] the optional function return attribute and the llvm-c bindings
...ribute.t -> unit
I also propose to update the ocamldoc text for the following OCaml functions to reflect that the list traversed is the function *argument* list and not the parameter list:
Llvm.param
Llvm.params
Llvm.param_begin
Llvm.param_end
Llvm.param_succ
Llvm.param_pred
Llvm.iter_params
Llvm.rev_iter_params
Llvm.fold_left_params
Llvm.fold_right_params
Finally, I think the ocamldoc texts for Llvm.add_function_attr and Llvm.remove_function_attr are wrong. They actually add and remove function attributes, not return parameter attributes, which are no longer the same thing. I...
2010 Dec 21
2
[LLVMdev] the optional function return attribute and the llvm-c bindings
On Dec 21, 2010, at 00:43, Duncan Sands wrote:
>
> IIRC the function return value is considered to be the parameter with index 0.
> The function itself is considered to be the parameter with index ~0U.
Yes, that's what the documentation seems to say is the proper mode for indexing the return parameter, but when I set an attribute on the parameter with index zero, it gets applied to