14 #ifndef LLVM_IR_TYPEFINDER_H
15 #define LLVM_IR_TYPEFINDER_H
38 std::vector<StructType*> StructTypes;
44 void run(
const Module &M,
bool onlyNamed);
47 typedef std::vector<StructType*>::iterator
iterator;
56 bool empty()
const {
return StructTypes.empty(); }
57 size_t size()
const {
return StructTypes.size(); }
67 void incorporateType(
Type *Ty);
73 void incorporateValue(
const Value *V);
77 void incorporateMDNode(
const MDNode *V);
A Module instance is used to store all the information related to an LLVM module. ...
Implements a dense probed hash-table based set.
Class to represent struct types.
DenseSet< const MDNode * > & getVisitedMetadata()
const_iterator end() const
const_iterator begin() const
Function Alias Analysis false
static GCRegistry::Add< CoreCLRGC > E("coreclr","CoreCLR-compatible GC")
The instances of the Type class are immutable: once they are created, they are never changed...
StructType *& operator[](unsigned Idx)
void run(const Module &M, bool onlyNamed)
std::vector< StructType * >::const_iterator const_iterator
std::vector< StructType * >::iterator iterator
iterator erase(iterator I, iterator E)
LLVM Value Representation.
TypeFinder - Walk over a module, identifying all of the types that are used by the module...