LLVM 20.0.0git
|
TypeFinder - Walk over a module, identifying all of the types that are used by the module. More...
#include "llvm/IR/TypeFinder.h"
Public Types | |
using | iterator = std::vector< StructType * >::iterator |
using | const_iterator = std::vector< StructType * >::const_iterator |
Public Member Functions | |
TypeFinder ()=default | |
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 () |
TypeFinder - Walk over a module, identifying all of the types that are used by the module.
Definition at line 31 of file TypeFinder.h.
using llvm::TypeFinder::const_iterator = std::vector<StructType*>::const_iterator |
Definition at line 49 of file TypeFinder.h.
using llvm::TypeFinder::iterator = std::vector<StructType*>::iterator |
Definition at line 48 of file TypeFinder.h.
|
default |
|
inline |
Definition at line 51 of file TypeFinder.h.
|
inline |
Definition at line 54 of file TypeFinder.h.
void TypeFinder::clear | ( | ) |
Definition at line 113 of file TypeFinder.cpp.
References llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::clear().
|
inline |
Definition at line 57 of file TypeFinder.h.
|
inline |
Definition at line 52 of file TypeFinder.h.
|
inline |
Definition at line 55 of file TypeFinder.h.
Definition at line 59 of file TypeFinder.h.
Definition at line 63 of file TypeFinder.h.
Referenced by llvm::IRMover::IRMover().
|
inline |
Definition at line 61 of file TypeFinder.h.
References Idx.
Definition at line 34 of file TypeFinder.cpp.
References A, Addr, G, GEP, and I.
Referenced by llvm::IRMover::IRMover(), and StripTypeNames().
|
inline |
Definition at line 58 of file TypeFinder.h.