LLVM 19.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::PreservedCFGCheckerInstrumentation::CFG Struct Reference

#include "llvm/Passes/StandardInstrumentations.h"

Public Member Functions

 CFG (const Function *F, bool TrackBBLifetime)
 
bool operator== (const CFG &G) const
 
bool isPoisoned () const
 
bool invalidate (Function &F, const PreservedAnalyses &PA, FunctionAnalysisManager::Invalidator &)
 

Static Public Member Functions

static void printDiff (raw_ostream &out, const CFG &Before, const CFG &After)
 

Public Attributes

std::optional< DenseMap< intptr_t, BBGuard > > BBGuards
 
DenseMap< const BasicBlock *, DenseMap< const BasicBlock *, unsigned > > Graph
 

Detailed Description

Definition at line 152 of file StandardInstrumentations.h.

Constructor & Destructor Documentation

◆ CFG()

PreservedCFGCheckerInstrumentation::CFG::CFG ( const Function F,
bool  TrackBBLifetime 
)

Definition at line 1179 of file StandardInstrumentations.cpp.

References BBGuards, F, Graph, and llvm::successors().

Member Function Documentation

◆ invalidate()

bool PreservedCFGCheckerInstrumentation::CFG::invalidate ( Function F,
const PreservedAnalyses PA,
FunctionAnalysisManager::Invalidator  
)

◆ isPoisoned()

bool llvm::PreservedCFGCheckerInstrumentation::CFG::isPoisoned ( ) const
inline

Definition at line 162 of file StandardInstrumentations.h.

References llvm::any_of(), and BBGuards.

Referenced by operator==().

◆ operator==()

bool llvm::PreservedCFGCheckerInstrumentation::CFG::operator== ( const CFG G) const
inline

Definition at line 158 of file StandardInstrumentations.h.

References G, Graph, and isPoisoned().

◆ printDiff()

void PreservedCFGCheckerInstrumentation::CFG::printDiff ( raw_ostream out,
const CFG Before,
const CFG After 
)
static

Member Data Documentation

◆ BBGuards

std::optional<DenseMap<intptr_t, BBGuard> > llvm::PreservedCFGCheckerInstrumentation::CFG::BBGuards

Definition at line 153 of file StandardInstrumentations.h.

Referenced by CFG(), and isPoisoned().

◆ Graph

DenseMap<const BasicBlock *, DenseMap<const BasicBlock *, unsigned> > llvm::PreservedCFGCheckerInstrumentation::CFG::Graph

Definition at line 154 of file StandardInstrumentations.h.

Referenced by CFG(), and operator==().


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