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

Synopsis

Declared in <llvm/IR/TypeFinder.h>

class TypeFinder;

Type Aliases

Name

Description

const_iterator

Const iterator over the collected struct types.

iterator

Mutable iterator over the collected struct types.

Member Functions

Name

Description

TypeFinder [constructor]

Construct an empty TypeFinder.

begin

begin overloads

clear

Reset the finder to an empty state, clearing all visited sets.

empty

Return true if no struct types have been collected.

end

end overloads

erase

Erase the collected struct types in the half‐open range []`I,` E).

getVisitedMetadata

Return the set of metadata nodes already visited during the search.

operator[]

Return a reference to the collected struct type at Idx.

run

Walk M and collect the struct types it uses.

size

Return the number of collected struct types.

Created with MrDocs