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

#include "llvm/Analysis/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 40 of file DemandedBits.h.

Constructor & Destructor Documentation

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

Definition at line 42 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 367 of file DemandedBits.cpp.

References isAlwaysLive().

Referenced by bitTrackingDCE().

void DemandedBits::print ( raw_ostream &  OS)

Definition at line 374 of file DemandedBits.cpp.

References llvm::utohexstr().


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