LLVM API Documentation
#include <User.h>
Inheritance diagram for llvm::User:
Public Types | |
typedef std::vector< Use >::iterator | op_iterator |
typedef std::vector< Use >::const_iterator | const_op_iterator |
Public Member Functions | |
User (const Type *Ty, unsigned vty, const std::string &name="") | |
Value * | getOperand (unsigned i) |
const Value * | getOperand (unsigned i) const |
void | setOperand (unsigned i, Value *Val) |
unsigned | getNumOperands () const |
void | op_reserve (unsigned NumElements) |
op_iterator | op_begin () |
const_op_iterator | op_begin () const |
op_iterator | op_end () |
const_op_iterator | op_end () const |
op_iterator | op_erase (op_iterator I) |
op_iterator | op_erase (op_iterator I, op_iterator E) |
void | dropAllReferences () |
void | replaceUsesOfWith (Value *From, Value *To) |
Static Public Member Functions | |
static bool | classof (const User *) |
static bool | classof (const Value *V) |
Protected Attributes | |
std::vector< Use > | Operands |
Definition at line 27 of file User.h.
|
|
|
|
|
|
|
|
|
|
Reimplemented in llvm::Function. Definition at line 78 of file User.h. References Operands. |
|
|
Reimplemented in llvm::Constant, and llvm::ConstantExpr. Definition at line 39 of file User.h. References Operands. |
|
|
Definition at line 58 of file User.h. References Operands. |
|
|
Definition at line 60 of file User.h. References Operands. |
|
|
Definition at line 66 of file User.h. References Operands. |
|
op_erase - This method is used to remove one of the arguments from the operands list. Only use this if you know what you are doing. Definition at line 65 of file User.h. References Operands. |
|
Definition at line 55 of file User.h. References Operands. Referenced by llvm::BytecodeReader::ParseInstruction(). |
|
replaceUsesOfWith - Replaces all references to the "From" definition with references to the "To" definition. Definition at line 103 of file Value.cpp. References E, getNumOperands(), getOperand(), and setOperand(). Referenced by ConvertOperandToType(). |
|
|