LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::BytecodeReader::ValueList Struct Reference

A list of values as a User of those Values. More...

#include <Reader.h>

Inheritance diagram for llvm::BytecodeReader::ValueList:

Inheritance graph
[legend]
Collaboration diagram for llvm::BytecodeReader::ValueList:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ValueList ()
unsigned size () const
void push_back (Value *V)
Valueback () const
void pop_back ()
bool empty () const
virtual void print (std::ostream &os) const

Detailed Description

A list of values as a User of those Values.

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.


Constructor & Destructor Documentation

llvm::BytecodeReader::ValueList::ValueList  )  [inline]
 

Definition at line 81 of file lib/Bytecode/Reader/Reader.h.


Member Function Documentation

Value* llvm::BytecodeReader::ValueList::back  )  const [inline]
 

Definition at line 86 of file lib/Bytecode/Reader/Reader.h.

References llvm::User::Operands.

bool llvm::BytecodeReader::ValueList::empty  )  const [inline]
 

Definition at line 88 of file lib/Bytecode/Reader/Reader.h.

References llvm::User::Operands.

void llvm::BytecodeReader::ValueList::pop_back  )  [inline]
 

Definition at line 87 of file lib/Bytecode/Reader/Reader.h.

References llvm::User::Operands.

virtual void llvm::BytecodeReader::ValueList::print std::ostream &  os  )  const [inline, virtual]
 

print - Implement operator<< on Value...

Implements llvm::Value.

Definition at line 90 of file lib/Bytecode/Reader/Reader.h.

References llvm::User::getOperand(), llvm::Value::print(), and size().

void llvm::BytecodeReader::ValueList::push_back Value V  )  [inline]
 

Definition at line 85 of file lib/Bytecode/Reader/Reader.h.

References llvm::User::Operands.

unsigned llvm::BytecodeReader::ValueList::size  )  const [inline]
 

Definition at line 84 of file lib/Bytecode/Reader/Reader.h.

References llvm::User::getNumOperands().

Referenced by print().


The documentation for this struct was generated from the following file: