Go to the source code of this file.
◆ DEBUG_TYPE
#define DEBUG_TYPE "implicit-null-checks" |
◆ AnyAliasLiveIn()
◆ INITIALIZE_PASS_BEGIN()
INITIALIZE_PASS_BEGIN |
( |
ImplicitNullChecks |
, |
|
|
DEBUG_TYPE |
, |
|
|
"Implicit null checks" |
, |
|
|
false |
, |
|
|
false |
|
|
) |
| |
◆ 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)) |
( |
"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) |
( |
"imp-null-check-page-size" |
, |
|
|
cl::desc("The page size of the target in bytes") |
, |
|
|
cl::init(4096) |
, |
|
|
cl::Hidden |
|
|
) |
| |
|
static |
Referenced by llvm::PagedVector< T, PageSize >::capacity(), llvm::PagedVector< T, PageSize >::clear(), llvm::orc::LocalIndirectStubsInfo< ORCABI >::create(), llvm::objcopy::macho::executeObjcopyOnBinary(), llvm::orc::ELFDebugObject::finalizeWorkingMemory(), llvm::jitlink::BasicLayout::getContiguousPageBasedLayoutSizes(), getOpenFileImpl(), llvm::sys::Process::getPageSizeEstimate(), llvm::jitlink::InProcessMemoryManager::InProcessMemoryManager(), llvm::PagedVector< T, PageSize >::materialized_begin(), llvm::PagedVector< T, PageSize >::MaterializedIterator::operator*(), llvm::PagedVector< T, PageSize >::MaterializedIterator::operator++(), llvm::PagedVector< T, PageSize >::operator[](), llvm::PagedVector< T, PageSize >::resize(), shouldUseMmap(), and llvm::trimBlockToPageSize().