LLVM API Documentation
#include <Argument.h>
Inheritance diagram for llvm::Argument:
Public Member Functions | |
Argument (const Type *Ty, const std::string &Name="", Function *F=0) | |
const Function * | getParent () const |
Function * | getParent () |
Argument * | getNext () |
const Argument * | getNext () const |
Argument * | getPrev () |
const Argument * | getPrev () const |
virtual void | print (std::ostream &OS) const |
Static Public Member Functions | |
static bool | classof (const Argument *) |
static bool | classof (const Value *V) |
Friends | |
class | SymbolTableListTraits< Argument, Function, Function,ilist_traits< Argument > > |
Definition at line 26 of file Argument.h.
Argument ctor - If Function argument is specified, this argument is inserted at the end of the argument list for the function.
Definition at line 54 of file Function.cpp.
References llvm::LeakDetector::addGarbageObject(), and llvm::Function::getArgumentList().
static bool llvm::Argument::classof | ( | const Value * | V | ) | [inline, static] |
Reimplemented from llvm::Value.
Definition at line 57 of file Argument.h.
References llvm::Value::ArgumentVal, and V.
static bool llvm::Argument::classof | ( | const Argument * | ) | [inline, static] |
classof - Methods for support type inquiry through isa, cast, and dyn_cast:
Definition at line 56 of file Argument.h.
const Argument* llvm::Argument::getNext | ( | ) | const [inline] |
Argument* llvm::Argument::getNext | ( | ) | [inline] |
Function* llvm::Argument::getParent | ( | ) | [inline] |
Definition at line 43 of file Argument.h.
const Function* llvm::Argument::getParent | ( | ) | const [inline] |
Definition at line 42 of file Argument.h.
Referenced by AllCalleesPassInValidPointerForArgument(), and print().
const Argument* llvm::Argument::getPrev | ( | ) | const [inline] |
Argument* llvm::Argument::getPrev | ( | ) | [inline] |
void Argument::print | ( | std::ostream & | OS | ) | const [virtual] |
print - Implement operator<< on Value...
Implements llvm::Value.
Definition at line 1327 of file AsmWriter.cpp.
References getParent(), and llvm::WriteAsOperand().
friend class SymbolTableListTraits< Argument, Function, Function,ilist_traits< Argument > > [friend] |
Definition at line 33 of file Argument.h.