LLVM API Documentation
#include <Reader.h>
Inheritance diagram for llvm::BytecodeReader::ValueList:
Public Member Functions | |
ValueList () | |
unsigned | size () const |
void | push_back (Value *V) |
Value * | back () const |
void | pop_back () |
bool | empty () const |
virtual void | print (std::ostream &os) const |
This type provides a vector of Value* via the User class for storage of Values that have been constructed when reading the bytecode. Because of forward referencing, constant replacement can occur so we ensure that our list of Value* is updated properly through those transitions. This ensures that the correct Value* is in our list when it comes time to associate constants with global variables at the end of reading the globals section.
Definition at line 80 of file lib/Bytecode/Reader/Reader.h.
llvm::BytecodeReader::ValueList::ValueList | ( | ) | [inline] |
Definition at line 83 of file lib/Bytecode/Reader/Reader.h.
unsigned llvm::BytecodeReader::ValueList::size | ( | ) | const [inline] |
Definition at line 86 of file lib/Bytecode/Reader/Reader.h.
References llvm::User::getNumOperands().
Referenced by print().
void llvm::BytecodeReader::ValueList::push_back | ( | Value * | V | ) | [inline] |
Definition at line 87 of file lib/Bytecode/Reader/Reader.h.
References llvm::User::NumOperands, llvm::User::OperandList, and V.
Value* llvm::BytecodeReader::ValueList::back | ( | ) | const [inline] |
Definition at line 92 of file lib/Bytecode/Reader/Reader.h.
void llvm::BytecodeReader::ValueList::pop_back | ( | ) | [inline] |
bool llvm::BytecodeReader::ValueList::empty | ( | ) | const [inline] |
virtual void llvm::BytecodeReader::ValueList::print | ( | std::ostream & | os | ) | const [inline, virtual] |
print - Implement operator<< on Value...
Implements llvm::Value.
Definition at line 95 of file lib/Bytecode/Reader/Reader.h.
References llvm::User::getOperand(), llvm::Value::print(), and size().