LLVM 17.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/InitializePasses.h"
#include "llvm/Pass.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 | |
INITIALIZE_PASS_BEGIN (DemandedBitsWrapperPass, "demanded-bits", "Demanded bits analysis", false, false) INITIALIZE_PASS_END(DemandedBitsWrapperPass | |
static bool | isAlwaysLive (Instruction *I) |
static APInt | determineLiveOperandBitsAddCarry (unsigned OperandNo, const APInt &AOut, const KnownBits &LHS, const KnownBits &RHS, bool CarryZero, bool CarryOne) |
Variables | |
demanded | bits |
demanded Demanded bits | analysis |
demanded Demanded bits | false |
#define DEBUG_TYPE "demanded-bits" |
Definition at line 49 of file DemandedBits.cpp.
|
static |
Definition at line 529 of file DemandedBits.cpp.
References assert(), LHS, llvm::APInt::reverseBits(), and RHS.
Referenced by llvm::DemandedBits::determineLiveOperandBitsAdd(), and llvm::DemandedBits::determineLiveOperandBitsSub().
INITIALIZE_PASS_BEGIN | ( | DemandedBitsWrapperPass | , |
"demanded-bits" | , | ||
"Demanded bits analysis" | , | ||
false | , | ||
false | |||
) |
|
static |
Definition at line 75 of file DemandedBits.cpp.
References I.
Referenced by llvm::DemandedBits::isInstructionDead(), and llvm::DemandedBits::isUseDead().
demanded Demanded bits analysis |
Definition at line 58 of file DemandedBits.cpp.
demanded bits |
Definition at line 57 of file DemandedBits.cpp.
Referenced by blend_epi16(), llvm::detail::IEEEFloat::convertToInteger(), llvm::HexagonInstrInfo::getMaxValue(), llvm::HexagonInstrInfo::getMinValue(), llvm::lostFractionThroughTruncation(), lowBitMask(), llvm::partCountForBits(), llvm::shiftRight(), llvm::detail::tcSetLeastSignificantBits(), llvm::APInt::trunc(), and llvm::ulpsFromBoundary().
demanded Demanded bits false |
Definition at line 58 of file DemandedBits.cpp.