diff --git a/include/llvm/Analysis/MemoryBuiltins.h b/include/llvm/Analysis/MemoryBuiltins.h index ab4a3f3c131..c212bbbba1b 100644 --- a/include/llvm/Analysis/MemoryBuiltins.h +++ b/include/llvm/Analysis/MemoryBuiltins.h @@ -192,9 +192,6 @@ public: }; typedef std::pair SizeOffsetEvalType; -typedef IRBuilder BuilderTy; -typedef DenseMap CacheMapTy; -typedef SmallPtrSet PtrSetTy; /// \brief Evaluate the size and offset of an object ponted by a Value*. @@ -202,6 +199,10 @@ typedef SmallPtrSet PtrSetTy; class ObjectSizeOffsetEvaluator : public InstVisitor { + typedef IRBuilder BuilderTy; + typedef DenseMap CacheMapTy; + typedef SmallPtrSet PtrSetTy; + const TargetData *TD; LLVMContext &Context; BuilderTy Builder;