LLVM  6.0.0svn
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"

Collaboration diagram for llvm::IVVisitor:
Collaboration graph
[legend]

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 33 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 838 of file SimplifyIndVar.cpp.

◆ getDomTree()

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

◆ visitCast()

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

Referenced by getDomTree(), and isSimpleIVUser().

Member Data Documentation

◆ DT

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

Definition at line 35 of file SimplifyIndVar.h.

Referenced by getDomTree().


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