LLVM
8.0.1
|
Describes uses of allocas and parameters inside of a single function. More...
Public Member Functions | |
FunctionInfo (const StackSafetyInfo &SSI) | |
FunctionInfo (const Function *F) | |
FunctionInfo (const GlobalAlias *A) | |
FunctionInfo (FunctionInfo &&)=default | |
bool | IsDSOLocal () const |
bool | IsInterposable () const |
StringRef | getName () const |
void | print (raw_ostream &O) const |
Public Attributes | |
const GlobalValue * | GV = nullptr |
SmallVector< AllocaInfo, 4 > | Allocas |
SmallVector< ParamInfo, 4 > | Params |
int | UpdateCount = 0 |
Describes uses of allocas and parameters inside of a single function.
Definition at line 146 of file StackSafetyAnalysis.cpp.
|
inline |
Definition at line 158 of file StackSafetyAnalysis.cpp.
Definition at line 160 of file StackSafetyAnalysis.cpp.
|
explicit |
Definition at line 189 of file StackSafetyAnalysis.cpp.
References A, llvm::ConstantRange::add(), llvm::Module::aliases(), llvm::StackSafetyInfo::FunctionInfo::Allocas, llvm::CallSiteBase< FunTy, BBTy, ValTy, UserTy, UseTy, InstrTy, CallTy, InvokeTy, IterTy >::arg_begin(), llvm::CallSiteBase< FunTy, BBTy, ValTy, UserTy, UseTy, InstrTy, CallTy, InvokeTy, IterTy >::arg_end(), assert(), B, llvm::SmallVectorTemplateCommon< T, typename >::back(), llvm::SmallVectorTemplateCommon< T >::begin(), llvm::MCID::Call, Callee, llvm::SmallVectorImpl< T >::clear(), llvm::dbgs(), llvm::dyn_cast(), E, llvm::SmallVectorImpl< T >::emplace_back(), llvm::SmallVectorBase::empty(), llvm::SmallVectorTemplateCommon< T >::end(), llvm::SmallVectorImpl< T >::erase(), F(), function, llvm::Module::functions(), llvm::GlobalIndirectSymbol::getBaseObject(), llvm::CallSiteBase< FunTy, BBTy, ValTy, UserTy, UseTy, InstrTy, CallTy, InvokeTy, IterTy >::getCalledValue(), llvm::Module::getDataLayout(), llvm::MemIntrinsicBase< Derived >::getLength(), llvm::StackSafetyInfo::FunctionInfo::getName(), llvm::FunctionType::getNumParams(), llvm::GlobalValue::getParent(), llvm::DataLayout::getPointerSizeInBits(), llvm::MemIntrinsicBase< Derived >::getRawDest(), llvm::Value::getType(), llvm::DataLayout::getTypeStoreSize(), llvm::GlobalValue::getValueType(), I, Info, llvm::SmallPtrSetImpl< PtrType >::insert(), instructions, llvm::StackSafetyInfo::FunctionInfo::IsDSOLocal(), llvm::ConstantRange::isEmptySet(), llvm::StackSafetyInfo::FunctionInfo::IsInterposable(), IT, LLVM_DEBUG, llvm::SPII::Load, llvm::LegalizeActions::Lower, llvm::make_range(), MI, llvm::RISCVFenceField::O, llvm::StackSafetyInfo::FunctionInfo::Params, llvm::SmallVectorImpl< T >::pop_back_val(), llvm::StackSafetyInfo::FunctionInfo::print(), llvm::SmallVectorTemplateBase< T >::push_back(), llvm::MipsISD::Ret, Rewriter, llvm::SmallVectorBase::size(), llvm::sort(), StackSafetyMaxIterations, llvm::SPII::Store, llvm::Value::stripPointerCastsNoFollowAliases(), llvm::StackSafetyInfo::FunctionInfo::UpdateCount, llvm::Upper, llvm::Value::uses(), and llvm::ConstantRange::zextOrTrunc().
|
default |
|
inline |
Definition at line 170 of file StackSafetyAnalysis.cpp.
References llvm::Value::getName().
Referenced by llvm::StackSafetyInfo::FunctionInfo::FunctionInfo().
|
inline |
Definition at line 166 of file StackSafetyAnalysis.cpp.
References llvm::GlobalValue::isDSOLocal().
Referenced by llvm::StackSafetyInfo::FunctionInfo::FunctionInfo().
|
inline |
Definition at line 168 of file StackSafetyAnalysis.cpp.
References llvm::GlobalValue::isInterposable().
Referenced by llvm::StackSafetyInfo::FunctionInfo::FunctionInfo().
|
inline |
Definition at line 172 of file StackSafetyAnalysis.cpp.
References getName().
Referenced by llvm::StackSafetyInfo::FunctionInfo::FunctionInfo().
SmallVector<AllocaInfo, 4> llvm::StackSafetyInfo::FunctionInfo::Allocas |
Definition at line 150 of file StackSafetyAnalysis.cpp.
Referenced by llvm::StackSafetyInfo::FunctionInfo::FunctionInfo().
const GlobalValue* llvm::StackSafetyInfo::FunctionInfo::GV = nullptr |
Definition at line 148 of file StackSafetyAnalysis.cpp.
SmallVector<ParamInfo, 4> llvm::StackSafetyInfo::FunctionInfo::Params |
Definition at line 152 of file StackSafetyAnalysis.cpp.
Referenced by llvm::StackSafetyInfo::FunctionInfo::FunctionInfo().
int llvm::StackSafetyInfo::FunctionInfo::UpdateCount = 0 |
Definition at line 156 of file StackSafetyAnalysis.cpp.
Referenced by llvm::StackSafetyInfo::FunctionInfo::FunctionInfo().