LLVM: lib/Analysis/GlobalsModRef.cpp File Reference (original) (raw)
Go to the source code of this file.
Functions |
|
|
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 |
|
|
◆ DEBUG_TYPE
#define DEBUG_TYPE "globalsmodref-aa"
◆ INITIALIZE_PASS_BEGIN()
◆ isNonEscapingGlobalNoAliasWithLoad()
◆ STATISTIC() [1/5]
STATISTIC |
( |
NumIndirectGlobalVars |
, |
"Number of indirect global objects" |
|
|
|
) |
|
|
|
◆ STATISTIC() [2/5]
STATISTIC |
( |
NumNoMemFunctions |
, |
"Number of functions that do not access memory" |
|
|
|
) |
|
|
|
◆ STATISTIC() [3/5]
STATISTIC |
( |
NumNonAddrTakenFunctions |
, |
"Number of functions without address taken" |
|
|
|
) |
|
|
|
◆ STATISTIC() [4/5]
STATISTIC |
( |
NumNonAddrTakenGlobalVars |
, |
"Number of global vars without address taken" |
|
|
|
) |
|
|
|
◆ STATISTIC() [5/5]
STATISTIC |
( |
NumReadMemFunctions |
, |
"Number of functions that only read memory" |
|
|
|
) |
|
|
|
◆ aa
◆ EnableUnsafeGlobalsModRefAliasResults
cl::opt< bool > EnableUnsafeGlobalsModRefAliasResults("enable-unsafe-globalsmodref-alias-results", cl::init(false), cl::Hidden) ( "enable-unsafe-globalsmodref-alias-results" , cl::init(false) , cl::Hidden ) |
static |
◆ false