Deleted Added
full compact
FindUsedTypes.h (208954) FindUsedTypes.h (212904)
1//===- llvm/Analysis/FindUsedTypes.h - Find all Types in use ----*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 12 unchanged lines hidden (view full) ---

21
22class Type;
23class Value;
24
25class FindUsedTypes : public ModulePass {
26 std::set<const Type *> UsedTypes;
27public:
28 static char ID; // Pass identification, replacement for typeid
1//===- llvm/Analysis/FindUsedTypes.h - Find all Types in use ----*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 12 unchanged lines hidden (view full) ---

21
22class Type;
23class Value;
24
25class FindUsedTypes : public ModulePass {
26 std::set<const Type *> UsedTypes;
27public:
28 static char ID; // Pass identification, replacement for typeid
29 FindUsedTypes() : ModulePass(&ID) {}
29 FindUsedTypes() : ModulePass(ID) {}
30
31 /// getTypes - After the pass has been run, return the set containing all of
32 /// the types used in the module.
33 ///
34 const std::set<const Type *> &getTypes() const { return UsedTypes; }
35
36 /// Print the types found in the module. If the optional Module parameter is
37 /// passed in, then the types are printed symbolically if possible, using the

--- 27 unchanged lines hidden ---
30
31 /// getTypes - After the pass has been run, return the set containing all of
32 /// the types used in the module.
33 ///
34 const std::set<const Type *> &getTypes() const { return UsedTypes; }
35
36 /// Print the types found in the module. If the optional Module parameter is
37 /// passed in, then the types are printed symbolically if possible, using the

--- 27 unchanged lines hidden ---