ΒΆvoid LLVMGetParams(LLVMValueRef Fn,
                   LLVMValueRef* Params)

Description

Obtain the parameters in a function. The takes a pointer to a pre-allocated array of LLVMValueRef that is at least LLVMCountParams() long. This array will be filled with LLVMValueRef instances which correspond to the parameters the function receives. Each LLVMValueRef corresponds to a llvm::Argument instance.

Declared at: llvm/include/llvm-c/Core.h:2681

Parameters

LLVMValueRef Fn
LLVMValueRef* Params