| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | partial_specialization.cppm | 10 inline constexpr bool IsSame = false; 13 inline constexpr bool IsSame<T, T> = true; 19 ~A() noexcept(IsSame<T, T>); 33 bool_consume(IsSame); // expected-error {{use of undeclared identifier 'IsSame'}}
|
| /llvm-project-15.0.7/clang/test/CXX/over/over.match/over.match.funcs/over.match.class.deduct/ |
| H A D | p2.cpp | 62 template <typename X, typename Y> struct IsSame { struct 66 template <typename Z> struct IsSame<Z, Z> { struct 80 static_assert(IsSame<decltype(opt), Optional<int>>::value); in main() 81 static_assert(IsSame<decltype(dupe), Optional<int>>::value); in main() 82 static_assert(!IsSame<decltype(dupe), Optional<Optional<int>>>::value); in main()
|
| /llvm-project-15.0.7/lldb/unittests/UnwindAssembly/ARM64/ |
| H A D | TestArm64InstEmulation.cpp | 282 EXPECT_TRUE(regloc.IsSame()); in TEST_F() 285 EXPECT_TRUE(regloc.IsSame()); in TEST_F() 293 EXPECT_TRUE(regloc.IsSame()); in TEST_F() 296 EXPECT_TRUE(regloc.IsSame()); in TEST_F() 307 EXPECT_TRUE(regloc.IsSame()); in TEST_F() 310 EXPECT_TRUE(regloc.IsSame()); in TEST_F() 651 EXPECT_TRUE(regloc.IsSame()); in TEST_F() 654 EXPECT_TRUE(regloc.IsSame()); in TEST_F() 657 EXPECT_TRUE(regloc.IsSame()); in TEST_F() 660 EXPECT_TRUE(regloc.IsSame()); in TEST_F() [all …]
|
| /llvm-project-15.0.7/libc/src/__support/CPP/ |
| H A D | TypeTraits.h | 37 template <typename T1, typename T2> struct IsSame : public FalseValue {}; 38 template <typename T> struct IsSame<T, T> : public TrueValue {}; 40 static constexpr bool IsSameV = IsSame<T1, T2>::Value; 82 static constexpr bool Value = IsSame<float, TypeNoCV>::Value || 83 IsSame<double, TypeNoCV>::Value || 84 IsSame<long double, TypeNoCV>::Value;
|
| /llvm-project-15.0.7/libc/src/__support/FPUtil/aarch64/ |
| H A D | FMA.h | 28 cpp::EnableIfType<cpp::IsSame<T, float>::Value, T> fma(T x, T y, T z) { in fma() 37 cpp::EnableIfType<cpp::IsSame<T, double>::Value, T> fma(T x, T y, T z) { in fma()
|
| /llvm-project-15.0.7/libc/src/__support/FPUtil/x86_64/ |
| H A D | FMA.h | 29 static inline cpp::EnableIfType<cpp::IsSame<T, float>::Value, T> fma(T x, T y, in fma() 41 static inline cpp::EnableIfType<cpp::IsSame<T, double>::Value, T> fma(T x, T y, in fma()
|
| H A D | LongDoubleBits.h | 103 cpp::EnableIfType<cpp::IsSame<long double, XType>::Value, int> = 0> 111 cpp::EnableIfType<cpp::IsSame<XType, UIntType>::Value, int> = 0>
|
| /llvm-project-15.0.7/libc/src/math/generic/ |
| H A D | math_utils.h | 75 cpp::IsSame<T, float>::Value || cpp::IsSame<T, double>::Value;
|
| /llvm-project-15.0.7/libc/utils/MPFRWrapper/ |
| H A D | MPFRUtils.h | 263 cpp::IsSame<InputType, OutputType>::Value && 268 cpp::IsSame<OutputType, BinaryOutput<InputType>>::Value) || 272 cpp::IsSame<InputType, BinaryInput<OutputType>>::Value) || 280 cpp::IsSame<InputType, TernaryInput<OutputType>>::Value);
|
| H A D | MPFRUtils.cpp | 124 cpp::EnableIfType<cpp::IsSame<float, XType>::Value, int> = 0> 134 cpp::EnableIfType<cpp::IsSame<double, XType>::Value, int> = 0> 144 cpp::EnableIfType<cpp::IsSame<long double, XType>::Value, int> = 0>
|
| /llvm-project-15.0.7/libc/src/__support/FPUtil/ |
| H A D | FPBits.h | 107 cpp::EnableIfType<cpp::IsSame<T, XType>::Value, int> = 0> 112 cpp::EnableIfType<cpp::IsSame<XType, UIntType>::Value, int> = 0>
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_type_traits_test.cpp | 21 TEST(SanitizerCommon, IsSame) { in TEST() argument
|
| /llvm-project-15.0.7/libc/test/src/ |
| H A D | CMakeLists.txt | 101 # Only include we need is the include for cpp::IsSame and our generated
|
| /llvm-project-15.0.7/lldb/include/lldb/Symbol/ |
| H A D | UnwindPlan.h | 88 bool IsSame() const { return m_type == same; } in IsSame() function
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | coroutines-exp-namespace.cpp | 1063 static constexpr bool IsSame = IsSameV<T, U>; member
|
| H A D | coroutines.cpp | 1084 static constexpr bool IsSame = IsSameV<T, U>; member
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | RegisterContextUnwind.cpp | 1543 if (unwindplan_regloc.IsSame()) { in SavedLocationForRegister()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | TokenKinds.def | 546 TYPE_TRAIT_2(__is_same, IsSame, KEYCXX)
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 2222 auto &&IsSame = [VL](ArrayRef<Value *> Scalars, ArrayRef<int> Mask) { in isSame() 2240 return IsSame(Scalars, Mask); in isSame() 2243 return IsSame(Scalars, Mask); in isSame() 2247 return IsSame(Scalars, ReuseShuffleIndices); in isSame()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplate.cpp | 8741 bool IsSame = Context.isSameEntity(NewDecl, OldConcept); in CheckConceptRedefinition() local 8742 if (!IsSame) { in CheckConceptRedefinition()
|