Go to the source code of this file.
|
| llvm |
| List of target independent CodeGen pass IDs.
|
|
|
| STATISTIC (NumReadNone,"Number of functions marked readnone") |
|
| STATISTIC (NumReadOnly,"Number of functions marked readonly") |
|
| STATISTIC (NumNoCapture,"Number of arguments marked nocapture") |
|
| STATISTIC (NumReadNoneArg,"Number of arguments marked readnone") |
|
| STATISTIC (NumReadOnlyArg,"Number of arguments marked readonly") |
|
| 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 |
|
static Attribute::AttrKind | determinePointerReadAttrs (Argument *A, const SmallPtrSet< Argument *, 8 > &SCCNodes) |
|
#define DEBUG_TYPE "functionattrs" |
Definition at line 410 of file FunctionAttrs.cpp.
References llvm::ARM_PROC::A, llvm::CallSiteBase< FunTy, ValTy, UserTy, InstrTy, CallTy, InvokeTy, IterTy >::arg_begin(), llvm::Function::arg_begin(), llvm::CallSiteBase< FunTy, ValTy, UserTy, InstrTy, CallTy, InvokeTy, IterTy >::arg_end(), llvm::Function::arg_end(), llvm::Call, llvm::SmallPtrSet< PtrType, SmallSize >::count(), llvm::CallSiteBase< FunTy, ValTy, UserTy, InstrTy, CallTy, InvokeTy, IterTy >::doesNotAccessMemory(), llvm::SmallVectorBase::empty(), llvm::CallSiteBase< FunTy, ValTy, UserTy, InstrTy, CallTy, InvokeTy, IterTy >::getCalledFunction(), llvm::Instruction::getOpcode(), llvm::SmallSet< T, N, C >::insert(), llvm::Function::isVarArg(), llvm::SPII::Load, llvm::Attribute::None, llvm::CallSiteBase< FunTy, ValTy, UserTy, InstrTy, CallTy, InvokeTy, IterTy >::onlyReadsMemory(), llvm::TargetOpcode::PHI, llvm::SmallVectorImpl< T >::pop_back_val(), llvm::SmallVectorTemplateBase< T, isPodLike< T >::value >::push_back(), llvm::Attribute::ReadNone, llvm::Attribute::ReadOnly, llvm::AArch64ISD::Ret, llvm::MCID::Select, llvm::Value::use_begin(), and llvm::Value::use_end().
STATISTIC |
( |
NumReadNone |
, |
|
|
"Number of functions marked readnone" |
|
|
) |
| |
STATISTIC |
( |
NumReadOnly |
, |
|
|
"Number of functions marked readonly" |
|
|
) |
| |
STATISTIC |
( |
NumNoCapture |
, |
|
|
"Number of arguments marked nocapture" |
|
|
) |
| |
STATISTIC |
( |
NumReadNoneArg |
, |
|
|
"Number of arguments marked readnone" |
|
|
) |
| |
STATISTIC |
( |
NumReadOnlyArg |
, |
|
|
"Number of arguments marked readonly" |
|
|
) |
| |
STATISTIC |
( |
NumNoAlias |
, |
|
|
"Number of function returns marked noalias" |
|
|
) |
| |