Go to the source code of this file.
|
| | STATISTIC (NumNonAddrTakenGlobalVars,"Number of global vars without address taken") |
| |
| | STATISTIC (NumNonAddrTakenFunctions,"Number of functions without address taken") |
| |
| | STATISTIC (NumNoMemFunctions,"Number of functions that do not access memory") |
| |
| | STATISTIC (NumReadMemFunctions,"Number of functions that only read memory") |
| |
| | STATISTIC (NumIndirectGlobalVars,"Number of indirect global objects") |
| |
| static bool | isNonEscapingGlobalNoAliasWithLoad (const GlobalValue *GV, const Value *V, int &Depth, const DataLayout &DL) |
| |
| | INITIALIZE_PASS_BEGIN (GlobalsAAWrapperPass,"globals-aa","Globals Alias Analysis", false, true) INITIALIZE_PASS_END(GlobalsAAWrapperPass |
| |
| #define DEBUG_TYPE "globalsmodref-aa" |
| STATISTIC |
( |
NumNonAddrTakenGlobalVars |
, |
|
|
"Number of global vars without address taken" |
|
|
) |
| |
| STATISTIC |
( |
NumNonAddrTakenFunctions |
, |
|
|
"Number of functions without address taken" |
|
|
) |
| |
| STATISTIC |
( |
NumNoMemFunctions |
, |
|
|
"Number of functions that do not access memory" |
|
|
) |
| |
| STATISTIC |
( |
NumReadMemFunctions |
, |
|
|
"Number of functions that only read memory" |
|
|
) |
| |
| STATISTIC |
( |
NumIndirectGlobalVars |
, |
|
|
"Number of indirect global objects" |
|
|
) |
| |
| cl::opt<bool> EnableUnsafeGlobalsModRefAliasResults("enable-unsafe-globalsmodref-alias-results", cl::init(false), cl::Hidden) |
|
static |