LLVM 20.0.0git
|
#include "llvm/Analysis/DemandedBits.h"
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/Analysis/AssumptionCache.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/Instruction.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Operator.h"
#include "llvm/IR/PassManager.h"
#include "llvm/IR/PatternMatch.h"
#include "llvm/IR/Type.h"
#include "llvm/IR/Use.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/KnownBits.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cstdint>
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) |
#define DEBUG_TYPE "demanded-bits" |
Definition at line 47 of file DemandedBits.cpp.
|
static |
Definition at line 492 of file DemandedBits.cpp.
References assert(), LHS, llvm::APInt::reverseBits(), and RHS.
Referenced by llvm::DemandedBits::determineLiveOperandBitsAdd(), and llvm::DemandedBits::determineLiveOperandBitsSub().
|
static |
Definition at line 49 of file DemandedBits.cpp.
References I.
Referenced by llvm::DemandedBits::isInstructionDead(), and llvm::DemandedBits::isUseDead().