Go to the source code of this file.
|
| STATISTIC (NumRemoved, "Number of instructions removed (unused)") |
|
| STATISTIC (NumSimplified, "Number of instructions trivialized (dead bits)") |
|
| STATISTIC (NumSExt2ZExt, "Number of sign extension instructions converted to zero extension") |
|
static void | clearAssumptionsOfUsers (Instruction *I, DemandedBits &DB) |
| If an instruction is trivialized (dead), then the chain of users of that instruction may need to be cleared of assumptions that can no longer be guaranteed correct. More...
|
|
static bool | bitTrackingDCE (Function &F, DemandedBits &DB) |
|
| INITIALIZE_PASS_BEGIN (BDCELegacyPass, "bdce", "Bit-Tracking Dead Code Elimination", false, false) INITIALIZE_PASS_END(BDCELegacyPass |
|
◆ DEBUG_TYPE
#define DEBUG_TYPE "bdce" |
◆ bitTrackingDCE()
Definition at line 93 of file BDCE.cpp.
References Builder, clearAssumptionsOfUsers(), llvm::APInt::countLeadingZeros(), llvm::AArch64PACKey::DB, llvm::dbgs(), F, llvm::ConstantInt::get(), I, llvm::instructions(), LLVM_DEBUG, llvm::reverse(), llvm::salvageDebugInfo(), and llvm::wouldInstructionBeTriviallyDead().
Referenced by llvm::BDCEPass::run().
◆ clearAssumptionsOfUsers()
◆ INITIALIZE_PASS_BEGIN()
◆ STATISTIC() [1/3]
◆ STATISTIC() [2/3]
◆ STATISTIC() [3/3]
◆ bdce
◆ Elimination
Bit Tracking Dead Code Elimination |
◆ false
Bit Tracking Dead Code false |