Go to the source code of this file.
|
static cl::opt< int > | PageSize ("imp-null-check-page-size", cl::desc("The page size of the target in bytes"), cl::init(4096), cl::Hidden) |
|
static cl::opt< unsigned > | MaxInstsToConsider ("imp-null-max-insts-to-consider", cl::desc("The max number of instructions to consider hoisting loads over " "(the algorithm is quadratic over this number)"), cl::Hidden, cl::init(8)) |
|
| DEBUG_TYPE |
|
Implicit null | checks |
|
Implicit null | false |
|
◆ DEBUG_TYPE
#define DEBUG_TYPE "implicit-null-checks" |
◆ AnyAliasLiveIn()
Definition at line 312 of file ImplicitNullChecks.cpp.
References llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addMBB(), llvm::AAResults::alias(), llvm::TargetInstrInfo::analyzeBranchPredicate(), llvm::any_of(), assert(), llvm::ArrayRef< T >::begin(), llvm::BuildMI(), llvm::SmallVectorImpl< T >::emplace_back(), llvm::FaultMaps::FaultingLoad, llvm::FaultMaps::FaultingLoadStore, llvm::FaultMaps::FaultingStore, llvm::MCInstrInfo::get(), llvm::MachineBasicBlock::getBasicBlock(), llvm::MachineInstr::getDesc(), llvm::TargetInstrInfo::getMemOperandWithOffset(), llvm::MCInstrDesc::getNumDefs(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), I, llvm::TargetInstrInfo::insertBranch(), llvm::MachineBasicBlock::isLiveIn(), llvm::MachineInstr::isPredicable(), llvm::MachineOperand::isReg(), llvm::MCRegAliasIterator::isValid(), MaxInstsToConsider, llvm::MachineInstr::mayLoad(), llvm::MachineInstr::mayStore(), llvm::LLVMContext::MD_make_implicit, llvm::MachineInstr::memoperands(), llvm::MachineInstr::memoperands_empty(), NC, llvm::NoAlias, llvm::None, llvm::MachineInstr::operands(), PageSize, llvm::PPC::PRED_EQ, llvm::PPC::PRED_NE, llvm::MachineBasicBlock::pred_size(), llvm::SmallVectorTemplateBase< T >::push_back(), llvm::MachineBasicBlock::rbegin(), Reg, llvm::TargetRegisterInfo::regsOverlap(), llvm::TargetInstrInfo::removeBranch(), llvm::MachineOperand::setIsDead(), llvm::MachineOperand::setIsKill(), llvm::SmallVectorBase::size(), llvm::LocationSize::unknown(), and llvm::MachineInstr::uses().
◆ INITIALIZE_PASS_BEGIN()
◆ STATISTIC()
STATISTIC |
( |
NumImplicitNullChecks |
, |
|
|
"Number of explicit null checks made implicit" |
|
|
) |
| |
◆ checks
◆ DEBUG_TYPE
◆ false
◆ MaxInstsToConsider
cl::opt<unsigned> MaxInstsToConsider("imp-null-max-insts-to-consider", cl::desc("The max number of instructions to consider hoisting loads over " "(the algorithm is quadratic over this number)"), cl::Hidden, cl::init(8)) |
|
static |
◆ PageSize
cl::opt<int> PageSize("imp-null-check-page-size", cl::desc("The page size of the target in bytes"), cl::init(4096), cl::Hidden) |
|
static |