If we discover all of the named structs in a module, then don't bother to

process any more Values.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155241 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling
2012-04-20 21:56:24 +00:00
parent 3429c7571e
commit 64c7af8900
3 changed files with 72 additions and 20 deletions

View File

@ -309,6 +309,9 @@ public:
/// is none by that name.
StructType *getTypeByName(StringRef Name) const;
/// getNumNamedStructTypes - Return the number of named struct types.
unsigned getNumNamedStructTypes() const;
/// @}
/// @name Function Accessors
/// @{