/external/llvm/include/llvm/Support/ |
H A D | Casting.h | 32 template<typename From> struct simplify_type { struct in namespace:llvm 39 template<typename From> struct simplify_type<const From> { struct in namespace:llvm 40 typedef typename simplify_type<From>::SimpleType NonConstSimpleType; 46 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val)); 110 // the simplify_type template. 113 typename simplify_type<SimpleFrom>::SimpleType>::doit( 114 simplify_type<const From>::getSimplifiedValue(Val)); 134 typename simplify_type<const Y>::SimpleType>::doit(Val); 183 typename simplify_type<From>::SimpleType>::ret_type ret_type; 186 // Ensure the non-simple values are converted using the simplify_type templat [all...] |
/external/llvm/include/llvm/IR/ |
H A D | TrackingMDRef.h | 142 template <> struct simplify_type<TrackingMDRef> { struct in namespace:llvm 147 template <> struct simplify_type<const TrackingMDRef> { struct in namespace:llvm 154 template <class T> struct simplify_type<TypedTrackingMDRef<T>> { struct in namespace:llvm 161 template <class T> struct simplify_type<const TypedTrackingMDRef<T>> { struct in namespace:llvm
|
H A D | Use.h | 40 template <typename> struct simplify_type; 159 template <> struct simplify_type<Use> { struct in namespace:llvm 163 template <> struct simplify_type<const Use> { struct in namespace:llvm
|
H A D | ValueHandle.h | 23 template<typename From> struct simplify_type; 160 // Specialize simplify_type to allow WeakVH to participate in 162 template<> struct simplify_type<WeakVH> { struct in namespace:llvm
|
H A D | Metadata.h | 628 template <> struct simplify_type<MDOperand> { struct 633 template <> struct simplify_type<const MDOperand> { struct
|
/external/llvm/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 270 template <typename From> struct simplify_type; 272 template<class T> struct simplify_type<IntrusiveRefCntPtr<T> > { struct in namespace:llvm 279 template<class T> struct simplify_type<const IntrusiveRefCntPtr<T> > { struct in namespace:llvm
|
H A D | ilist.h | 272 template<typename From> struct simplify_type; 274 template<typename NodeTy> struct simplify_type<ilist_iterator<NodeTy> > { struct in namespace:llvm 281 template<typename NodeTy> struct simplify_type<const ilist_iterator<NodeTy> > { struct in namespace:llvm
|
/external/llvm/unittests/Support/ |
H A D | Casting.cpp | 69 template <> struct simplify_type<foo> { struct in namespace:llvm 79 // Test the peculiar behavior of Use in simplify_type. 80 static_assert(std::is_same<simplify_type<Use>::SimpleType, Value *>::value, 82 static_assert(std::is_same<simplify_type<Use *>::SimpleType, Value *>::value, 86 static_assert(std::is_same<simplify_type<foo>::SimpleType, int>::value, 87 "Unexpected simplify_type result!"); 88 static_assert(std::is_same<simplify_type<foo *>::SimpleType, foo *>::value, 89 "Unexpected simplify_type result!"); 262 template <> struct simplify_type<pointer_wrappers::PTy> { struct in namespace:llvm 268 template <> struct simplify_type<cons struct in namespace:llvm [all...] |
/external/clang/include/clang/AST/ |
H A D | CanonicalType.h | 349 /// Implement simplify_type for CanQual<T>, so that we can dyn_cast from 353 struct simplify_type< ::clang::CanQual<T> > { struct in namespace:llvm
|
H A D | Type.h | 1014 /// Implement simplify_type for QualType, so that we can dyn_cast from QualType 1016 template<> struct simplify_type< ::clang::QualType> { struct in namespace:llvm
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | CallEvent.h | 1022 template<class T> struct simplify_type< clang::ento::CallEventRef<T> > { struct in namespace:llvm
|
/external/clang/include/clang/Analysis/ |
H A D | CFG.h | 989 /// Implement simplify_type for CFGTerminator, so that we can dyn_cast from 991 template <> struct simplify_type< ::clang::CFGTerminator> { struct in namespace:clang::llvm
|
/external/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAGNodes.h | 50 template <typename T> struct simplify_type; 215 template<> struct simplify_type<SDValue> { struct in namespace:llvm 221 template<> struct simplify_type<const SDValue> { struct in namespace:llvm 312 /// simplify_type specializations - Allow casting operators to work directly on 314 template<> struct simplify_type<SDUse> { struct in namespace:llvm
|