[llvm-commits] CVS: llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp PoolAllocate.h
Chris Lattner
lattner at cs.uiuc.edu
Sat Mar 12 04:11:04 PST 2005
Changes in directory llvm-poolalloc/lib/PoolAllocate:
PointerCompress.cpp updated: 1.53 -> 1.54
PoolAllocate.h updated: 1.44 -> 1.45
---
Log message:
Move EquivClassGraphs out of llvm::PA into the llvm ns
---
Diffs of the changes: (+6 -6)
PointerCompress.cpp | 6 +++---
PoolAllocate.h | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
Index: llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp
diff -u llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp:1.53 llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp:1.54
--- llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp:1.53 Sat Mar 12 05:55:30 2005
+++ llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp Sat Mar 12 06:10:52 2005
@@ -88,7 +88,7 @@
/// data structures to reduce the size of pointers in the program.
class PointerCompress : public ModulePass {
PoolAllocate *PoolAlloc;
- PA::EquivClassGraphs *ECG;
+ EquivClassGraphs *ECG;
/// ClonedFunctionMap - Every time we clone a function to compress its
/// arguments, keep track of the clone and which arguments are compressed.
@@ -1039,7 +1039,7 @@
AU.addRequired<PoolAllocatePassAllPools>();
// Need information from DSA.
- AU.addRequired<PA::EquivClassGraphs>();
+ AU.addRequired<EquivClassGraphs>();
}
/// PoolIsCompressible - Return true if we can pointer compress this node.
@@ -1418,7 +1418,7 @@
bool PointerCompress::runOnModule(Module &M) {
PoolAlloc = &getAnalysis<PoolAllocatePassAllPools>();
- ECG = &getAnalysis<PA::EquivClassGraphs>();
+ ECG = &getAnalysis<EquivClassGraphs>();
if (SmallIntCompress)
MEMUINTTYPE = Type::UShortTy;
Index: llvm-poolalloc/lib/PoolAllocate/PoolAllocate.h
diff -u llvm-poolalloc/lib/PoolAllocate/PoolAllocate.h:1.44 llvm-poolalloc/lib/PoolAllocate/PoolAllocate.h:1.45
--- llvm-poolalloc/lib/PoolAllocate/PoolAllocate.h:1.44 Sun Feb 27 15:32:27 2005
+++ llvm-poolalloc/lib/PoolAllocate/PoolAllocate.h Sat Mar 12 06:10:52 2005
@@ -31,10 +31,10 @@
class DSGraph;
class Type;
class AllocaInst;
+class EquivClassGraphs;
namespace PA {
- class EquivClassGraphs;
class Heuristic;
/// FuncInfo - Represent the pool allocation information for one function in
@@ -104,7 +104,7 @@
bool PassAllArguments;
Module *CurModule;
- PA::EquivClassGraphs *ECGraphs;
+ EquivClassGraphs *ECGraphs;
std::map<Function*, PA::FuncInfo> FunctionInfo;
std::map<Function*, Function*> CloneToOrigMap;
@@ -129,7 +129,7 @@
virtual void getAnalysisUsage(AnalysisUsage &AU) const;
- PA::EquivClassGraphs &getECGraphs() const { return *ECGraphs; }
+ EquivClassGraphs &getECGraphs() const { return *ECGraphs; }
/// getOrigFunctionFromClone - Given a pointer to a function that was cloned
/// from another function, return the original function. If the argument
More information about the llvm-commits
mailing list