llvm::IRPosition::getCallSiteArgNo

Return the call-site argument number of the associated value.

Synopsis

Declared in <llvm/Transforms/IPO/Attributor.h>

int
getCallSiteArgNo() const;

Description

If it is an argument or call site argument, otherwise a negative value. In contrast to getCalleeArgNo this method will always return the operand index in the call base.

Return Value

The call-site argument number of the associated value.