LLVM 19.0.0git
Public Types | Public Member Functions | List of all members
llvm::DominatorTreeAnalysis Class Reference

Analysis pass which computes a DominatorTree. More...

#include "llvm/IR/Dominators.h"

Inheritance diagram for llvm::DominatorTreeAnalysis:
Inheritance graph
[legend]

Public Types

using Result = DominatorTree
 Provide the result typedef for this analysis pass.
 

Public Member Functions

DominatorTree run (Function &F, FunctionAnalysisManager &)
 Run the analysis pass over a function and produce a dominator tree.
 
- Public Member Functions inherited from llvm::PassInfoMixin< DerivedT >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::AnalysisInfoMixin< DominatorTreeAnalysis >
static AnalysisKeyID ()
 Returns an opaque, unique ID for this analysis type.
 
- Static Public Member Functions inherited from llvm::PassInfoMixin< DerivedT >
static StringRef name ()
 Gets the name of the pass we are mixed into.
 

Detailed Description

Analysis pass which computes a DominatorTree.

Definition at line 279 of file Dominators.h.

Member Typedef Documentation

◆ Result

Provide the result typedef for this analysis pass.

Definition at line 285 of file Dominators.h.

Member Function Documentation

◆ run()

DominatorTree DominatorTreeAnalysis::run ( Function F,
FunctionAnalysisManager  
)

Run the analysis pass over a function and produce a dominator tree.

Definition at line 371 of file Dominators.cpp.

References F, and llvm::DominatorTreeBase< NodeT, IsPostDom >::recalculate().

Referenced by computeHeuristicUnrollFactor().


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