Home
last modified time | relevance | path

Searched refs:is_same_v (Results 1 – 25 of 77) sorted by relevance

1234

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpStack.h154 if constexpr (std::is_same_v<T, Pointer>) in toPrimType()
156 else if constexpr (std::is_same_v<T, bool> || in toPrimType()
157 std::is_same_v<T, Boolean>) in toPrimType()
159 else if constexpr (std::is_same_v<T, int8_t> || in toPrimType()
160 std::is_same_v<T, Integral<8, true>>) in toPrimType()
162 else if constexpr (std::is_same_v<T, uint8_t> || in toPrimType()
163 std::is_same_v<T, Integral<8, false>>) in toPrimType()
165 else if constexpr (std::is_same_v<T, int16_t> || in toPrimType()
166 std::is_same_v<T, Integral<16, true>>) in toPrimType()
168 else if constexpr (std::is_same_v<T, uint16_t> || in toPrimType()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DOptionValue.h274 if constexpr (std::is_same_v<T, uint64_t>) in GetValueAs()
276 if constexpr (std::is_same_v<T, int64_t>) in GetValueAs()
278 if constexpr (std::is_same_v<T, bool>) in GetValueAs()
280 if constexpr (std::is_same_v<T, char>) in GetValueAs()
282 if constexpr (std::is_same_v<T, lldb::Format>) in GetValueAs()
284 if constexpr (std::is_same_v<T, FileSpec>) in GetValueAs()
286 if constexpr (std::is_same_v<T, FileSpecList>) in GetValueAs()
288 if constexpr (std::is_same_v<T, lldb::LanguageType>) in GetValueAs()
290 if constexpr (std::is_same_v<T, llvm::StringRef>) in GetValueAs()
292 if constexpr (std::is_same_v< in GetValueAs()
[all...]
/freebsd/contrib/llvm-project/libcxx/include/__compare/
H A Dcommon_comparison_category.h31 if (is_same_v<_Tp, partial_ordering>)
33 if (is_same_v<_Tp, weak_ordering>)
35 if (is_same_v<_Tp, strong_ordering>)
H A Dweak_order.h38 requires is_same_v<decay_t<_Tp>, decay_t<_Up>>
47 requires is_same_v<_Dp, decay_t<_Up>> && is_floating_point_v<_Dp>
73 requires is_same_v<decay_t<_Tp>, decay_t<_Up>>
81 requires is_same_v<decay_t<_Tp>, decay_t<_Up>>
H A Dstrong_order.h45 requires is_same_v<decay_t<_Tp>, decay_t<_Up>>
54 requires is_same_v<_Dp, decay_t<_Up>> && is_floating_point_v<_Dp>
99 if constexpr (is_same_v<_IntType, void>) { in __go()
117 requires is_same_v<decay_t<_Tp>, decay_t<_Up>>
H A Dpartial_order.h36 requires is_same_v<decay_t<_Tp>, decay_t<_Up>>
45 requires is_same_v<decay_t<_Tp>, decay_t<_Up>>
53 requires is_same_v<decay_t<_Tp>, decay_t<_Up>>
H A Dcompare_strong_order_fallback.h32 requires is_same_v<decay_t<_Tp>, decay_t<_Up>>
40 requires is_same_v<decay_t<_Tp>, decay_t<_Up>>
H A Dcompare_weak_order_fallback.h32 requires is_same_v<decay_t<_Tp>, decay_t<_Up>>
40 requires is_same_v<decay_t<_Tp>, decay_t<_Up>>
H A Dcompare_partial_order_fallback.h32 requires is_same_v<decay_t<_Tp>, decay_t<_Up>>
40 requires is_same_v<decay_t<_Tp>, decay_t<_Up>>
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/
H A DEmulateInstructionRISCV.cpp189 std::is_same_v<T, LB> || std::is_same_v<T, LH> || std::is_same_v<T, LW> ||
190 std::is_same_v<T, LD> || std::is_same_v<T, LBU> || std::is_same_v<T, LHU> ||
191 std::is_same_v<T, LWU>;
194 constexpr bool is_store = std::is_same_v<T, SB> || std::is_same_v<T, SH> ||
195 std::is_same_v<T, SW> || std::is_same_v<T, SD>;
199 std::is_same_v<T, AMOADD_W> || std::is_same_v<T, AMOADD_D>;
203 std::is_same_v<T, AMOXOR_W> || std::is_same_v<T, AMOXOR_D> ||
204 std::is_same_v<T, AMOAND_W> || std::is_same_v<T, AMOAND_D> ||
205 std::is_same_v<T, AMOOR_W> || std::is_same_v<T, AMOOR_D>;
209 std::is_same_v<T, AMOSWAP_W> || std::is_same_v<T, AMOSWAP_D>;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__math/
H A Dhypot.h98 …std::is_same_v<_A1, __result_type> && std::is_same_v<_A2, __result_type> && std::is_same_v<_A3, __… in hypot()
/freebsd/contrib/llvm-project/libcxx/include/__string/
H A Dconstexpr_c_functions.h56 if constexpr (is_same_v<_Tp, char>) in __constexpr_strlen()
138 if constexpr (is_same_v<remove_cv_t<_Tp>, char> && is_same_v<remove_cv_t<_Up>, char>) in __constexpr_memchr()
/freebsd/contrib/llvm-project/libcxx/include/__expected/
H A Dexpected.h448 …static_assert(!is_reference_v<_Tp> && !is_function_v<_Tp> && !is_same_v<remove_cv_t<_Tp>, in_place…
449 … !is_same_v<remove_cv_t<_Tp>, unexpect_t> && !__is_std_unexpected<remove_cv_t<_Tp>>::value &&
554 …requires(!is_same_v<remove_cvref_t<_Up>, in_place_t> && !is_same_v<expected, remove_cvref_t<_Up>> …
556 (!is_same_v<remove_cv_t<_Tp>, bool> || !__is_std_expected<remove_cvref_t<_Up>>::value))
668 …requires(!is_same_v<expected, remove_cvref_t<_Up>> && !__is_std_unexpected<remove_cvref_t<_Up>>::v…
922 static_assert(is_same_v<typename _Up::error_type, _Err>,
935 static_assert(is_same_v<typename _Up::error_type, _Err>,
949 static_assert(is_same_v<typename _Up::error_type, _Err>,
963 static_assert(is_same_v<typename _Up::error_type, _Err>,
976 static_assert(is_same_v<typename _Gp::value_type, _Tp>,
[all …]
H A Dunexpected.h70 requires(!is_same_v<remove_cvref_t<_Error>, unexpected> && //
71 !is_same_v<remove_cvref_t<_Error>, in_place_t> && //
/freebsd/contrib/llvm-project/libcxx/include/experimental/__simd/
H A Dsimd_mask.h48 …template <class _Up, enable_if_t<!is_same_v<_Up, _Tp> && is_same_v<abi_type, simd_abi::fixed_size<…
H A Dsimd.h53 enable_if_t<!is_same_v<_Up, _Tp> && is_same_v<abi_type, simd_abi::fixed_size<size()>> &&
/freebsd/contrib/llvm-project/libcxx/include/__functional/
H A Dboyer_moore_searcher.h99 is_integral_v<value_type> && sizeof(value_type) == 1 && is_same_v<_Hash, hash<value_type>> &&
100 is_same_v<_BinaryPredicate, equal_to<>>>;
230 is_integral_v<value_type> && sizeof(value_type) == 1 && is_same_v<_Hash, hash<value_type>> &&
231 is_same_v<_BinaryPredicate, equal_to<>>>;
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DFormatVariadicDetails.h84 std::is_same_v<decltype(std::declval<llvm::raw_ostream &>()
150 !std::is_same_v<llvm::Error, std::remove_cv_t<T>>, in build_format_adapter()
H A DTrailingObjects.h313 std::is_same_v<Foo<TrailingTys...>, Foo<Tys...>>, size_t>
325 std::is_same_v<Foo<TrailingTys...>, Foo<Tys...>>, size_t>
/freebsd/contrib/llvm-project/libcxx/include/__type_traits/
H A Dmake_32_64_or_128_bit.h31 requires(is_signed_v<_Tp> || is_unsigned_v<_Tp> || is_same_v<_Tp, char>)
H A Dis_same.h26 inline constexpr bool is_same_v = __is_same(_Tp, _Up); variable
/freebsd/contrib/llvm-project/libcxx/include/
H A Dexecution134 if constexpr (is_same_v<_ExecutionPolicy, execution::parallel_policy>) {
136 } else if constexpr (is_same_v<_ExecutionPolicy, execution::parallel_unsequenced_policy>) {
H A Doptional588 static_assert(!is_same_v<__remove_cvref_t<value_type>, in_place_t>,
590 static_assert(!is_same_v<__remove_cvref_t<value_type>, nullopt_t>,
611 … (!is_same_v<remove_cv_t<_Tp>, bool> || !__is_std_optional<__remove_cvref_t<_Up>>::value),
635 (is_same_v<remove_cv_t<_Tp>, bool> || !__check_constructible_from_opt<_Up>::value);
640 (is_same_v<remove_cv_t<_Tp>, bool> || !__check_constructible_from_opt<_Up>::value);
907 … static_assert(!is_same_v<_Up, in_place_t>, "Result of f(value()) should not be std::in_place_t");
908 static_assert(!is_same_v<_Up, nullopt_t>, "Result of f(value()) should not be std::nullopt_t");
919 … static_assert(!is_same_v<_Up, in_place_t>, "Result of f(value()) should not be std::in_place_t");
920 static_assert(!is_same_v<_Up, nullopt_t>, "Result of f(value()) should not be std::nullopt_t");
931 …static_assert(!is_same_v<_Up, in_place_t>, "Result of f(std::move(value())) should not be std::in_…
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp591 if (std::is_same_v<smax_pred_ty, typename MaxMinT::PredType>) in convertToSCEVype()
593 else if (std::is_same_v<umax_pred_ty, typename MaxMinT::PredType>) in convertToSCEVype()
595 else if (std::is_same_v<smin_pred_ty, typename MaxMinT::PredType>) in convertToSCEVype()
597 else if (std::is_same_v<umin_pred_ty, typename MaxMinT::PredType>) in convertToSCEVype()
/freebsd/contrib/llvm-project/libcxx/include/__thread/
H A Dformatter.h61 static_assert(!is_same_v<_Cp, void>, "unsupported thread::id type, please file a bug report");

1234