LLVM 22.0.0git
DemandedBits.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "demanded-bits"

Functions

static bool isAlwaysLive (Instruction *I)
static APInt determineLiveOperandBitsAddCarry (unsigned OperandNo, const APInt &AOut, const KnownBits &LHS, const KnownBits &RHS, bool CarryZero, bool CarryOne)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "demanded-bits"

Definition at line 46 of file DemandedBits.cpp.

Function Documentation

◆ determineLiveOperandBitsAddCarry()

APInt determineLiveOperandBitsAddCarry ( unsigned OperandNo,
const APInt & AOut,
const KnownBits & LHS,
const KnownBits & RHS,
bool CarryZero,
bool CarryOne )
static

◆ isAlwaysLive()

bool isAlwaysLive ( Instruction * I)
static

Definition at line 48 of file DemandedBits.cpp.

References I.

Referenced by llvm::DemandedBits::isInstructionDead(), and llvm::DemandedBits::isUseDead().