Lines Matching refs:ret_type
146 typedef To& ret_type; // Normal case, return Ty&
149 typedef const To &ret_type; // Normal case, return Ty&
153 typedef To* ret_type; // Pointer arg case, return Ty*
157 typedef const To* ret_type; // Constant pointer arg case, return const Ty*
161 typedef const To* ret_type; // Constant pointer arg case, return const Ty*
170 typedef typename cast_retty<To, SimpleFrom>::ret_type ret_type;
176 typedef typename cast_retty_impl<To,FromTy>::ret_type ret_type;
182 typename simplify_type<From>::SimpleType>::ret_type ret_type;
190 static typename cast_retty<To, From>::ret_type doit(From &Val) {
199 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
200 typename cast_retty<To, FromTy>::ret_type Res2
201 = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
220 typename cast_retty<X, const Y>::ret_type>::type
228 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
235 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
247 typename cast_retty<X, const Y>::ret_type>::type
258 typename cast_retty<X, Y>::ret_type>::type
267 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
286 typename cast_retty<X, const Y>::ret_type>::type
292 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
297 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
307 typename cast_retty<X, const Y>::ret_type>::type
315 typename cast_retty<X, Y>::ret_type>::type
321 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type