Home
last modified time | relevance | path

Searched refs:simplify_type (Results 1 – 25 of 43) sorted by relevance

12

/external/swiftshader/third_party/LLVM/include/llvm/Support/
DValueHandle.h155 template<typename From> struct simplify_type;
156 template<> struct simplify_type<const WeakVH> {
162 template<> struct simplify_type<WeakVH> : public simplify_type<const WeakVH> {};
231 template<typename From> struct simplify_type;
232 template<> struct simplify_type<const AssertingVH<Value> > {
238 template<> struct simplify_type<AssertingVH<Value> >
239 : public simplify_type<const AssertingVH<Value> > {};
340 template<typename From> struct simplify_type;
341 template<> struct simplify_type<const TrackingVH<Value> > {
347 template<> struct simplify_type<TrackingVH<Value> >
[all …]
DCasting.h30 template<typename From> struct simplify_type { struct
37 template<typename From> struct simplify_type<const From> { argument
40 return simplify_type<From>::getSimplifiedValue(static_cast<From&>(Val));
90 typename simplify_type<SimpleFrom>::SimpleType>::doit(
91 simplify_type<From>::getSimplifiedValue(Val));
110 return isa_impl_wrap<X, Y, typename simplify_type<Y>::SimpleType>::doit(Val);
159 typename simplify_type<From>::SimpleType>::ret_type ret_type;
169 typename simplify_type<SimpleFrom>::SimpleType>::doit(
170 simplify_type<From>::getSimplifiedValue(Val));
196 typename simplify_type<Y>::SimpleType>::doit(Val);
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DCasting.h32 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/llvm/include/llvm/Support/
DCasting.h32 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-7.0/llvm/include/llvm/Support/
DCasting.h34 template<typename From> struct simplify_type { struct
41 template<typename From> struct simplify_type<const From> { argument
42 using NonConstSimpleType = typename simplify_type<From>::SimpleType;
49 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
124 typename simplify_type<SimpleFrom>::SimpleType>::doit(
125 simplify_type<const From>::getSimplifiedValue(Val));
144 typename simplify_type<const Y>::SimpleType>::doit(Val);
201 To, From, typename simplify_type<From>::SimpleType>::ret_type;
211 typename simplify_type<SimpleFrom>::SimpleType>::doit(
212 simplify_type<From>::getSimplifiedValue(Val));
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/
DUser.h144 template<> struct simplify_type<User::op_iterator> {
152 template<> struct simplify_type<const User::op_iterator>
153 : public simplify_type<User::op_iterator> {};
155 template<> struct simplify_type<User::const_op_iterator> {
163 template<> struct simplify_type<const User::const_op_iterator>
164 : public simplify_type<User::const_op_iterator> {};
DUse.h38 struct simplify_type;
150 template<> struct simplify_type<Use> {
156 template<> struct simplify_type<const Use> {
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DOptional.h50 template<typename T> struct simplify_type;
53 struct simplify_type<const Optional<T> > {
61 struct simplify_type<Optional<T> >
62 : public simplify_type<const Optional<T> > {};
DIntrusiveRefCntPtr.h216 template<class T> struct simplify_type<IntrusiveRefCntPtr<T> > {
223 template<class T> struct simplify_type<const IntrusiveRefCntPtr<T> > {
/external/llvm/unittests/Support/
DCasting.cpp69 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/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DCasting.cpp81 template <> struct simplify_type<foo> { struct
92 static_assert(std::is_same<simplify_type<Use>::SimpleType, Value *>::value,
94 static_assert(std::is_same<simplify_type<Use *>::SimpleType, Value *>::value,
98 static_assert(std::is_same<simplify_type<foo>::SimpleType, int>::value,
100 static_assert(std::is_same<simplify_type<foo *>::SimpleType, foo *>::value,
337 template <> struct simplify_type<pointer_wrappers::PTy> { struct
343 template <> struct simplify_type<const pointer_wrappers::PTy> { struct
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DTrackingMDRef.h137 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>> {
DUse.h37 template <typename> struct simplify_type;
142 template <> struct simplify_type<Use> {
146 template <> struct simplify_type<const Use> {
DUser.h271 template<> struct simplify_type<User::op_iterator> {
277 template<> struct simplify_type<User::const_op_iterator> {
/external/llvm/include/llvm/IR/
DTrackingMDRef.h137 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>> {
DUse.h37 template <typename> struct simplify_type;
150 template <> struct simplify_type<Use> {
154 template <> struct simplify_type<const Use> {
DValueHandle.h23 template<typename From> struct simplify_type;
168 template <> struct simplify_type<WeakVH> {
172 template <> struct simplify_type<const WeakVH> {
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DTrackingMDRef.h146 template <> struct simplify_type<TrackingMDRef> {
152 template <> struct simplify_type<const TrackingMDRef> {
160 template <class T> struct simplify_type<TypedTrackingMDRef<T>> {
168 template <class T> struct simplify_type<const TypedTrackingMDRef<T>> {
DUse.h35 template <typename> struct simplify_type;
166 template <> struct simplify_type<Use> {
171 template <> struct simplify_type<const Use> {
DValueHandle.h164 template <> struct simplify_type<WeakVH> {
169 template <> struct simplify_type<const WeakVH> {
209 template <> struct simplify_type<WeakTrackingVH> {
214 template <> struct simplify_type<const WeakTrackingVH> {
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
Dilist_iterator.h166 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>> {};
DIntrusiveRefCntPtr.h268 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
Dilist_iterator.h180 template <typename From> struct simplify_type;
187 struct simplify_type<ilist_iterator<OptionsT, false, IsConst>> {
194 struct simplify_type<const ilist_iterator<OptionsT, false, IsConst>>
195 : simplify_type<ilist_iterator<OptionsT, false, IsConst>> {};
DIntrusiveRefCntPtr.h250 template <typename From> struct simplify_type;
252 template <class T> struct simplify_type<IntrusiveRefCntPtr<T>> {
260 template <class T> struct simplify_type<const IntrusiveRefCntPtr<T>> {
/external/llvm/include/llvm/ADT/
DIntrusiveRefCntPtr.h270 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> > {

12