LLVM API Documentation

Classes | Namespaces | Defines | Functions | Variables
FunctionAttrs.cpp File Reference
#include "llvm/Transforms/IPO.h"
#include "llvm/ADT/SCCIterator.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/Analysis/CallGraph.h"
#include "llvm/Analysis/CallGraphSCCPass.h"
#include "llvm/Analysis/CaptureTracking.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/Support/InstIterator.h"
#include "llvm/Target/TargetLibraryInfo.h"
Include dependency graph for FunctionAttrs.cpp:

Go to the source code of this file.

Classes

struct  llvm::GraphTraits< ArgumentGraphNode * >
struct  llvm::GraphTraits< ArgumentGraph * >

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


Defines

#define DEBUG_TYPE   "functionattrs"

Functions

 STATISTIC (NumReadNone,"Number of functions marked readnone")
 STATISTIC (NumReadOnly,"Number of functions marked readonly")
 STATISTIC (NumNoCapture,"Number of arguments marked nocapture")
 STATISTIC (NumNoAlias,"Number of function returns marked noalias")
 STATISTIC (NumAnnotated,"Number of attributes added to library functions")
 INITIALIZE_PASS_BEGIN (FunctionAttrs,"functionattrs","Deduce function attributes", false, false) INITIALIZE_PASS_END(FunctionAttrs

Variables

 functionattrs
Deduce function attributes
Deduce function false

Define Documentation

#define DEBUG_TYPE   "functionattrs"

Definition at line 23 of file FunctionAttrs.cpp.


Function Documentation

INITIALIZE_PASS_BEGIN ( FunctionAttrs  ,
"functionattrs"  ,
"Deduce function attributes ,
false  ,
false   
)
STATISTIC ( NumReadNone  ,
"Number of functions marked readnone"   
)
STATISTIC ( NumReadOnly  ,
"Number of functions marked readonly"   
)
STATISTIC ( NumNoCapture  ,
"Number of arguments marked nocapture"   
)
STATISTIC ( NumNoAlias  ,
"Number of function returns marked noalias"   
)
STATISTIC ( NumAnnotated  ,
"Number of attributes added to library functions  
)

Variable Documentation

Definition at line 134 of file FunctionAttrs.cpp.

Deduce function false

Definition at line 134 of file FunctionAttrs.cpp.

Definition at line 134 of file FunctionAttrs.cpp.