/external/llvm/include/llvm/Support/ |
D | Casting.h | 32 template<typename From> struct simplify_type { struct 39 template<typename From> struct simplify_type<const From> { argument 40 typedef typename simplify_type<From>::SimpleType NonConstSimpleType; 46 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val)); 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; 193 typename simplify_type<SimpleFrom>::SimpleType>::doit( 194 simplify_type<From>::getSimplifiedValue(Val)); [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Casting.h | 32 template<typename From> struct simplify_type { struct 39 template<typename From> struct simplify_type<const From> { argument 40 typedef typename simplify_type<From>::SimpleType NonConstSimpleType; 46 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val)); 113 typename simplify_type<SimpleFrom>::SimpleType>::doit( 114 simplify_type<const From>::getSimplifiedValue(Val)); 133 typename simplify_type<const Y>::SimpleType>::doit(Val); 182 typename simplify_type<From>::SimpleType>::ret_type ret_type; 192 typename simplify_type<SimpleFrom>::SimpleType>::doit( 193 simplify_type<From>::getSimplifiedValue(Val)); [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | Casting.h | 33 template<typename From> struct simplify_type { struct 40 template<typename From> struct simplify_type<const From> { argument 41 using NonConstSimpleType = typename simplify_type<From>::SimpleType; 48 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val)); 123 typename simplify_type<SimpleFrom>::SimpleType>::doit( 124 simplify_type<const From>::getSimplifiedValue(Val)); 143 typename simplify_type<const Y>::SimpleType>::doit(Val); 210 To, From, typename simplify_type<From>::SimpleType>::ret_type; 220 typename simplify_type<SimpleFrom>::SimpleType>::doit( 221 simplify_type<From>::getSimplifiedValue(Val)); [all …]
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | Casting.h | 33 template<typename From> struct simplify_type { struct 40 template<typename From> struct simplify_type<const From> { argument 41 using NonConstSimpleType = typename simplify_type<From>::SimpleType; 48 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val)); 122 typename simplify_type<SimpleFrom>::SimpleType>::doit( 123 simplify_type<const From>::getSimplifiedValue(Val)); 143 typename simplify_type<const Y>::SimpleType>::doit(Val); 215 To, From, typename simplify_type<From>::SimpleType>::ret_type; 225 typename simplify_type<SimpleFrom>::SimpleType>::doit( 226 simplify_type<From>::getSimplifiedValue(Val)); [all …]
|
/external/llvm/unittests/Support/ |
D | Casting.cpp | 69 template <> struct simplify_type<foo> { struct 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, 88 static_assert(std::is_same<simplify_type<foo *>::SimpleType, foo *>::value, 262 template <> struct simplify_type<pointer_wrappers::PTy> { struct 268 template <> struct simplify_type<const pointer_wrappers::PTy> { struct
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Use.h | 34 template <typename> struct simplify_type; 116 template <> struct simplify_type<Use> { 121 template <> struct simplify_type<const Use> {
|
D | TrackingMDRef.h | 145 template <> struct simplify_type<TrackingMDRef> { 151 template <> struct simplify_type<const TrackingMDRef> { 159 template <class T> struct simplify_type<TypedTrackingMDRef<T>> { 167 template <class T> struct simplify_type<const TypedTrackingMDRef<T>> {
|
D | ValueHandle.h | 167 template <> struct simplify_type<WeakVH> { 172 template <> struct simplify_type<const WeakVH> { 231 template <> struct simplify_type<WeakTrackingVH> { 236 template <> struct simplify_type<const WeakTrackingVH> {
|
/external/llvm/include/llvm/IR/ |
D | TrackingMDRef.h | 137 template <> struct simplify_type<TrackingMDRef> { 142 template <> struct simplify_type<const TrackingMDRef> { 149 template <class T> struct simplify_type<TypedTrackingMDRef<T>> { 156 template <class T> struct simplify_type<const TypedTrackingMDRef<T>> {
|
D | Use.h | 37 template <typename> struct simplify_type; 150 template <> struct simplify_type<Use> { 154 template <> struct simplify_type<const Use> {
|
D | ValueHandle.h | 23 template<typename From> struct simplify_type; 168 template <> struct simplify_type<WeakVH> { 172 template <> struct simplify_type<const WeakVH> {
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | TrackingMDRef.h | 137 template <> struct simplify_type<TrackingMDRef> { 142 template <> struct simplify_type<const TrackingMDRef> { 149 template <class T> struct simplify_type<TypedTrackingMDRef<T>> { 156 template <class T> struct simplify_type<const TypedTrackingMDRef<T>> {
|
D | Use.h | 37 template <typename> struct simplify_type; 142 template <> struct simplify_type<Use> { 146 template <> struct simplify_type<const Use> {
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | TrackingMDRef.h | 145 template <> struct simplify_type<TrackingMDRef> { 151 template <> struct simplify_type<const TrackingMDRef> { 159 template <class T> struct simplify_type<TypedTrackingMDRef<T>> { 167 template <class T> struct simplify_type<const TypedTrackingMDRef<T>> {
|
D | Use.h | 34 template <typename> struct simplify_type; 165 template <> struct simplify_type<Use> { 170 template <> struct simplify_type<const Use> {
|
D | ValueHandle.h | 163 template <> struct simplify_type<WeakVH> { 168 template <> struct simplify_type<const WeakVH> { 227 template <> struct simplify_type<WeakTrackingVH> { 232 template <> struct simplify_type<const WeakTrackingVH> {
|
/external/llvm-project/llvm/unittests/Support/ |
D | Casting.cpp | 80 template <> struct simplify_type<foo> { struct 91 static_assert(std::is_same<simplify_type<Use>::SimpleType, Value *>::value, 93 static_assert(std::is_same<simplify_type<Use *>::SimpleType, Value *>::value, 97 static_assert(std::is_same<simplify_type<foo>::SimpleType, int>::value, 99 static_assert(std::is_same<simplify_type<foo *>::SimpleType, foo *>::value, 342 template <> struct simplify_type<pointer_wrappers::PTy> { struct 348 template <> struct simplify_type<const pointer_wrappers::PTy> { struct
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | ilist_iterator.h | 166 template <typename From> struct simplify_type; 173 struct simplify_type<ilist_iterator<OptionsT, false, IsConst>> { 180 struct simplify_type<const ilist_iterator<OptionsT, false, IsConst>> 181 : simplify_type<ilist_iterator<OptionsT, false, IsConst>> {};
|
D | IntrusiveRefCntPtr.h | 268 template <typename From> struct simplify_type; 270 template<class T> struct simplify_type<IntrusiveRefCntPtr<T>> { 277 template<class T> struct simplify_type<const IntrusiveRefCntPtr<T>> {
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | ilist_iterator.h | 178 template <typename From> struct simplify_type; 185 struct simplify_type<ilist_iterator<OptionsT, false, IsConst>> { 192 struct simplify_type<const ilist_iterator<OptionsT, false, IsConst>> 193 : simplify_type<ilist_iterator<OptionsT, false, IsConst>> {};
|
D | IntrusiveRefCntPtr.h | 282 template <typename From> struct simplify_type; 284 template <class T> struct simplify_type<IntrusiveRefCntPtr<T>> { 292 template <class T> struct simplify_type<const IntrusiveRefCntPtr<T>> {
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | ilist_iterator.h | 179 template <typename From> struct simplify_type; 186 struct simplify_type<ilist_iterator<OptionsT, false, IsConst>> { 193 struct simplify_type<const ilist_iterator<OptionsT, false, IsConst>> 194 : simplify_type<ilist_iterator<OptionsT, false, IsConst>> {};
|
D | IntrusiveRefCntPtr.h | 249 template <typename From> struct simplify_type; 251 template <class T> struct simplify_type<IntrusiveRefCntPtr<T>> { 259 template <class T> struct simplify_type<const IntrusiveRefCntPtr<T>> {
|
/external/llvm/include/llvm/ADT/ |
D | IntrusiveRefCntPtr.h | 270 template <typename From> struct simplify_type; 272 template<class T> struct simplify_type<IntrusiveRefCntPtr<T> > { 279 template<class T> struct simplify_type<const IntrusiveRefCntPtr<T> > {
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | AssumptionCache.h | 252 template<> struct simplify_type<AssumptionCache::ResultElem> { 259 template<> struct simplify_type<const AssumptionCache::ResultElem> {
|