Go to the source code of this file.
◆ DEBUG_TYPE
#define DEBUG_TYPE "expandmemcmp" |
◆ INITIALIZE_PASS_BEGIN()
INITIALIZE_PASS_BEGIN |
( |
ExpandMemCmpPass |
, |
|
|
"expandmemcmp" |
, |
|
|
"Expand memcmp() to load/stores" |
, |
|
|
false |
, |
|
|
false |
|
|
) |
| |
◆ memcmp()
◆ STATISTIC() [1/4]
STATISTIC |
( |
NumMemCmpCalls |
, |
|
|
"Number of memcmp calls" |
|
|
) |
| |
◆ STATISTIC() [2/4]
STATISTIC |
( |
NumMemCmpNotConstant |
, |
|
|
"Number of memcmp calls without constant size" |
|
|
) |
| |
◆ STATISTIC() [3/4]
STATISTIC |
( |
NumMemCmpGreaterThanMax |
, |
|
|
"Number of memcmp calls with size greater than max size" |
|
|
) |
| |
◆ STATISTIC() [4/4]
STATISTIC |
( |
NumMemCmpInlined |
, |
|
|
"Number of inlined memcmp calls" |
|
|
) |
| |
◆ expandmemcmp
◆ false
◆ MemCmpEqZeroNumLoadsPerBlock
cl::opt<unsigned> MemCmpEqZeroNumLoadsPerBlock("memcmp-num-loads-per-block", cl::Hidden, cl::init(1), cl::desc("The number of loads per basic block for inline expansion of " "memcmp that is only being compared against zero.")) |
|
static |