LLVM API Documentation
#include "llvm/Analysis/Passes.h"#include "llvm/ADT/SCCIterator.h"#include "llvm/ADT/Statistic.h"#include "llvm/Analysis/AliasAnalysis.h"#include "llvm/Analysis/CallGraph.h"#include "llvm/Analysis/MemoryBuiltins.h"#include "llvm/Analysis/ValueTracking.h"#include "llvm/IR/Constants.h"#include "llvm/IR/DerivedTypes.h"#include "llvm/IR/InstIterator.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/IntrinsicInst.h"#include "llvm/IR/Module.h"#include "llvm/Pass.h"#include "llvm/Support/CommandLine.h"#include <set>
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "globalsmodref-aa" |
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") | |
| INITIALIZE_AG_PASS_BEGIN (GlobalsModRef, AliasAnalysis,"globalsmodref-aa","Simple mod/ref analysis for globals", false, true, false) INITIALIZE_AG_PASS_END(GlobalsModRef | |
Variables | |
| AliasAnalysis | |
| globalsmodref | aa |
| globalsmodref Simple mod ref analysis for | globals |
| globalsmodref Simple mod ref analysis for | false |
| globalsmodref Simple mod ref analysis for | true |
| #define DEBUG_TYPE "globalsmodref-aa" |
Definition at line 35 of file GlobalsModRef.cpp.
| INITIALIZE_AG_PASS_BEGIN | ( | GlobalsModRef | , |
| AliasAnalysis | , | ||
| "globalsmodref-aa" | , | ||
| "Simple mod/ref analysis for globals" | , | ||
| false | , | ||
| true | , | ||
| false | |||
| ) |
| STATISTIC | ( | NumNonAddrTakenGlobalVars | , |
| "Number of global vars without address taken" | |||
| ) |
| STATISTIC | ( | NumIndirectGlobalVars | , |
| "Number of indirect global objects" | |||
| ) |
| globalsmodref aa |
Definition at line 198 of file GlobalsModRef.cpp.
Referenced by llvm::SelectionDAGBuilder::init(), and llvm::objcarc::ProvenanceAnalysis::setAA().
Definition at line 198 of file GlobalsModRef.cpp.
| globalsmodref Simple mod ref analysis for false |
Definition at line 198 of file GlobalsModRef.cpp.
| globalsmodref Simple mod ref analysis for globals |
Definition at line 198 of file GlobalsModRef.cpp.
| globalsmodref Simple mod ref analysis for true |
Definition at line 198 of file GlobalsModRef.cpp.