Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DKnownBits.h172 return Zero.countLeadingOnes(); in countMinLeadingZeros()
177 return One.countLeadingOnes(); in countMinLeadingOnes()
DMathExtras.h498 unsigned countLeadingOnes(T Value, ZeroBehavior ZB = ZB_Width) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMUnwindOpAsm.cpp111 auto RangeLen = countLeadingOnes(Regs << (32 - RangeMSB)); in EmitVFPRegSave()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h1611 return BitWidth - countLeadingOnes() + 1; in getMinSignedBits()
1669 unsigned countLeadingOnes() const { in countLeadingOnes() function
1671 return llvm::countLeadingOnes(U.VAL << (APINT_BITS_PER_WORD - BitWidth)); in countLeadingOnes()
1678 return isNegative() ? countLeadingOnes() : countLeadingZeros(); in getNumSignBits()
DSmallBitVector.h267 return NumBaseBits - countLeadingOnes(Bits) - 1; in find_last_unset()
DBitVector.h322 (CurrentWord + 1) * BITWORD_SIZE - countLeadingOnes(Copy) - 1; in find_last_unset_in()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h1300 return BitWidth - countLeadingOnes() + 1; in getMinSignedBits()
1359 unsigned countLeadingOnes() const;
1364 return isNegative() ? countLeadingOnes() : countLeadingZeros(); in getNumSignBits()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp661 unsigned APInt::countLeadingOnes() const { in countLeadingOnes() function in APInt
663 return llvm::countLeadingOnes(VAL << (APINT_BITS_PER_WORD - BitWidth)); in countLeadingOnes()
674 unsigned Count = llvm::countLeadingOnes(pVal[i] << shift); in countLeadingOnes()
680 Count += llvm::countLeadingOnes(pVal[i]); in countLeadingOnes()
2028 Overflow = ShAmt.uge(countLeadingOnes()); in sshl_ov()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMathExtras.h436 std::size_t countLeadingOnes(T Value, ZeroBehavior ZB = ZB_Width) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AddressingModes.h247 unsigned CLO = countLeadingOnes(Imm); in processLogicalImmediate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp337 CTZ >= C->getBitWidth() - C->countLeadingOnes()) in SimplifyDemandedUseBits()
626 BitWidth, LHSKnown.Zero.countLeadingOnes() + RHSTrailingZeros)); in SimplifyDemandedUseBits()
DInstCombineCompares.cpp1187 Shift = AP1.countLeadingOnes() - AP2.countLeadingOnes(); in foldICmpShrConstConst()
1549 if ((Known.Zero | Known.One).countLeadingOnes() >= SrcBits - DstBits) { in foldICmpTruncConstant()
DInstructionCombining.cpp2668 LeadingKnownOnes, C.getCaseValue()->getValue().countLeadingOnes()); in visitSwitchInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPInt.cpp614 unsigned Count = llvm::countLeadingOnes(U.pVal[i] << shift); in countLeadingOnesSlowCase()
620 Count += llvm::countLeadingOnes(U.pVal[i]); in countLeadingOnesSlowCase()
2023 Overflow = ShAmt.uge(countLeadingOnes()); in sshl_ov()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonConstPropagation.cpp1693 Count = A1.countLeadingOnes(); in evaluateCLBi()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp5676 unsigned ShiftAmount = C->countLeadingOnes() - 1; in setLimitsForBinOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp1726 unsigned BitWide = 64 - countLeadingOnes(~(AndMask >> SrlImm)); in isSeveralBitsExtractOpFromShr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp11823 unsigned ZeroHi = Zeroable.countLeadingOnes(); in lowerShuffleAsByteShiftMask()
15793 if (Zeroable.countLeadingOnes() < (Mask.size() - 8)) in lowerShuffleAsVTRUNCAndUnpack()
17133 if ((int)Zeroable.countLeadingOnes() >= (NumElts - SubvecElts)) { in lower1BitShuffle()