Searched refs:IsAligned (Results 1 – 5 of 5) sorted by relevance
44 static_assert(IsAligned(6, 2));45 static_assert(!IsAligned(6, 4));46 static_assert(IsAligned<2>(6));47 static_assert(!IsAligned<4>(6));48 static_assert(IsAligned<2>(RawInt8(6)));49 static_assert(!IsAligned<4>(RawInt8(6)));50 static_assert(IsAligned<2>(SatInt8(6)));51 static_assert(!IsAligned<4>(SatInt8(6)));52 static_assert(IsAligned<2>(Int8(6)));53 static_assert(!IsAligned<4>(Int8(6)));
31 ASSERT_TRUE(IsAligned(p, align)); in CheckOneAllocation()
141 constexpr bool IsAligned(T x) { in IsAligned() function146 constexpr bool IsAligned(T x, size_t align) { in IsAligned() function151 constexpr bool IsAligned(Raw<T> x) { in IsAligned() function152 return IsAligned<kAlign>(x.value); in IsAligned()156 constexpr bool IsAligned(Saturating<T> x) { in IsAligned() function157 return IsAligned<kAlign>(x.value); in IsAligned()161 constexpr bool IsAligned(Wrapping<T> x) { in IsAligned() function162 return IsAligned<kAlign>(x.value); in IsAligned()167 constexpr bool IsAligned(T* p, size_t align) { in IsAligned() function168 return IsAligned<kAlign>(reinterpret_cast<uintptr_t>(p), align); in IsAligned()[all …]
42 return IsAligned(x, kPageSize); in IsAlignedPageSize()
923 if (!IsAligned<kIndexRegistersInvolved>(args.idx)) { in OpVector()1039 if (!IsAligned<kNumRegistersInGroup>(dst)) {1214 if (!IsAligned<kRegistersInvolved>(dst | src1)) { in OpVectorGather()2141 if (!IsAligned<kRegistersInvolved>(args.src2)) { in OpVector()2830 if (!IsAligned<kIndexRegistersInvolved>(args.idx)) { in OpVector()2895 if (!IsAligned<kNumRegistersInGroup>(data)) {3012 if (!IsAligned<kRegistersInvolved>(dst)) { in OpVectorVidv()3153 if (!IsAligned<kRegistersInvolved>(dst | src)) { in OpVectorVmvXrv()3218 if (!IsAligned<kRegistersInvolved>(OrValuesOnlyForType<Vec>(args...))) { in OpVectorToMask()3280 if (!IsAligned<kRegistersInvolved>(dst | src | (dst_mask | ... | 0))) { in OpVectorv()[all …]