LLVM 19.0.0git
Classes | Public Member Functions | List of all members
llvm::StackSafetyGlobalInfo Class Reference

#include "llvm/Analysis/StackSafetyAnalysis.h"


struct  InfoTy

Public Member Functions

 StackSafetyGlobalInfo ()
 StackSafetyGlobalInfo (Module *M, std::function< const StackSafetyInfo &(Function &F)> GetSSI, const ModuleSummaryIndex *Index)
 StackSafetyGlobalInfo (StackSafetyGlobalInfo &&)
StackSafetyGlobalInfooperator= (StackSafetyGlobalInfo &&)
 ~StackSafetyGlobalInfo ()
bool isSafe (const AllocaInst &AI) const
bool stackAccessIsSafe (const Instruction &I) const
void print (raw_ostream &O) const
void dump () const

Detailed Description

Definition at line 58 of file StackSafetyAnalysis.h.

Constructor & Destructor Documentation

◆ StackSafetyGlobalInfo() [1/3]

StackSafetyGlobalInfo::StackSafetyGlobalInfo ( )

◆ StackSafetyGlobalInfo() [2/3]

StackSafetyGlobalInfo::StackSafetyGlobalInfo ( Module M,
std::function< const StackSafetyInfo &(Function &F)>  GetSSI,
const ModuleSummaryIndex Index 

Definition at line 982 of file StackSafetyAnalysis.cpp.

References StackSafetyRun.

◆ StackSafetyGlobalInfo() [3/3]

StackSafetyGlobalInfo::StackSafetyGlobalInfo ( StackSafetyGlobalInfo &&  )

◆ ~StackSafetyGlobalInfo()

StackSafetyGlobalInfo::~StackSafetyGlobalInfo ( )

Member Function Documentation

◆ dump()

LLVM_DUMP_METHOD void StackSafetyGlobalInfo::dump ( ) const

Definition at line 1032 of file StackSafetyAnalysis.cpp.

References llvm::dbgs(), and print().

◆ isSafe()

bool StackSafetyGlobalInfo::isSafe ( const AllocaInst AI) const

Definition at line 998 of file StackSafetyAnalysis.cpp.

References Info.

Referenced by llvm::memtag::StackInfoBuilder::isInterestingAlloca().

◆ operator=()

StackSafetyGlobalInfo & StackSafetyGlobalInfo::operator= ( StackSafetyGlobalInfo &&  )

◆ print()

void StackSafetyGlobalInfo::print ( raw_ostream O) const

◆ stackAccessIsSafe()

bool StackSafetyGlobalInfo::stackAccessIsSafe ( const Instruction I) const

Definition at line 1003 of file StackSafetyAnalysis.cpp.

References I, and Info.

Referenced by print().

The documentation for this class was generated from the following files: