Searched refs:areContiguous (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/llvm/unittests/ADT/ |
D | BitFieldsTest.cpp | 195 TEST(BitfieldsTest, areContiguous) { in TEST() argument 199 EXPECT_TRUE((Bitfield::areContiguous<A, B>())); in TEST() 200 EXPECT_TRUE((Bitfield::areContiguous<A, B, C>())); in TEST() 202 EXPECT_FALSE((Bitfield::areContiguous<A, C>())); in TEST() 203 EXPECT_FALSE((Bitfield::areContiguous<A, A>())); in TEST() 204 EXPECT_FALSE((Bitfield::areContiguous<B, A>())); in TEST()
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | Bitfields.h | 280 template <typename A> static constexpr bool areContiguous() { return true; } 282 static constexpr bool areContiguous() { 283 return A::NextBit == B::FirstBit && areContiguous<B, Others...>();
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Instructions.h | 67 static_assert(Bitfield::areContiguous<AlignmentField, UsedWithInAllocaField, 179 Bitfield::areContiguous<VolatileField, AlignmentField, OrderingField>(), 308 Bitfield::areContiguous<VolatileField, AlignmentField, OrderingField>(), 562 Bitfield::areContiguous<VolatileField, WeakField, SuccessOrderingField, 777 static_assert(Bitfield::areContiguous<VolatileField, AtomicOrderingField, 1647 Bitfield::areContiguous<TailCallKindField, CallBase::CallingConvField>(),
|
D | InstrTypes.h | 1172 Bitfield::areContiguous<CallInstReservedField, CallingConvField>(),
|