LLVMGetParams

Function LLVMGetParams 

Source
pub unsafe extern "C" fn LLVMGetParams(
    Fn: LLVMValueRef,
    Params: *mut LLVMValueRef,
)
Expand 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.

@see llvm::Function::arg_begin()