LLVM 20.0.0git
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
llvm::IVVisitor Class Referenceabstract

Interface for visiting interesting IV users that are recognized but not simplified by this utility. More...

#include "llvm/Transforms/Utils/SimplifyIndVar.h"

Public Member Functions

 IVVisitor ()=default
 
virtual ~IVVisitor ()=default
 
const DominatorTreegetDomTree () const
 
virtual void visitCast (CastInst *Cast)=0
 

Protected Member Functions

virtual void anchor ()
 

Protected Attributes

const DominatorTreeDT = nullptr
 

Detailed Description

Interface for visiting interesting IV users that are recognized but not simplified by this utility.

Definition at line 36 of file SimplifyIndVar.h.

Constructor & Destructor Documentation

◆ IVVisitor()

llvm::IVVisitor::IVVisitor ( )
default

◆ ~IVVisitor()

virtual llvm::IVVisitor::~IVVisitor ( )
virtualdefault

Member Function Documentation

◆ anchor()

void llvm::IVVisitor::anchor ( )
protectedvirtual

Definition at line 1003 of file SimplifyIndVar.cpp.

◆ getDomTree()

const DominatorTree * llvm::IVVisitor::getDomTree ( ) const
inline

Definition at line 46 of file SimplifyIndVar.h.

References DT.

◆ visitCast()

virtual void llvm::IVVisitor::visitCast ( CastInst Cast)
pure virtual

Member Data Documentation

◆ DT

const DominatorTree* llvm::IVVisitor::DT = nullptr
protected

Definition at line 38 of file SimplifyIndVar.h.

Referenced by getDomTree().


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