Analysis that computes which bits of each instruction result are demanded.

Synopsis

Declared in <llvm/Analysis/DemandedBits.h>

class DemandedBits;

Description

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.

Member Functions

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.

Static Member Functions

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

Created with MrDocs