aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/MemoryBuiltins.h
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2012-06-21 16:58:41 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2012-06-21 16:58:41 +0000
commit10cefaab3fa4270396fa57b3286ab9860fafb60d (patch)
tree0aee2911dbe2919cc64e3ad4324f852eadc4709e /include/llvm/Analysis/MemoryBuiltins.h
parent034dd6c6a118cf78ebfa6bf3496cd5b0df578a9e (diff)
downloadexternal_llvm-10cefaab3fa4270396fa57b3286ab9860fafb60d.zip
external_llvm-10cefaab3fa4270396fa57b3286ab9860fafb60d.tar.gz
external_llvm-10cefaab3fa4270396fa57b3286ab9860fafb60d.tar.bz2
move some typedefs so that we don't polute the llvm namespace. this should appease the GCC buildbots
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158924 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/MemoryBuiltins.h')
-rw-r--r--include/llvm/Analysis/MemoryBuiltins.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/llvm/Analysis/MemoryBuiltins.h b/include/llvm/Analysis/MemoryBuiltins.h
index ab4a3f3..c212bbb 100644
--- a/include/llvm/Analysis/MemoryBuiltins.h
+++ b/include/llvm/Analysis/MemoryBuiltins.h
@@ -192,9 +192,6 @@ public:
};
typedef std::pair<Value*, Value*> SizeOffsetEvalType;
-typedef IRBuilder<true, TargetFolder> BuilderTy;
-typedef DenseMap<const Value*, SizeOffsetEvalType> CacheMapTy;
-typedef SmallPtrSet<const Value*, 8> PtrSetTy;
/// \brief Evaluate the size and offset of an object ponted by a Value*.
@@ -202,6 +199,10 @@ typedef SmallPtrSet<const Value*, 8> PtrSetTy;
class ObjectSizeOffsetEvaluator
: public InstVisitor<ObjectSizeOffsetEvaluator, SizeOffsetEvalType> {
+ typedef IRBuilder<true, TargetFolder> BuilderTy;
+ typedef DenseMap<const Value*, SizeOffsetEvalType> CacheMapTy;
+ typedef SmallPtrSet<const Value*, 8> PtrSetTy;
+
const TargetData *TD;
LLVMContext &Context;
BuilderTy Builder;