LLVM  14.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"

Collaboration diagram for llvm::PreservedCFGCheckerInstrumentation::CFG:
Collaboration graph

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

Optional< DenseMap< intptr_t, BBGuard > > BBGuards
DenseMap< const BasicBlock *, DenseMap< const BasicBlock *, unsigned > > Graph

Detailed Description

Definition at line 125 of file StandardInstrumentations.h.

Constructor & Destructor Documentation

◆ CFG()

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

Definition at line 913 of file StandardInstrumentations.cpp.

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

Member Function Documentation

◆ invalidate()

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

◆ isPoisoned()

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

Definition at line 135 of file StandardInstrumentations.h.

References llvm::any_of(), BB, and BBGuards.

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

◆ operator==()

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

Definition at line 131 of file StandardInstrumentations.h.

References G, Graph, and isPoisoned().

◆ printDiff()

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

Member Data Documentation

◆ BBGuards

Optional<DenseMap<intptr_t, BBGuard> > llvm::PreservedCFGCheckerInstrumentation::CFG::BBGuards

Definition at line 126 of file StandardInstrumentations.h.

Referenced by CFG(), and isPoisoned().

◆ Graph

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

Definition at line 127 of file StandardInstrumentations.h.

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

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