LLVM  4.0.0
Public Member Functions | List of all members
llvm::DemandedBits Class Reference

#include <DemandedBits.h>

Public Member Functions

 DemandedBits (Function &F, AssumptionCache &AC, DominatorTree &DT)
 
APInt getDemandedBits (Instruction *I)
 Return the bits demanded from instruction I. More...
 
bool isInstructionDead (Instruction *I)
 Return true if, during analysis, I could not be reached. More...
 
void print (raw_ostream &OS)
 

Detailed Description

Definition at line 39 of file DemandedBits.h.

Constructor & Destructor Documentation

llvm::DemandedBits::DemandedBits ( Function F,
AssumptionCache AC,
DominatorTree DT 
)
inline

Definition at line 41 of file DemandedBits.h.

Member Function Documentation

APInt DemandedBits::getDemandedBits ( Instruction I)
bool DemandedBits::isInstructionDead ( Instruction I)

Return true if, during analysis, I could not be reached.

Definition at line 370 of file DemandedBits.cpp.

References isAlwaysLive().

Referenced by bitTrackingDCE().

void DemandedBits::print ( raw_ostream OS)

Definition at line 377 of file DemandedBits.cpp.

References llvm::utohexstr().


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