[llvm-commits] [poolalloc] r49392 - /poolalloc/trunk/include/poolalloc/PoolAllocate.h
John Criswell
criswell at uiuc.edu
Tue Apr 8 11:51:34 PDT 2008
Author: criswell
Date: Tue Apr 8 13:51:34 2008
New Revision: 49392
URL: http://llvm.org/viewvc/llvm-project?rev=49392&view=rev
Log:
Added a few more interfaces that are needed by the PoolAllocate analysis group.
Modified:
poolalloc/trunk/include/poolalloc/PoolAllocate.h
Modified: poolalloc/trunk/include/poolalloc/PoolAllocate.h
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/include/poolalloc/PoolAllocate.h?rev=49392&r1=49391&r2=49392&view=diff
==============================================================================
--- poolalloc/trunk/include/poolalloc/PoolAllocate.h (original)
+++ poolalloc/trunk/include/poolalloc/PoolAllocate.h Tue Apr 8 13:51:34 2008
@@ -115,9 +115,15 @@
public:
static char ID;
+ Constant *PoolRegister;
+
virtual ~PoolAllocateGroup () {}
virtual PA::FuncInfo *getFuncInfo(Function &F) { return 0;}
virtual PA::FuncInfo *getFuncInfoOrClone(Function &F) {return 0;}
+ virtual Function *getOrigFunctionFromClone(Function *F) const {return 0;}
+
+ virtual const Type * getPoolType() {return 0;}
+
virtual DSGraph & getDSGraph (const Function & F) const {
return ECGraphs->getDSGraph (F);
}
@@ -155,9 +161,6 @@
Constant *PoolInit, *PoolDestroy, *PoolAlloc, *PoolRealloc, *PoolMemAlign;
Constant *PoolFree;
Constant *PoolStrdup;
-#if defined(SAFECODE) || defined(BOUNDS_CHECK)
- Constant *PoolRegister;
-#endif
static const Type *PoolDescPtrTy;
More information about the llvm-commits
mailing list