LLVM 20.0.0git
|
#include "llvm/Analysis/StackSafetyAnalysis.h"
Classes | |
struct | InfoTy |
Public Member Functions | |
StackSafetyGlobalInfo () | |
StackSafetyGlobalInfo (Module *M, std::function< const StackSafetyInfo &(Function &F)> GetSSI, const ModuleSummaryIndex *Index) | |
StackSafetyGlobalInfo (StackSafetyGlobalInfo &&) | |
StackSafetyGlobalInfo & | operator= (StackSafetyGlobalInfo &&) |
~StackSafetyGlobalInfo () | |
bool | isSafe (const AllocaInst &AI) const |
bool | stackAccessIsSafe (const Instruction &I) const |
void | print (raw_ostream &O) const |
void | dump () const |
Definition at line 58 of file StackSafetyAnalysis.h.
|
default |
StackSafetyGlobalInfo::StackSafetyGlobalInfo | ( | Module * | M, |
std::function< const StackSafetyInfo &(Function &F)> | GetSSI, | ||
const ModuleSummaryIndex * | Index | ||
) |
Definition at line 982 of file StackSafetyAnalysis.cpp.
References StackSafetyRun.
|
default |
|
default |
LLVM_DUMP_METHOD void StackSafetyGlobalInfo::dump | ( | ) | const |
Definition at line 1032 of file StackSafetyAnalysis.cpp.
References llvm::dbgs(), and print().
bool StackSafetyGlobalInfo::isSafe | ( | const AllocaInst & | AI | ) | const |
Definition at line 998 of file StackSafetyAnalysis.cpp.
References Info.
Referenced by llvm::memtag::StackInfoBuilder::isInterestingAlloca().
|
default |
void StackSafetyGlobalInfo::print | ( | raw_ostream & | O | ) | const |
Definition at line 1008 of file StackSafetyAnalysis.cpp.
References F, I, llvm::StackSafetyGlobalInfo::InfoTy::Info, instructions, and stackAccessIsSafe().
Referenced by dump(), and llvm::StackSafetyGlobalInfoWrapperPass::print().
bool StackSafetyGlobalInfo::stackAccessIsSafe | ( | const Instruction & | I | ) | const |
Definition at line 1003 of file StackSafetyAnalysis.cpp.
Referenced by print().