From 6252f6ea11a05d6e4c340e7dd26e37daa29c5cc1 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 23 Jul 2010 08:53:17 +0000 Subject: Revert 109220. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109221 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Use.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'include/llvm/Use.h') diff --git a/include/llvm/Use.h b/include/llvm/Use.h index e1ebc6a51b..2759338f42 100644 --- a/include/llvm/Use.h +++ b/include/llvm/Use.h @@ -210,6 +210,30 @@ public: unsigned getOperandNo() const; }; + +template<> struct simplify_type > { + typedef User* SimpleType; + + static SimpleType getSimplifiedValue(const value_use_iterator &Val) { + return *Val; + } +}; + +template<> struct simplify_type > + : public simplify_type > {}; + +template<> struct simplify_type > { + typedef const User* SimpleType; + + static SimpleType getSimplifiedValue(const + value_use_iterator &Val) { + return *Val; + } +}; + +template<> struct simplify_type > + : public simplify_type > {}; + } // End llvm namespace #endif -- cgit v1.2.3