llvm::Argument::Argument

Argument constructor.

Synopsis

Declared in <llvm/IR/Argument.h>

explicit
Argument(
    Type* Ty,
    Twine const& Name = "",
    Function* F = nullptr,
    unsigned int ArgNo = 0);

Parameters

NameDescription
TyType of the argument.
NameOptional name of the argument.
FFunction that owns this argument, or nullptr.
ArgNoZero-based index of this argument in F.