|
LLVM
7.0.0
|
#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) |
Definition at line 41 of file DemandedBits.h.
|
inline |
Definition at line 43 of file DemandedBits.h.
References getDemandedBits(), I, isInstructionDead(), and print().
| APInt DemandedBits::getDemandedBits | ( | Instruction * | I | ) |
Return the bits demanded from instruction I.
Definition at line 368 of file DemandedBits.cpp.
References llvm::APInt::getAllOnesValue(), llvm::Module::getDataLayout(), llvm::Instruction::getModule(), llvm::Value::getType(), and llvm::DataLayout::getTypeSizeInBits().
Referenced by bitTrackingDCE(), clearAssumptionsOfUsers(), llvm::computeMinimumValueSizes(), computeRecurrenceType(), and DemandedBits().
| 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().
| void DemandedBits::print | ( | raw_ostream & | OS | ) |
Definition at line 385 of file DemandedBits.cpp.
References llvm::Twine::utohexstr().
Referenced by DemandedBits(), and llvm::DemandedBitsWrapperPass::getDemandedBits().
1.8.13