/external/llvm-project/mlir/include/mlir/IR/ |
D | Visitors.h | 94 typename RetT = decltype(std::declval<FuncTy>()(std::declval<ArgT>()))> 96 llvm::is_one_of<ArgT, Operation *, Region *, Block *>::value, RetT>::type 98 return walk(op, function_ref<RetT(ArgT)>(callback)); in walk() 109 typename RetT = decltype(std::declval<FuncTy>()(std::declval<ArgT>()))> 112 std::is_same<RetT, void>::value, 113 RetT>::type 119 return detail::walk(op, function_ref<RetT(Operation *)>(wrapperFn)); in walk() 134 typename RetT = decltype(std::declval<FuncTy>()(std::declval<ArgT>()))> 137 std::is_same<RetT, WalkResult>::value, 138 RetT>::type [all …]
|
D | Block.h | 255 template <typename FnT, typename RetT = detail::walkResultType<FnT>> 256 RetT walk(FnT &&callback) { in walk() 264 template <typename FnT, typename RetT = detail::walkResultType<FnT>> 265 typename std::enable_if<std::is_same<RetT, void>::value, RetT>::type 275 template <typename FnT, typename RetT = detail::walkResultType<FnT>> 276 typename std::enable_if<std::is_same<RetT, WalkResult>::value, RetT>::type
|
D | Region.h | 248 template <typename FnT, typename RetT = detail::walkResultType<FnT>> 249 typename std::enable_if<std::is_same<RetT, void>::value, RetT>::type 258 template <typename FnT, typename RetT = detail::walkResultType<FnT>> 259 typename std::enable_if<std::is_same<RetT, WalkResult>::value, RetT>::type
|
D | Diagnostics.h | 421 template <typename FuncTy, typename RetT = decltype(std::declval<FuncTy>()( 423 std::enable_if_t<std::is_same<RetT, void>::value, HandlerID>
|
D | Operation.h | 524 template <typename FnT, typename RetT = detail::walkResultType<FnT>> 525 RetT walk(FnT &&callback) { in walk()
|
D | BuiltinAttributes.h | 1372 template <typename RetT, template <typename> class ProcessFn, 1374 RetT process(Args &...args) const {
|
D | OpDefinition.h | 227 template <typename FnT, typename RetT = detail::walkResultType<FnT>> 228 RetT walk(FnT &&callback) { in walk()
|
/external/llvm-project/libc/test/ |
D | ErrnoSetterMatcher.h | 55 template <typename RetT = int> 56 static internal::ErrnoSetterMatcher<RetT> Succeeds(RetT ExpectedReturn = 0, 61 template <typename RetT = int> 62 static internal::ErrnoSetterMatcher<RetT> Fails(int ExpectedErrno, 63 RetT ExpectedReturn = -1) {
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/ |
D | visitor_util.h | 111 typename RetT = decltype(std::declval<FuncTy>()( 114 RetT>::type 117 op, llvm::function_ref<RetT(ArgT, const WalkStage &)>(callback)); in GenericWalk() 127 typename RetT = decltype(std::declval<FuncTy>()( 130 std::is_same<RetT, void>::value, 131 RetT>::type 151 typename RetT = decltype(std::declval<FuncTy>()( 154 std::is_same<RetT, mlir::WalkResult>::value, 155 RetT>::type
|
/external/llvm-project/libcxx/test/std/utilities/function.objects/func.not_fn/ |
D | not_fn.pass.cpp | 262 using RetT = decltype(std::not_fn(std::move(value))); in constructor_tests() typedef 263 static_assert(std::is_move_constructible<RetT>::value, ""); in constructor_tests() 264 static_assert(!std::is_copy_constructible<RetT>::value, ""); in constructor_tests() 265 static_assert(!std::is_move_assignable<RetT>::value, ""); in constructor_tests() 266 static_assert(!std::is_copy_assignable<RetT>::value, ""); in constructor_tests() 283 using RetT = decltype(std::not_fn(value)); in constructor_tests() typedef 284 static_assert(std::is_move_constructible<RetT>::value, ""); in constructor_tests() 285 static_assert(std::is_copy_constructible<RetT>::value, ""); in constructor_tests() 286 static_assert(!std::is_move_assignable<RetT>::value, ""); in constructor_tests() 287 static_assert(!std::is_copy_assignable<RetT>::value, ""); in constructor_tests() [all …]
|
/external/libcxx/test/std/utilities/function.objects/func.not_fn/ |
D | not_fn.pass.cpp | 263 using RetT = decltype(std::not_fn(std::move(value))); in constructor_tests() typedef 264 static_assert(std::is_move_constructible<RetT>::value, ""); in constructor_tests() 265 static_assert(!std::is_copy_constructible<RetT>::value, ""); in constructor_tests() 266 static_assert(!std::is_move_assignable<RetT>::value, ""); in constructor_tests() 267 static_assert(!std::is_copy_assignable<RetT>::value, ""); in constructor_tests() 284 using RetT = decltype(std::not_fn(value)); in constructor_tests() typedef 285 static_assert(std::is_move_constructible<RetT>::value, ""); in constructor_tests() 286 static_assert(std::is_copy_constructible<RetT>::value, ""); in constructor_tests() 287 static_assert(!std::is_move_assignable<RetT>::value, ""); in constructor_tests() 288 static_assert(!std::is_copy_assignable<RetT>::value, ""); in constructor_tests() [all …]
|
/external/webrtc/api/ |
D | function_view.h | 44 template <typename RetT, typename... ArgT> 45 class FunctionView<RetT(ArgT...)> final { 93 RetT operator()(ArgT... args) const { in operator() 108 static RetT CallVoidPtr(VoidUnion vu, ArgT... args) { in CallVoidPtr() 112 static RetT CallFunPtr(VoidUnion vu, ArgT... args) { in CallFunPtr() 125 RetT (*call_)(VoidUnion, ArgT...);
|
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/RPC/ |
D | RPCUtils.h | 143 template <typename DerivedFunc, typename RetT, typename... ArgTs> 144 class Function<DerivedFunc, RetT(ArgTs...)> { 147 using Type = RetT(ArgTs...); 150 using ReturnType = RetT; 157 << RPCTypeName<RetT>::getName() << " " << DerivedFunc::getName() in getPrototype() 204 template <typename RetT, typename... ArgTs> 205 class FunctionArgsTuple<RetT(ArgTs...)> { 212 template <typename RetT> class ResultTraits { 215 using ErrorReturnType = Expected<RetT>; 219 using ReturnPromiseType = std::promise<MSVCPExpected<RetT>>; [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/RPC/ |
D | RPCUtils.h | 143 template <typename DerivedFunc, typename RetT, typename... ArgTs> 144 class Function<DerivedFunc, RetT(ArgTs...)> { 147 using Type = RetT(ArgTs...); 150 using ReturnType = RetT; 157 << RPCTypeName<RetT>::getName() << " " << DerivedFunc::getName() in getPrototype() 205 template <typename RetT, typename... ArgTs> 206 class FunctionArgsTuple<RetT(ArgTs...)> { 214 template <typename RetT> class ResultTraits { 217 using ErrorReturnType = Expected<RetT>; 221 using ReturnPromiseType = std::promise<MSVCPExpected<RetT>>; [all …]
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | exhaustive_op_test_utils.cc | 159 template <typename RetT, 160 typename std::enable_if<!is_complex_t<RetT>::value>::type* = nullptr> 161 RetT FromCacheLocationComponent(int cache_loc) { in FromCacheLocationComponent() 164 return std::numeric_limits<RetT>::min(); in FromCacheLocationComponent() 166 return -std::numeric_limits<RetT>::min(); in FromCacheLocationComponent() 168 return static_cast<RetT>(0.0); in FromCacheLocationComponent() 170 return static_cast<RetT>(-0.0); in FromCacheLocationComponent() 176 template <typename RetT, 177 typename std::enable_if<is_complex_t<RetT>::value>::type* = nullptr> 178 RetT FromCacheLocationComponent(int cache_loc) { in FromCacheLocationComponent() [all …]
|
/external/llvm/include/llvm/Support/ |
D | Error.h | 446 template <typename C, typename RetT, typename ErrT> 447 class ErrorHandlerTraits<RetT (C::*)(ErrT &)> 448 : public ErrorHandlerTraits<RetT (&)(ErrT &)> {}; 451 template <typename C, typename RetT, typename ErrT> 452 class ErrorHandlerTraits<RetT (C::*)(ErrT &) const> 453 : public ErrorHandlerTraits<RetT (&)(ErrT &)> {}; 456 template <typename C, typename RetT, typename ErrT> 457 class ErrorHandlerTraits<RetT (C::*)(const ErrT &)> 458 : public ErrorHandlerTraits<RetT (&)(ErrT &)> {}; 461 template <typename C, typename RetT, typename ErrT> [all …]
|
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
D | RPCUtils.h | 83 template <typename FunctionIdT, FunctionIdT FuncId, typename RetT, 85 class FunctionHelper<FunctionIdT, FuncId, RetT(ArgTs...)> { 94 typedef Optional<RetT> OptionalReturn; 96 typedef Expected<RetT> ErrorReturn; 105 RetT Val; in readResult() 192 FunctionIdT FuncId, typename RetT, typename... ArgTs> 194 FunctionHelper<FunctionIdT, FuncId, RetT(ArgTs...)>> { 211 FunctionIdT FuncId, typename RetT, typename... ArgTs> 213 FunctionHelper<FunctionIdT, FuncId, RetT(ArgTs...)>> { 221 typedef FunctionHelper<FunctionIdT, FuncId, RetT(ArgTs...)> Func; [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Error.h | 466 template <typename C, typename RetT, typename ErrT> 467 class ErrorHandlerTraits<RetT (C::*)(ErrT &)> 468 : public ErrorHandlerTraits<RetT (&)(ErrT &)> {}; 471 template <typename C, typename RetT, typename ErrT> 472 class ErrorHandlerTraits<RetT (C::*)(ErrT &) const> 473 : public ErrorHandlerTraits<RetT (&)(ErrT &)> {}; 476 template <typename C, typename RetT, typename ErrT> 477 class ErrorHandlerTraits<RetT (C::*)(const ErrT &)> 478 : public ErrorHandlerTraits<RetT (&)(ErrT &)> {}; 481 template <typename C, typename RetT, typename ErrT> [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | Error.h | 849 template <typename C, typename RetT, typename ErrT> 850 class ErrorHandlerTraits<RetT (C::*)(ErrT &)> 851 : public ErrorHandlerTraits<RetT (&)(ErrT &)> {}; 854 template <typename C, typename RetT, typename ErrT> 855 class ErrorHandlerTraits<RetT (C::*)(ErrT &) const> 856 : public ErrorHandlerTraits<RetT (&)(ErrT &)> {}; 859 template <typename C, typename RetT, typename ErrT> 860 class ErrorHandlerTraits<RetT (C::*)(const ErrT &)> 861 : public ErrorHandlerTraits<RetT (&)(ErrT &)> {}; 864 template <typename C, typename RetT, typename ErrT> [all …]
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | Error.h | 853 template <typename C, typename RetT, typename ErrT> 854 class ErrorHandlerTraits<RetT (C::*)(ErrT &)> 855 : public ErrorHandlerTraits<RetT (&)(ErrT &)> {}; 858 template <typename C, typename RetT, typename ErrT> 859 class ErrorHandlerTraits<RetT (C::*)(ErrT &) const> 860 : public ErrorHandlerTraits<RetT (&)(ErrT &)> {}; 863 template <typename C, typename RetT, typename ErrT> 864 class ErrorHandlerTraits<RetT (C::*)(const ErrT &)> 865 : public ErrorHandlerTraits<RetT (&)(ErrT &)> {}; 868 template <typename C, typename RetT, typename ErrT> [all …]
|
/external/llvm-project/clang/test/SemaCXX/ |
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()
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | bugprone-redundant-branch-condition.cpp | 1078 class RetT { in positive_expr_with_cleanups() class 1080 RetT(const int _code) : code_(_code) {} in positive_expr_with_cleanups() function in positive_expr_with_cleanups::RetT 1082 static RetT Test(bool &_isSet) { return 0; } in positive_expr_with_cleanups() 1089 if (RetT::Test(isSet).Ok() && isSet) { in positive_expr_with_cleanups() 1090 if (RetT::Test(isSet).Ok() && isSet) { in positive_expr_with_cleanups() 1096 if ((RetT::Test(isSet).Ok() && isSet)) { in positive_expr_with_cleanups()
|
/external/llvm-project/clang/utils/TableGen/ |
D | NeonEmitter.cpp | 995 Type RetT = getReturnType(); in getBuiltinTypeStr() local 996 if ((LocalCK == ClassI || LocalCK == ClassW) && RetT.isScalar() && in getBuiltinTypeStr() 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() [all …]
|
/external/clang/utils/TableGen/ |
D | NeonEmitter.cpp | 1002 Type RetT = getReturnType(); in getBuiltinTypeStr() local 1003 if ((LocalCK == ClassI || LocalCK == ClassW) && RetT.isScalar() && in getBuiltinTypeStr() 1004 !RetT.isFloating()) in getBuiltinTypeStr() 1005 RetT.makeInteger(RetT.getElementSizeInBits(), false); in getBuiltinTypeStr() 1011 if (RetT.getNumVectors() > 1) { in getBuiltinTypeStr() 1014 if (RetT.isPoly()) in getBuiltinTypeStr() 1015 RetT.makeInteger(RetT.getElementSizeInBits(), false); in getBuiltinTypeStr() 1016 if (!RetT.isScalar() && !RetT.isSigned()) in getBuiltinTypeStr() 1017 RetT.makeSigned(); in getBuiltinTypeStr() 1020 if (LocalCK == ClassB && !RetT.isScalar() && !ForcedVectorFloatingType) in getBuiltinTypeStr() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaInit.cpp | 6936 QualType RetT = FD->getReturnType(); in implicitObjectParamIsLifetimeBound() local 6937 if (RetT->isLValueReferenceType()) { in implicitObjectParamIsLifetimeBound() 6945 if (Ctx.hasSameType(RetT, LHST)) in implicitObjectParamIsLifetimeBound()
|