LLVM 20.0.0git
Static Public Member Functions | List of all members
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 72 of file Analysis.h.

Member Function Documentation

◆ ID()

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

Definition at line 74 of file Analysis.h.


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