LLVM  8.0.0svn
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 41 of file DemandedBits.h.

Constructor & Destructor Documentation

◆ DemandedBits()

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

Definition at line 43 of file DemandedBits.h.

References getDemandedBits(), I, isInstructionDead(), and print().

Member Function Documentation

◆ getDemandedBits()

APInt DemandedBits::getDemandedBits ( Instruction I)

◆ isInstructionDead()

bool DemandedBits::isInstructionDead ( Instruction I)

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

Definition at line 378 of file DemandedBits.cpp.

References isAlwaysLive().

Referenced by bitTrackingDCE(), and DemandedBits().

◆ print()

void DemandedBits::print ( raw_ostream OS)

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