LLVM API Documentation

llvm::BBLiveVar Class Reference

#include <BBLiveVar.h>

Collaboration diagram for llvm::BBLiveVar:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BBLiveVar (const BasicBlock &BB, const MachineBasicBlock &MBB, unsigned POID)
bool isInSetChanged () const
bool isOutSetChanged () const
const MachineBasicBlockgetMachineBasicBlock () const
unsigned getPOId () const
bool applyTransferFunc ()
bool applyFlowFunc (hash_map< const BasicBlock *, BBLiveVar * > &BBLiveVarInfo)
const ValueSetgetOutSet () const
ValueSetgetOutSet ()
const ValueSetgetInSet () const
ValueSetgetInSet ()
void printAllSets () const
void printInOutSets () const

Detailed Description

Definition at line 36 of file BBLiveVar.h.


Constructor & Destructor Documentation

llvm::BBLiveVar::BBLiveVar ( const BasicBlock BB,
const MachineBasicBlock MBB,
unsigned  POID 
)

Definition at line 25 of file BBLiveVar.cpp.


Member Function Documentation

bool llvm::BBLiveVar::applyFlowFunc ( hash_map< const BasicBlock *, BBLiveVar * > &  BBLiveVarInfo  ) 

Definition at line 191 of file BBLiveVar.cpp.

References PI, llvm::pred_begin(), and llvm::pred_end().

bool llvm::BBLiveVar::applyTransferFunc (  ) 

Definition at line 144 of file BBLiveVar.cpp.

References llvm::set_difference(), and llvm::set_union().

ValueSet& llvm::BBLiveVar::getInSet (  )  [inline]

Definition at line 82 of file BBLiveVar.h.

const ValueSet& llvm::BBLiveVar::getInSet (  )  const [inline]

Definition at line 81 of file BBLiveVar.h.

const MachineBasicBlock& llvm::BBLiveVar::getMachineBasicBlock (  )  const [inline]

Definition at line 69 of file BBLiveVar.h.

ValueSet& llvm::BBLiveVar::getOutSet (  )  [inline]

Definition at line 79 of file BBLiveVar.h.

const ValueSet& llvm::BBLiveVar::getOutSet (  )  const [inline]

Definition at line 78 of file BBLiveVar.h.

unsigned llvm::BBLiveVar::getPOId (  )  const [inline]

Definition at line 71 of file BBLiveVar.h.

bool llvm::BBLiveVar::isInSetChanged (  )  const [inline]

Definition at line 66 of file BBLiveVar.h.

bool llvm::BBLiveVar::isOutSetChanged (  )  const [inline]

Definition at line 67 of file BBLiveVar.h.

void llvm::BBLiveVar::printAllSets (  )  const

Definition at line 222 of file BBLiveVar.cpp.

References llvm::printSet().

void llvm::BBLiveVar::printInOutSets (  )  const

Definition at line 228 of file BBLiveVar.cpp.

References llvm::printSet().


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