Analysis that computes which bits of each instruction result are demanded.
Declared in <llvm/Analysis/DemandedBits.h>
class DemandedBits;
A demanded bit is one that contributes to a result; bits that are not demanded can be either zero or one without affecting control or data flow.
| Name | Description |
|---|---|
DemandedBits [constructor] | Construct demanded-bits analysis for F. |
getDemandedBits | getDemandedBits overloads |
isInstructionDead | Return true if, during analysis, I could not be reached. |
isUseDead | Return whether this use is dead by means of not having any demanded bits. |
print | Print demanded-bits analysis results for the function to OS. |
| Name | Description |
|---|---|
determineLiveOperandBitsAdd | Compute alive bits of one addition operand from alive output and known operand bits |
determineLiveOperandBitsSub | Compute alive bits of one subtraction operand from alive output and known operand bits |