LLVM  4.0.0
Public Types | Public Member Functions | List of all members
llvm::TypeFinder Class Reference

TypeFinder - Walk over a module, identifying all of the types that are used by the module. More...

#include <TypeFinder.h>

Public Types

typedef std::vector
< StructType * >::iterator 
iterator
 
typedef std::vector
< StructType * >
::const_iterator 
const_iterator
 

Public Member Functions

 TypeFinder ()
 
void run (const Module &M, bool onlyNamed)
 
void clear ()
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
bool empty () const
 
size_t size () const
 
iterator erase (iterator I, iterator E)
 
StructType *& operator[] (unsigned Idx)
 
DenseSet< const MDNode * > & getVisitedMetadata ()
 

Detailed Description

TypeFinder - Walk over a module, identifying all of the types that are used by the module.

Definition at line 31 of file TypeFinder.h.

Member Typedef Documentation

Definition at line 48 of file TypeFinder.h.

Definition at line 47 of file TypeFinder.h.

Constructor & Destructor Documentation

llvm::TypeFinder::TypeFinder ( )
inline

Definition at line 42 of file TypeFinder.h.

Member Function Documentation

iterator llvm::TypeFinder::begin ( )
inline

Definition at line 50 of file TypeFinder.h.

Referenced by llvm::Module::getIdentifiedStructTypes().

const_iterator llvm::TypeFinder::begin ( ) const
inline

Definition at line 53 of file TypeFinder.h.

void TypeFinder::clear ( )

Definition at line 84 of file TypeFinder.cpp.

bool llvm::TypeFinder::empty ( ) const
inline

Definition at line 56 of file TypeFinder.h.

iterator llvm::TypeFinder::end ( )
inline

Definition at line 51 of file TypeFinder.h.

Referenced by llvm::Module::getIdentifiedStructTypes().

const_iterator llvm::TypeFinder::end ( ) const
inline

Definition at line 54 of file TypeFinder.h.

iterator llvm::TypeFinder::erase ( iterator  I,
iterator  E 
)
inline

Definition at line 58 of file TypeFinder.h.

DenseSet<const MDNode *>& llvm::TypeFinder::getVisitedMetadata ( )
inline

Definition at line 62 of file TypeFinder.h.

StructType*& llvm::TypeFinder::operator[] ( unsigned  Idx)
inline

Definition at line 60 of file TypeFinder.h.

void TypeFinder::run ( const Module M,
bool  onlyNamed 
)
size_t llvm::TypeFinder::size ( ) const
inline

Definition at line 57 of file TypeFinder.h.

Referenced by StripTypeNames().


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