Home
last modified time | relevance | path

Searched refs:IsSame (Results 1 – 20 of 20) sorted by relevance

/llvm-project-15.0.7/clang/test/Modules/
H A Dpartial_specialization.cppm10 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 Dp2.cpp62 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 DTestArm64InstEmulation.cpp282 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 DTypeTraits.h37 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 DFMA.h28 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 DFMA.h29 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 DLongDoubleBits.h103 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 Dmath_utils.h75 cpp::IsSame<T, float>::Value || cpp::IsSame<T, double>::Value;
/llvm-project-15.0.7/libc/utils/MPFRWrapper/
H A DMPFRUtils.h263 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 DMPFRUtils.cpp124 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 DFPBits.h107 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 Dsanitizer_type_traits_test.cpp21 TEST(SanitizerCommon, IsSame) { in TEST() argument
/llvm-project-15.0.7/libc/test/src/
H A DCMakeLists.txt101 # Only include we need is the include for cpp::IsSame and our generated
/llvm-project-15.0.7/lldb/include/lldb/Symbol/
H A DUnwindPlan.h88 bool IsSame() const { return m_type == same; } in IsSame() function
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dcoroutines-exp-namespace.cpp1063 static constexpr bool IsSame = IsSameV<T, U>; member
H A Dcoroutines.cpp1084 static constexpr bool IsSame = IsSameV<T, U>; member
/llvm-project-15.0.7/lldb/source/Target/
H A DRegisterContextUnwind.cpp1543 if (unwindplan_regloc.IsSame()) { in SavedLocationForRegister()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTokenKinds.def546 TYPE_TRAIT_2(__is_same, IsSame, KEYCXX)
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp2222 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 DSemaTemplate.cpp8741 bool IsSame = Context.isSameEntity(NewDecl, OldConcept); in CheckConceptRedefinition() local
8742 if (!IsSame) { in CheckConceptRedefinition()