llvm::LiveValues Class Reference

#include <LiveValues.h>

List of all members.

Classes

struct  Memo

Public Member Functions

virtual void getAnalysisUsage (AnalysisUsage &AU) const
virtual bool runOnFunction (Function &F)
virtual void releaseMemory ()
bool isUsedInBlock (const Value *V, const BasicBlock *BB)
bool isLiveThroughBlock (const Value *V, const BasicBlock *BB)
bool isKilledInBlock (const Value *V, const BasicBlock *BB)

Static Public Attributes

static char ID


Detailed Description

LiveValues - Analysis that provides liveness information for LLVM IR Values.

Member Function Documentation

bool llvm::LiveValues::isKilledInBlock ( const Value *  V,
const BasicBlock *  BB 
)

isKilledInBlock - Test if the given value is known to be killed in the given block, meaning that the block contains a use of the value, and no blocks reachable from the block contain a use. This uses a conservative approximation that errs on the side of returning false.

bool llvm::LiveValues::isLiveThroughBlock ( const Value *  V,
const BasicBlock *  BB 
)

isLiveThroughBlock - Test if the given value is known to be live-through the given block, meaning that the block is properly dominated by the value's definition, and there exists a block reachable from it that contains a use. This uses a conservative approximation that errs on the side of returning false.

bool llvm::LiveValues::isUsedInBlock ( const Value *  V,
const BasicBlock *  BB 
)

isUsedInBlock - Test if the given value is used in the given block.


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

Generated on Fri Mar 19 01:41:24 2010 by  doxygen 1.5.8