Home
last modified time | relevance | path

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

123

/freebsd-14.2/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()
162 else if constexpr (std::is_same_v<T, uint8_t> || in toPrimType()
165 else if constexpr (std::is_same_v<T, int16_t> || in toPrimType()
168 else if constexpr (std::is_same_v<T, uint16_t> || in toPrimType()
171 else if constexpr (std::is_same_v<T, int32_t> || in toPrimType()
174 else if constexpr (std::is_same_v<T, uint32_t> || in toPrimType()
177 else if constexpr (std::is_same_v<T, int64_t> || in toPrimType()
[all …]
/freebsd-14.2/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<T, ArchSpec>) in GetValueAs()
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__compare/
H A Dcommon_comparison_category.h31 if (is_same_v<_Tp, partial_ordering>) in __type_to_enum()
33 if (is_same_v<_Tp, weak_ordering>) in __type_to_enum()
35 if (is_same_v<_Tp, strong_ordering>) in __type_to_enum()
H A Dweak_order.h34 requires is_same_v<decay_t<_Tp>, decay_t<_Up>>
43 requires is_same_v<_Dp, decay_t<_Up>> && is_floating_point_v<_Dp>
69 requires is_same_v<decay_t<_Tp>, decay_t<_Up>>
77 requires is_same_v<decay_t<_Tp>, decay_t<_Up>>
H A Dstrong_order.h40 requires is_same_v<decay_t<_Tp>, decay_t<_Up>>
49 requires is_same_v<_Dp, decay_t<_Up>> && is_floating_point_v<_Dp>
94 if constexpr (is_same_v<_IntType, void>) { in __go()
112 requires is_same_v<decay_t<_Tp>, decay_t<_Up>>
H A Dpartial_order.h34 requires is_same_v<decay_t<_Tp>, decay_t<_Up>>
43 requires is_same_v<decay_t<_Tp>, decay_t<_Up>>
51 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-14.2/contrib/llvm-project/libcxx/include/experimental/__simd/
H A Dutility.h37 is_arithmetic_v<_Tp> && !is_const_v<_Tp> && !is_volatile_v<_Tp> && !is_same_v<_Tp, bool>;
74 (!__is_vectorizable_v<_Up> && is_convertible_v<_Up, _Tp>) || is_same_v<_Up, int> ||
75 (is_same_v<_Up, unsigned int> && is_unsigned_v<_Tp>);
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()>> &&
H A Dreference.h39 if constexpr (is_same_v<_Vp, bool>) in __set()
/freebsd-14.2/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> ||
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>;
213 std::is_same_v<T, AMOMIN_W> || std::is_same_v<T, AMOMIN_D> ||
214 std::is_same_v<T, AMOMAX_W> || std::is_same_v<T, AMOMAX_D> ||
215 std::is_same_v<T, AMOMINU_W> || std::is_same_v<T, AMOMINU_D> ||
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__expected/
H A Dexpected.h556 …requires(!is_same_v<remove_cvref_t<_Up>, in_place_t> && !is_same_v<expected, remove_cvref_t<_Up>> …
924 static_assert(is_same_v<typename _Up::error_type, _Err>,
937 static_assert(is_same_v<typename _Up::error_type, _Err>,
978 static_assert(is_same_v<typename _Gp::value_type, _Tp>,
991 static_assert(is_same_v<typename _Gp::value_type, _Tp>,
1005 static_assert(is_same_v<typename _Gp::value_type, _Tp>,
1019 static_assert(is_same_v<typename _Gp::value_type, _Tp>,
1702 static_assert(is_same_v<typename _Gp::value_type, _Tp>,
1714 static_assert(is_same_v<typename _Gp::value_type, _Tp>,
1727 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-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DFormatVariadicDetails.h83 std::is_same_v<decltype(std::declval<llvm::raw_ostream &>()
149 !std::is_same_v<llvm::Error, std::remove_cv_t<T>>, in build_format_adapter()
H A DMathExtras.h106 if constexpr (std::is_same_v<T, uint8_t>) in reverseBits()
110 if constexpr (std::is_same_v<T, uint16_t>) in reverseBits()
114 if constexpr (std::is_same_v<T, uint32_t>) in reverseBits()
118 if constexpr (std::is_same_v<T, uint64_t>) in reverseBits()
/freebsd-14.2/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-14.2/contrib/llvm-project/libcxx/include/
H A Dexecution135 if constexpr (is_same_v<_ExecutionPolicy, execution::parallel_policy>) {
137 } else if constexpr (is_same_v<_ExecutionPolicy, execution::parallel_unsequenced_policy>) {
/freebsd-14.2/contrib/llvm-project/libcxx/include/__string/
H A Dconstexpr_c_functions.h123 if constexpr (is_same_v<remove_cv_t<_Tp>, char> && is_same_v<remove_cv_t<_Up>, char>) in __constexpr_memchr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp580 if (std::is_same_v<smax_pred_ty, typename MaxMinT::PredType>) in convertToSCEVype()
582 else if (std::is_same_v<umax_pred_ty, typename MaxMinT::PredType>) in convertToSCEVype()
584 else if (std::is_same_v<smin_pred_ty, typename MaxMinT::PredType>) in convertToSCEVype()
586 else if (std::is_same_v<umin_pred_ty, typename MaxMinT::PredType>) in convertToSCEVype()
/freebsd-14.2/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");

123