|
LLVM
4.0.0
|
#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) |
Definition at line 39 of file DemandedBits.h.
|
inline |
Definition at line 41 of file DemandedBits.h.
| APInt DemandedBits::getDemandedBits | ( | Instruction * | I | ) |
Return the bits demanded from instruction I.
Definition at line 360 of file DemandedBits.cpp.
References llvm::APInt::getAllOnesValue(), llvm::Module::getDataLayout(), llvm::BasicBlock::getModule(), llvm::Instruction::getParent(), llvm::Value::getType(), and llvm::DataLayout::getTypeSizeInBits().
Referenced by bitTrackingDCE(), llvm::computeMinimumValueSizes(), and llvm::slpvectorizer::BoUpSLP::computeMinimumValueSizes().
| 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().
1.8.6