Extraction of Arguments Passed to a Function

Hi,
I am trying to extract the name of the variables passed as an Argument to a Function. I am using a runOnFunction Pass.
For example in the following IR respresentation,

define void @foo(i32 %limit) {
entry: