LLVM 22.0.0git
llvm::DominatorTreeAnalysis Class Reference

Analysis pass which computes a DominatorTree. More...

#include "llvm/IR/Dominators.h"

Inheritance diagram for llvm::DominatorTreeAnalysis:
[legend]

Public Types

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

Public Member Functions

LLVM_ABI DominatorTree run (Function &F, FunctionAnalysisManager &)
 Run the analysis pass over a function and produce a dominator tree.
Public Member Functions inherited from llvm::PassInfoMixin< DominatorTreeAnalysis >
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< DominatorTreeAnalysis >
static StringRef name ()
 Gets the name of the pass we are mixed into.

Detailed Description

Analysis pass which computes a DominatorTree.

Definition at line 284 of file Dominators.h.

Member Typedef Documentation

โ—† Result

Provide the result typedef for this analysis pass.

Definition at line 290 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 384 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: