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::MachineCodeForInstruction Class Reference

#include <MachineCodeForInstruction.h>

Collaboration diagram for llvm::MachineCodeForInstruction:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::vector< MachineInstr
* >::iterator 
iterator
typedef std::vector< MachineInstr
* >::const_iterator 
const_iterator

Public Member Functions

 MachineCodeForInstruction ()
 ~MachineCodeForInstruction ()
unsigned size () const
bool empty () const
MachineInstr * front () const
MachineInstr * back () const
MachineInstr *& operator[] (unsigned i)
MachineInstr * operator[] (unsigned i) const
void pop_back ()
iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
template<class InIt>
void insert (iterator where, InIt first, InIt last)
iterator erase (iterator where)
iterator erase (iterator s, iterator e)
void dropAllReferences ()
const std::vector< Value * > & getTempValues () const
std::vector< Value * > & getTempValues ()
MachineCodeForInstruction & addTemp (Value *tmp)
void setCallArgsDescriptor (CallArgsDescriptor *desc)
CallArgsDescriptor * getCallArgsDescriptor () const

Static Public Member Functions

static MachineCodeForInstruction & get (const Instruction *I)
static void destroy (const Instruction *I)

Detailed Description

Definition at line 40 of file MachineCodeForInstruction.h.


Member Typedef Documentation

typedef std::vector<MachineInstr*>::const_iterator llvm::MachineCodeForInstruction::const_iterator
 

Definition at line 53 of file MachineCodeForInstruction.h.

typedef std::vector<MachineInstr*>::iterator llvm::MachineCodeForInstruction::iterator
 

Definition at line 52 of file MachineCodeForInstruction.h.


Constructor & Destructor Documentation

llvm::MachineCodeForInstruction::MachineCodeForInstruction (   )  [inline]
 

Definition at line 45 of file MachineCodeForInstruction.h.

MachineCodeForInstruction::~MachineCodeForInstruction (   ) 
 

Definition at line 46 of file MachineCodeForInstruction.cpp.

References dropAllReferences().


Member Function Documentation

MachineCodeForInstruction& llvm::MachineCodeForInstruction::addTemp (  Value *  tmp  )  [inline]
 

Definition at line 86 of file MachineCodeForInstruction.h.

Referenced by llvm::TmpInstruction::TmpInstruction().

MachineInstr* llvm::MachineCodeForInstruction::back (   )  const [inline]
 

Definition at line 58 of file MachineCodeForInstruction.h.

const_iterator llvm::MachineCodeForInstruction::begin (   )  const [inline]
 

Definition at line 65 of file MachineCodeForInstruction.h.

iterator llvm::MachineCodeForInstruction::begin (   )  [inline]
 

Definition at line 63 of file MachineCodeForInstruction.h.

Referenced by llvm::ReplaceNopsWithUsefulInstr().

void MachineCodeForInstruction::destroy (  const Instruction *  I  )  [static]
 

Definition at line 36 of file MachineCodeForInstruction.cpp.

References llvm::MachineFunction::get(), llvm::MachineFunction::getInfo(), llvm::BasicBlock::getParent(), and llvm::Instruction::getParent().

void MachineCodeForInstruction::dropAllReferences (   ) 
 

Definition at line 41 of file MachineCodeForInstruction.cpp.

Referenced by ~MachineCodeForInstruction().

bool llvm::MachineCodeForInstruction::empty (   )  const [inline]
 

Definition at line 56 of file MachineCodeForInstruction.h.

const_iterator llvm::MachineCodeForInstruction::end (   )  const [inline]
 

Definition at line 66 of file MachineCodeForInstruction.h.

iterator llvm::MachineCodeForInstruction::end (   )  [inline]
 

Definition at line 64 of file MachineCodeForInstruction.h.

Referenced by llvm::ReplaceNopsWithUsefulInstr().

iterator llvm::MachineCodeForInstruction::erase (  iterator  s,
iterator  e
)  [inline]
 

Definition at line 73 of file MachineCodeForInstruction.h.

iterator llvm::MachineCodeForInstruction::erase (  iterator  where  )  [inline]
 

Definition at line 72 of file MachineCodeForInstruction.h.

Referenced by llvm::ReplaceNopsWithUsefulInstr().

MachineInstr* llvm::MachineCodeForInstruction::front (   )  const [inline]
 

Definition at line 57 of file MachineCodeForInstruction.h.

MachineCodeForInstruction & MachineCodeForInstruction::get (  const Instruction *  I  )  [static]
 

Definition at line 31 of file MachineCodeForInstruction.cpp.

References llvm::MachineFunction::get(), llvm::MachineFunction::getInfo(), llvm::BasicBlock::getParent(), and llvm::Instruction::getParent().

Referenced by llvm::CallArgsDescriptor::CallArgsDescriptor(), llvm::ChooseInstructionsForDelaySlots(), llvm::CallArgsDescriptor::get(), and llvm::ReplaceNopsWithUsefulInstr().

CallArgsDescriptor* llvm::MachineCodeForInstruction::getCallArgsDescriptor (   )  const [inline]
 

Definition at line 92 of file MachineCodeForInstruction.h.

Referenced by llvm::CallArgsDescriptor::get().

std::vector<Value*>& llvm::MachineCodeForInstruction::getTempValues (   )  [inline]
 

Definition at line 84 of file MachineCodeForInstruction.h.

const std::vector<Value*>& llvm::MachineCodeForInstruction::getTempValues (   )  const [inline]
 

Definition at line 83 of file MachineCodeForInstruction.h.

template<class InIt>
void llvm::MachineCodeForInstruction::insert (  iterator  where,
InIt  first,
InIt  last
)  [inline]
 

Definition at line 69 of file MachineCodeForInstruction.h.

MachineInstr* llvm::MachineCodeForInstruction::operator[] (  unsigned  i  )  const [inline]
 

Definition at line 60 of file MachineCodeForInstruction.h.

MachineInstr*& llvm::MachineCodeForInstruction::operator[] (  unsigned  i  )  [inline]
 

Definition at line 59 of file MachineCodeForInstruction.h.

void llvm::MachineCodeForInstruction::pop_back (   )  [inline]
 

Definition at line 61 of file MachineCodeForInstruction.h.

void llvm::MachineCodeForInstruction::setCallArgsDescriptor (  CallArgsDescriptor *  desc  )  [inline]
 

Definition at line 91 of file MachineCodeForInstruction.h.

Referenced by llvm::CallArgsDescriptor::CallArgsDescriptor().

unsigned llvm::MachineCodeForInstruction::size (   )  const [inline]
 

Definition at line 55 of file MachineCodeForInstruction.h.

Referenced by llvm::ChooseInstructionsForDelaySlots().


The documentation for this class was generated from the following files: