LLVM 22.0.0git
llvm::CFGAnalyses Class Reference

Represents analyses that only rely on functions' control flow. More...

#include "llvm/IR/Analysis.h"

Static Public Member Functions

static AnalysisSetKeyID ()

Detailed Description

Represents analyses that only rely on functions' control flow.

This can be used with PreservedAnalyses to mark the CFG as preserved and to query whether it has been preserved.

The CFG of a function is defined as the set of basic blocks and the edges between them. Changing the set of basic blocks in a function is enough to mutate the CFG. Mutating the condition of a branch or argument of an invoked function does not mutate the CFG, but changing the successor labels of those instructions does.

Definition at line 73 of file Analysis.h.

Member Function Documentation

◆ ID()

AnalysisSetKey * llvm::CFGAnalyses::ID ( )
inlinestatic

Definition at line 75 of file Analysis.h.


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