| /llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
| H A D | WrapperFunctionUtils.h | 208 template <typename RetT, typename... ArgTs, 241 template <typename RetT, typename... ArgTs, 320 template <typename RetT, typename... ArgTs, 379 static RetT makeValue() { return RetT(); } in makeValue() 380 static void makeSafe(RetT &Result) {} in makeSafe() 439 template <typename RetT> 478 using RetT = typename std::tuple_element< in callAsync() local 495 RetT RetVal = detail::ResultDeserializer<SPSRetTagT, RetT>::makeValue(); in callAsync() 616 MethodWrapperHandler<RetT, ClassT, ArgTs...> 671 template <typename SPSRetT, typename RetT> [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | Visitors.h | 190 std::is_same<RetT, void>::value, 191 RetT>::type 225 std::is_same<RetT, WalkResult>::value, 226 RetT>::type 262 typename RetT = decltype(std::declval<FuncTy>()( 277 typename RetT = decltype(std::declval<FuncTy>()( 280 std::is_same<RetT, void>::value, 281 RetT>::type 302 typename RetT = decltype(std::declval<FuncTy>()( 305 std::is_same<RetT, WalkResult>::value, [all …]
|
| H A D | Block.h | 272 typename RetT = detail::walkResultType<FnT>> 273 RetT walk(FnT &&callback) { in walk() 288 typename RetT = detail::walkResultType<FnT>> 289 typename std::enable_if<std::is_same<RetT, void>::value, RetT>::type 307 typename RetT = detail::walkResultType<FnT>> 308 typename std::enable_if<std::is_same<RetT, WalkResult>::value, RetT>::type
|
| H A D | Region.h | 277 typename RetT = detail::walkResultType<FnT>> 278 typename std::enable_if<std::is_same<RetT, void>::value, RetT>::type 296 typename RetT = detail::walkResultType<FnT>> 297 typename std::enable_if<std::is_same<RetT, WalkResult>::value, RetT>::type
|
| H A D | Operation.h | 571 typename RetT = detail::walkResultType<FnT>> 573 llvm::function_traits<std::decay_t<FnT>>::num_args == 1, RetT>::type 599 template <typename FnT, typename RetT = detail::walkResultType<FnT>> 601 llvm::function_traits<std::decay_t<FnT>>::num_args == 2, RetT>::type
|
| H A D | Diagnostics.h | 438 template <typename FuncTy, typename RetT = decltype(std::declval<FuncTy>()( 440 std::enable_if_t<std::is_same<RetT, void>::value, HandlerID>
|
| H A D | OpDefinition.h | 143 typename RetT = detail::walkResultType<FnT>> 145 llvm::function_traits<std::decay_t<FnT>>::num_args == 1, RetT>::type 171 template <typename FnT, typename RetT = detail::walkResultType<FnT>> 173 llvm::function_traits<std::decay_t<FnT>>::num_args == 2, RetT>::type
|
| /llvm-project-15.0.7/compiler-rt/lib/orc/ |
| H A D | wrapper_function_utils.h | 155 template <typename RetT, typename... ArgTs, 188 template <typename RetT, typename... ArgTs, 213 static WrapperFunctionResult serialize(RetT Result) { in serialize() 237 static void makeSafe(RetT &Result) {} in makeSafe() 287 template <typename RetT> 291 template <typename RetT, typename... ArgTs> 380 using MethodT = RetT (ClassT::*)(ArgTs...); 382 RetT operator()(ExecutorAddr ObjAddr, ArgTs &...Args) { in operator() 392 MethodWrapperHandler<RetT, ClassT, ArgTs...> 442 template <typename SPSRetT, typename RetT> [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.bind_front/ |
| H A D | bind_front.pass.cpp | 330 using RetT = decltype(ret); in test() typedef 333 static_assert(!std::is_move_assignable<RetT>::value); in test() 334 static_assert(!std::is_copy_assignable<RetT>::value); in test() 351 using RetT = decltype(ret); in test() typedef 354 static_assert(!std::is_move_assignable<RetT>::value); in test() 355 static_assert(!std::is_copy_assignable<RetT>::value); in test() 359 using RetT = decltype(std::bind_front(value, 1)); in test() typedef 363 static_assert(std::is_move_assignable<RetT>::value); in test() 364 static_assert(std::is_copy_assignable<RetT>::value); in test() 372 static_assert( std::is_move_assignable<RetT>::value); in test() [all …]
|
| /llvm-project-15.0.7/libcxx/test/libcxx/utilities/function.objects/func.bind.partial/ |
| H A D | bind_back.pass.cpp | 333 using RetT = decltype(ret); in test() typedef 336 static_assert(!std::is_move_assignable<RetT>::value); in test() 337 static_assert(!std::is_copy_assignable<RetT>::value); in test() 354 using RetT = decltype(ret); in test() typedef 357 static_assert(!std::is_move_assignable<RetT>::value); in test() 358 static_assert(!std::is_copy_assignable<RetT>::value); in test() 362 using RetT = decltype(std::__bind_back(value, 1)); in test() typedef 366 static_assert(std::is_move_assignable<RetT>::value); in test() 367 static_assert(std::is_copy_assignable<RetT>::value); in test() 375 static_assert( std::is_move_assignable<RetT>::value); in test() [all …]
|
| /llvm-project-15.0.7/libc/test/ |
| H A D | ErrnoSetterMatcher.h | 56 template <typename RetT = int> 57 static internal::ErrnoSetterMatcher<RetT> Succeeds(RetT ExpectedReturn = 0, 62 template <typename RetT = int> 63 static internal::ErrnoSetterMatcher<RetT> Fails(int ExpectedErrno, 64 RetT ExpectedReturn = -1) {
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.not_fn/ |
| H A D | not_fn.pass.cpp | 93 using RetT = decltype(std::not_fn(std::move(value))); in constructor_tests() typedef 94 static_assert(std::is_move_constructible<RetT>::value, ""); in constructor_tests() 96 static_assert(!std::is_move_assignable<RetT>::value, ""); in constructor_tests() 97 static_assert(!std::is_copy_assignable<RetT>::value, ""); in constructor_tests() 114 using RetT = decltype(std::not_fn(value)); in constructor_tests() typedef 115 static_assert(std::is_move_constructible<RetT>::value, ""); in constructor_tests() 117 static_assert(!std::is_move_assignable<RetT>::value, ""); in constructor_tests() 118 static_assert(!std::is_copy_assignable<RetT>::value, ""); in constructor_tests() 139 using RetT = decltype(std::not_fn(value)); in constructor_tests() typedef 151 using RetT = decltype(std::not_fn(std::move(value))); in constructor_tests() typedef [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Error.h | 891 template <typename C, typename RetT, typename ErrT> 892 class ErrorHandlerTraits<RetT (C::*)(ErrT &)> 893 : public ErrorHandlerTraits<RetT (&)(ErrT &)> {}; 896 template <typename C, typename RetT, typename ErrT> 897 class ErrorHandlerTraits<RetT (C::*)(ErrT &) const> 898 : public ErrorHandlerTraits<RetT (&)(ErrT &)> {}; 901 template <typename C, typename RetT, typename ErrT> 902 class ErrorHandlerTraits<RetT (C::*)(const ErrT &)> 906 template <typename C, typename RetT, typename ErrT> 912 template <typename C, typename RetT, typename ErrT> [all …]
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | builtin-operator-new-delete.cpp | 145 template <class Tp, class Up, class RetT> 146 void test_dependent_call(Tp new_arg, Up delete_arg, RetT) { in test_dependent_call() argument 147 RetT ret = __builtin_operator_new(new_arg); in test_dependent_call()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | redundant-branch-condition.cpp | 1104 class RetT { in positive_expr_with_cleanups() class 1106 RetT(const int code); in positive_expr_with_cleanups() 1108 static RetT Test(bool isSet); in positive_expr_with_cleanups() 1115 if (RetT::Test(isSet).Ok() && isSet) { in positive_expr_with_cleanups() 1116 if (RetT::Test(isSet).Ok() && isSet) { in positive_expr_with_cleanups() 1122 if ((RetT::Test(isSet).Ok() && isSet)) { in positive_expr_with_cleanups()
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | NeonEmitter.cpp | 995 Type RetT = getReturnType(); in getBuiltinTypeStr() local 997 !RetT.isFloating() && !RetT.isBFloat16()) in getBuiltinTypeStr() 998 RetT.makeInteger(RetT.getElementSizeInBits(), false); in getBuiltinTypeStr() 1004 if (RetT.getNumVectors() > 1) { in getBuiltinTypeStr() 1007 if (RetT.isPoly()) in getBuiltinTypeStr() 1008 RetT.makeInteger(RetT.getElementSizeInBits(), false); in getBuiltinTypeStr() 1009 if (!RetT.isScalar() && RetT.isInteger() && !RetT.isSigned()) in getBuiltinTypeStr() 1010 RetT.makeSigned(); in getBuiltinTypeStr() 1012 if (LocalCK == ClassB && RetT.isValue() && !RetT.isScalar()) in getBuiltinTypeStr() 1014 RetT.makeInteger(8, true); in getBuiltinTypeStr() [all …]
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaInit.cpp | 7064 QualType RetT = FD->getReturnType(); in implicitObjectParamIsLifetimeBound() local 7065 if (RetT->isLValueReferenceType()) { in implicitObjectParamIsLifetimeBound() 7073 if (Ctx.hasSameType(RetT, LHST)) in implicitObjectParamIsLifetimeBound()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 293 template <typename DerivedT, typename RetT = void> class BuilderBase;
|