HomeSort by: relevance | last modified time | path
    Searched refs:countLeadingOnes (Results 1 - 21 of 21) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/
ARMUnwindOpAsm.cpp 111 auto RangeLen = countLeadingOnes(Regs << (32 - RangeMSB));
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
KnownBits.h 230 return Zero.countLeadingOnes();
235 return One.countLeadingOnes();
MathExtras.h 503 /// Ex. countLeadingOnes(0xFF0FFF00) == 8.
509 unsigned countLeadingOnes(T Value, ZeroBehavior ZB = ZB_Width) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/VE/
VE.h 358 return countLeadingOnes(Val); // (m)1
  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
APInt.h 223 /// out-of-line slow case for countLeadingOnes.
1674 /// This function is an APInt version of the countLeadingOnes
1680 unsigned countLeadingOnes() const {
1682 return llvm::countLeadingOnes(U.VAL << (APINT_BITS_PER_WORD - BitWidth));
1689 return isNegative() ? countLeadingOnes() : countLeadingZeros();
BitVector.h 283 (CurrentWord + 1) * BITWORD_SIZE - countLeadingOnes(Copy) - 1;
SmallBitVector.h 267 return NumBaseBits - countLeadingOnes(Bits) - 1;
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
GISelKnownBits.cpp 631 return std::max(FirstAnswer, Mask.countLeadingOnes());
CombinerHelper.cpp 1956 unsigned MinLeadingZeros = KB->getKnownZeroes(ExtSrc).countLeadingOnes();
  /src/external/apache2/llvm/dist/llvm/lib/Support/
KnownBits.cpp 108 unsigned N = (Zero | Val).countLeadingOnes();
APInt.cpp 611 unsigned Count = llvm::countLeadingOnes(U.pVal[i] << shift);
617 Count += llvm::countLeadingOnes(U.pVal[i]);
2022 Overflow = ShAmt.uge(countLeadingOnes());
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineSimplifyDemanded.cpp 332 CTZ >= C->getBitWidth() - C->countLeadingOnes())
692 BitWidth, LHSKnown.Zero.countLeadingOnes() + RHSTrailingZeros));
InstCombineCompares.cpp 1150 Shift = AP1.countLeadingOnes() - AP2.countLeadingOnes();
1540 if ((Known.Zero | Known.One).countLeadingOnes() >= SrcBits - DstBits) {
InstructionCombining.cpp 2965 LeadingKnownOnes, C.getCaseValue()->getValue().countLeadingOnes());
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/
AArch64AddressingModes.h 247 unsigned CLO = countLeadingOnes(Imm);
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
PPCISelDAGToDAG.cpp 923 unsigned LO = countLeadingOnes<uint64_t>(Imm);
951 unsigned FO = countLeadingOnes<uint64_t>(Imm << LZ);
1152 unsigned FO = countLeadingOnes<uint64_t>(LZ == 64 ? 0 : (Imm << LZ));
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonConstPropagation.cpp 1698 Count = A1.countLeadingOnes();
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
ValueTracking.cpp 6702 unsigned ShiftAmount = C->countLeadingOnes() - 1;
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
AArch64ISelDAGToDAG.cpp 1918 unsigned BitWide = 64 - countLeadingOnes(~(AndMask >> SrlImm));
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86ISelLowering.cpp 10355 unsigned NumUpperUndefsOrZeros = UndefOrZeroMask.countLeadingOnes();
10360 bool UndefUpper = UndefMask.countLeadingOnes() >= UpperElems;
12765 unsigned ZeroHi = Zeroable.countLeadingOnes();
16785 if (Zeroable.countLeadingOnes() < (Mask.size() - 8))
18217 if ((int)Zeroable.countLeadingOnes() >= (NumElts - SubvecElts)) {
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
SelectionDAG.cpp 4251 return std::max(FirstAnswer, Mask.countLeadingOnes());

Completed in 71 milliseconds