#include "llvm/Pass.h"
#include <set>
-class SymbolTable;
+
+namespace llvm {
+
class Type;
class FindUsedTypes : public Pass {
///
void IncorporateType(const Type *Ty);
- /// IncorporateSymbolTable - Include any named types.
+ /// IncorporateValue - Incorporate all of the types used by this value.
///
- void IncorporateSymbolTable(const SymbolTable &ST);
+ void IncorporateValue(const Value *V);
public:
/// run - This incorporates all types used by the specified module
static IncludeFile
FIND_USED_TYPES_INCLUDE_FILE((void*)&FindUsedTypes::stub);
+} // End llvm namespace
+
#endif