Home
last modified time | relevance | path

Searched refs:TrailingZeros (Results 1 – 18 of 18) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DPaddingChecker.cpp238 unsigned TrailingZeros = in calculateOptimalPad() local
243 long long CurAlignmentBits = 1ull << (std::min)(TrailingZeros, 62u); in calculateOptimalPad()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DPaddingChecker.cpp270 unsigned TrailingZeros = in calculateOptimalPad() local
275 long long CurAlignmentBits = 1ull << (std::min)(TrailingZeros, 62u); in calculateOptimalPad()
/external/openscreen/third_party/abseil/src/absl/container/internal/
Draw_hash_set.h192 int TrailingZeros(T x) {
234 return container_internal::TrailingZeros(mask_) >> Shift;
245 int TrailingZeros() const {
246 return container_internal::TrailingZeros(mask_) >> Shift;
383 return TrailingZeros(
442 return (TrailingZeros(((~ctrl & (ctrl >> 7)) | gaps) + 1) + 7) >> 3;
1529 static_cast<size_t>(empty_after.TrailingZeros() +
Draw_hash_set_test.cc141 EXPECT_EQ((BitMask<uint32_t, 16>(0x00001a40).TrailingZeros()), 6); in TEST()
144 EXPECT_EQ((BitMask<uint32_t, 16>(0x00000001).TrailingZeros()), 0); in TEST()
147 EXPECT_EQ((BitMask<uint32_t, 16>(0x00008000).TrailingZeros()), 15); in TEST()
150 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000008080808000).TrailingZeros()), 1); in TEST()
153 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000000000000080).TrailingZeros()), 0); in TEST()
156 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x8000000000000000).TrailingZeros()), 7); in TEST()
/external/angle/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set.h192 uint32_t TrailingZeros(T x) {
225 return container_internal::TrailingZeros(mask_) >> Shift;
234 uint32_t TrailingZeros() const {
235 return container_internal::TrailingZeros(mask_) >> Shift;
372 return TrailingZeros(static_cast<uint32_t>(
431 return (TrailingZeros(((~ctrl & (ctrl >> 7)) | gaps) + 1) + 7) >> 3;
1549 static_cast<size_t>(empty_after.TrailingZeros() +
Draw_hash_set_test.cc149 EXPECT_EQ((BitMask<uint32_t, 16>(0x00001a40).TrailingZeros()), 6); in TEST()
152 EXPECT_EQ((BitMask<uint32_t, 16>(0x00000001).TrailingZeros()), 0); in TEST()
155 EXPECT_EQ((BitMask<uint32_t, 16>(0x00008000).TrailingZeros()), 15); in TEST()
158 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000008080808000).TrailingZeros()), 1); in TEST()
161 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000000000000080).TrailingZeros()), 0); in TEST()
164 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x8000000000000000).TrailingZeros()), 7); in TEST()
/external/abseil-cpp/absl/container/internal/
Draw_hash_set.h177 int TrailingZeros(T x) {
219 return container_internal::TrailingZeros(mask_) >> Shift;
230 int TrailingZeros() const {
231 return container_internal::TrailingZeros(mask_) >> Shift;
368 return TrailingZeros(
427 return (TrailingZeros(((~ctrl & (ctrl >> 7)) | gaps) + 1) + 7) >> 3;
1455 static_cast<size_t>(empty_after.TrailingZeros() +
Draw_hash_set_test.cc140 EXPECT_EQ((BitMask<uint32_t, 16>(0x00001a40).TrailingZeros()), 6); in TEST()
143 EXPECT_EQ((BitMask<uint32_t, 16>(0x00000001).TrailingZeros()), 0); in TEST()
146 EXPECT_EQ((BitMask<uint32_t, 16>(0x00008000).TrailingZeros()), 15); in TEST()
149 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000008080808000).TrailingZeros()), 1); in TEST()
152 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000000000000080).TrailingZeros()), 0); in TEST()
155 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x8000000000000000).TrailingZeros()), 7); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set.h192 int TrailingZeros(T x) {
234 return container_internal::TrailingZeros(mask_) >> Shift;
245 int TrailingZeros() const {
246 return container_internal::TrailingZeros(mask_) >> Shift;
383 return TrailingZeros(
442 return (TrailingZeros(((~ctrl & (ctrl >> 7)) | gaps) + 1) + 7) >> 3;
1475 static_cast<size_t>(empty_after.TrailingZeros() +
Draw_hash_set_test.cc141 EXPECT_EQ((BitMask<uint32_t, 16>(0x00001a40).TrailingZeros()), 6); in TEST()
144 EXPECT_EQ((BitMask<uint32_t, 16>(0x00000001).TrailingZeros()), 0); in TEST()
147 EXPECT_EQ((BitMask<uint32_t, 16>(0x00008000).TrailingZeros()), 15); in TEST()
150 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000008080808000).TrailingZeros()), 1); in TEST()
153 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000000000000080).TrailingZeros()), 0); in TEST()
156 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x8000000000000000).TrailingZeros()), 7); in TEST()
/external/libtextclassifier/abseil-cpp/absl/container/internal/
Draw_hash_set.h192 int TrailingZeros(T x) {
234 return container_internal::TrailingZeros(mask_) >> Shift;
245 int TrailingZeros() const {
246 return container_internal::TrailingZeros(mask_) >> Shift;
383 return TrailingZeros(
442 return (TrailingZeros(((~ctrl & (ctrl >> 7)) | gaps) + 1) + 7) >> 3;
1475 static_cast<size_t>(empty_after.TrailingZeros() +
Draw_hash_set_test.cc141 EXPECT_EQ((BitMask<uint32_t, 16>(0x00001a40).TrailingZeros()), 6); in TEST()
144 EXPECT_EQ((BitMask<uint32_t, 16>(0x00000001).TrailingZeros()), 0); in TEST()
147 EXPECT_EQ((BitMask<uint32_t, 16>(0x00008000).TrailingZeros()), 15); in TEST()
150 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000008080808000).TrailingZeros()), 1); in TEST()
153 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000000000000080).TrailingZeros()), 0); in TEST()
156 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x8000000000000000).TrailingZeros()), 7); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set.h177 int TrailingZeros(T x) {
219 return container_internal::TrailingZeros(mask_) >> Shift;
230 int TrailingZeros() const {
231 return container_internal::TrailingZeros(mask_) >> Shift;
368 return TrailingZeros(
427 return (TrailingZeros(((~ctrl & (ctrl >> 7)) | gaps) + 1) + 7) >> 3;
1455 static_cast<size_t>(empty_after.TrailingZeros() +
Draw_hash_set_test.cc140 EXPECT_EQ((BitMask<uint32_t, 16>(0x00001a40).TrailingZeros()), 6); in TEST()
143 EXPECT_EQ((BitMask<uint32_t, 16>(0x00000001).TrailingZeros()), 0); in TEST()
146 EXPECT_EQ((BitMask<uint32_t, 16>(0x00008000).TrailingZeros()), 15); in TEST()
149 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000008080808000).TrailingZeros()), 1); in TEST()
152 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x0000000000000080).TrailingZeros()), 0); in TEST()
155 EXPECT_EQ((BitMask<uint64_t, 8, 3>(0x8000000000000000).TrailingZeros()), 7); in TEST()
/external/llvm-project/llvm/lib/IR/
DValue.cpp837 size_t TrailingZeros = CstInt->getValue().countTrailingZeros(); in getPointerAlignment() local
840 return Align(TrailingZeros < Value::MaxAlignmentExponent in getPointerAlignment()
841 ? uint64_t(1) << TrailingZeros in getPointerAlignment()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1410 unsigned TrailingZeros = KnownOne.countTrailingZeros(); in visitCallInst() local
1411 APInt Mask(APInt::getLowBitsSet(BitWidth, TrailingZeros)); in visitCallInst()
1414 APInt(BitWidth, TrailingZeros))); in visitCallInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp5084 unsigned TrailingZeros = countTrailingZeros(Mask); in Select() local
5085 SDValue Imm = CurDAG->getTargetConstant(TrailingZeros, dl, MVT::i64); in Select()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp5364 unsigned TrailingZeros = countTrailingZeros(Mask); in Select() local
5365 SDValue Imm = CurDAG->getTargetConstant(TrailingZeros, dl, MVT::i64); in Select()