|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
gen/lib/Target/X86/X86GenDAGISel.inc254767 return getI64Imm((uint8_t)N->getAPIntValue().countTrailingOnes(), SDLoc(N));
include/llvm/Support/KnownBits.h 147 return Zero.countTrailingOnes();
152 return One.countTrailingOnes();
lib/Analysis/ValueTracking.cpp 408 unsigned TrailBitsKnown0 = (Known.Zero | Known.One).countTrailingOnes();
409 unsigned TrailBitsKnown1 = (Known2.Zero | Known2.One).countTrailingOnes();
lib/CodeGen/SelectionDAG/DAGCombiner.cpp 4619 unsigned MaskBits = AndMask.countTrailingOnes();
4662 unsigned ActiveBits = AndC->getAPIntValue().countTrailingOnes();
4814 unsigned ActiveBits = Mask->getAPIntValue().countTrailingOnes();
6043 ((NegC->getAPIntValue() | Known.Zero).countTrailingOnes() >= Bits)) {
6064 ((PosC->getAPIntValue() | Known.Zero).countTrailingOnes() >=
10212 ActiveBits = Mask.countTrailingOnes();
10216 ActiveBits = ShiftedMask.countTrailingOnes();
10264 ShiftMask.countTrailingOnes());
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 179 if (CN->getAPIntValue().countTrailingOnes() < EltSize)
182 if (CFPN->getValueAPF().bitcastToAPInt().countTrailingOnes() < EltSize)
2351 SplatIdx = (UndefElts & DemandedElts).countTrailingOnes();
8715 return C && (C->getAPIntValue().countTrailingOnes() >= NumBits);
lib/CodeGen/SelectionDAG/TargetLowering.cpp 3160 MinBits = C->getAPIntValue().countTrailingOnes();
3674 ShiftBits = C1.countTrailingOnes();
lib/IR/ConstantRange.cpp 721 Upper.countTrailingOnes() == DstTySize)
lib/Target/Hexagon/HexagonConstPropagation.cpp 1718 Count = A1.countTrailingOnes();
lib/Target/Hexagon/HexagonGenExtract.cpp 179 uint32_t T = M.countTrailingOnes();
lib/Target/X86/X86ISelDAGToDAG.cpp 444 if (Val.countTrailingOnes() >= Width)
448 return Mask.countTrailingOnes() >= Width;
lib/Target/X86/X86ISelLowering.cpp11620 unsigned ZeroLo = Zeroable.countTrailingOnes();
38394 unsigned TO = MaskVal.countTrailingOnes();
38912 unsigned ShiftVal = SplatVal.countTrailingOnes();
lib/Transforms/InstCombine/InstCombineCompares.cpp 4774 return APInt::getBitsSetFrom(BitWidth, RHS->countTrailingOnes());
lib/Transforms/Scalar/AlignmentFromAssumptions.cpp 242 unsigned TrailingOnes = MaskSCEV->getAPInt().countTrailingOnes();
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousEnumUsageCheck.cpp 82 return EnumConst->getInitVal().countTrailingOnes() ==
unittests/ADT/APIntTest.cpp 50 EXPECT_EQ(128u, Minus1.countTrailingOnes());
110 EXPECT_EQ(128u, u128max.countTrailingOnes());
118 EXPECT_EQ(64u, u64max.countTrailingOnes());
127 EXPECT_EQ(0u, zero.countTrailingOnes());
137 EXPECT_EQ(1u, one.countTrailingOnes());
147 EXPECT_EQ(0u, s128.countTrailingOnes());
158 EXPECT_EQ(0u, s128.countTrailingOnes());
169 EXPECT_EQ(0u, s128.countTrailingOnes());
179 EXPECT_EQ(0u, s128.countTrailingOnes());
192 EXPECT_EQ(4u, s256.countTrailingOnes());
203 EXPECT_EQ(4u, s256.countTrailingOnes());
212 EXPECT_EQ(4u, s256.countTrailingOnes());
2010 EXPECT_EQ(64u, i128lo64.countTrailingOnes());
2020 EXPECT_EQ(0u, i64hi1lo1.countTrailingOnes());
2028 EXPECT_EQ(0u, i127hi1lo1.countTrailingOnes());
2038 EXPECT_EQ(0u, i64hi32.countTrailingOnes());
2048 EXPECT_EQ(0u, i64hi31.countTrailingOnes());
2059 EXPECT_EQ(32u, i64lo32.countTrailingOnes());
2068 EXPECT_EQ(64u, i128lo64.countTrailingOnes());
2077 EXPECT_EQ(24u, i128lo24.countTrailingOnes());
2086 EXPECT_EQ(104u, i128lo104.countTrailingOnes());
2095 EXPECT_EQ(0u, i128lo0.countTrailingOnes());
2104 EXPECT_EQ(79u, i80lo79.countTrailingOnes());
2115 EXPECT_EQ(0u, i64hi32.countTrailingOnes());
2124 EXPECT_EQ(0u, i128hi64.countTrailingOnes());
2133 EXPECT_EQ(0u, i128hi24.countTrailingOnes());
2142 EXPECT_EQ(0u, i128hi104.countTrailingOnes());
2151 EXPECT_EQ(0u, i128hi0.countTrailingOnes());
2160 EXPECT_EQ(0u, i80hi1.countTrailingOnes());
2169 EXPECT_EQ(0u, i32hi16.countTrailingOnes());
2180 EXPECT_EQ(0u, i64from63.countTrailingOnes());
2191 EXPECT_EQ(32u, i32.countTrailingOnes());
2200 EXPECT_EQ(64u, i64.countTrailingOnes());
2209 EXPECT_EQ(96u, i96.countTrailingOnes());
2218 EXPECT_EQ(128u, i128.countTrailingOnes());
2247 EXPECT_EQ(0u, i64hi32.countTrailingOnes());
2256 EXPECT_EQ(0u, i128hi64.countTrailingOnes());
2265 EXPECT_EQ(0u, i128hi24.countTrailingOnes());
2274 EXPECT_EQ(0u, i128hi104.countTrailingOnes());
2283 EXPECT_EQ(0u, i128hi0.countTrailingOnes());
2292 EXPECT_EQ(0u, i80hi1.countTrailingOnes());
2301 EXPECT_EQ(0u, i32hi16.countTrailingOnes());