Home
last modified time | relevance | path

Searched refs:countTrailingOnes (Results 1 – 25 of 35) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DKnownBits.h162 return Zero.countTrailingOnes(); in countMinTrailingZeros()
167 return One.countTrailingOnes(); in countMinTrailingOnes()
DMathExtras.h514 unsigned countTrailingOnes(T Value, ZeroBehavior ZB = ZB_Width) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMUnwindOpAsm.cpp77 uint32_t Range = countTrailingOnes(Mask >> 5); // Exclude r4. in EmitRegSave()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSmallBitVector.h254 return countTrailingOnes(Bits); in find_first_unset()
298 return countTrailingOnes(Bits); in find_next_unset()
DBitVector.h289 unsigned Result = i * BITWORD_SIZE + countTrailingOnes(Copy); in find_first_unset_in()
853 unsigned Result = WordIndex * BITWORD_SIZE + countTrailingOnes(Word); in next_unset_in_word()
DAPInt.h1703 unsigned countTrailingOnes() const { in countTrailingOnes() function
1705 return llvm::countTrailingOnes(U.VAL); in countTrailingOnes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonGenExtract.cpp181 uint32_t T = M.countTrailingOnes(); in INITIALIZE_PASS_DEPENDENCY()
DHexagonISelDAGToDAG.cpp1127 uint32_t M1 = countTrailingOnes(Mask >> TZ); in ppAddrRewriteAndSrl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AddressingModes.h241 CTO = countTrailingOnes(Imm >> I); in processLogicalImmediate()
249 CTO = CLO + countTrailingOnes(Imm) - (64 - Size); in processLogicalImmediate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FloatingPoint.cpp998 unsigned N = countTrailingOnes(STReturns); in handleCall()
1570 unsigned NumSTUses = countTrailingOnes(STUses); in handleSpecialFP()
1577 unsigned NumSTDefs = countTrailingOnes(STDefs); in handleSpecialFP()
1587 unsigned NumSTPopped = countTrailingOnes(STPopped); in handleSpecialFP()
DX86ISelDAGToDAG.cpp445 if (Val.countTrailingOnes() >= Width) in isUnneededShiftMask()
449 return Mask.countTrailingOnes() >= Width; in isUnneededShiftMask()
1788 if (countTrailingOnes(Mask >> MaskTZ) + MaskTZ + MaskLZ != 64) return true; in foldMaskAndShiftToScale()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIModeRegister.cpp196 unsigned Width = countTrailingOnes<unsigned>(InstrMode.Mask >> Offset); in insertSetreg()
DSIShrinkInstructions.cpp333 NewImm = countTrailingOnes(Imm); in shrinkScalarLogicOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DAlignmentFromAssumptions.cpp243 unsigned TrailingOnes = MaskSCEV->getAPInt().countTrailingOnes(); in extractAlignmentInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h1385 unsigned countTrailingOnes() const { in countTrailingOnes() function
1387 return llvm::countTrailingOnes(VAL); in countTrailingOnes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMathExtras.h452 std::size_t countTrailingOnes(T Value, ZeroBehavior ZB = ZB_Width) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp1648 MSB = SrlImm + (VT == MVT::i32 ? countTrailingOnes<uint32_t>(AndImm) in isBitfieldExtractOpFromAnd()
1649 : countTrailingOnes<uint64_t>(AndImm)) - in isBitfieldExtractOpFromAnd()
2235 MaskWidth = countTrailingOnes(NonZeroBits >> ShiftAmount); in isBitfieldPositioningOp()
2304 int LSB = countTrailingOnes(NotKnownZero); in tryBitfieldInsertOpFromOrAndImm()
2638 if (countTrailingOnes(MaskImm) < Bits) in tryShiftAmountMod()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVInstrInfo.td264 return countTrailingOnes<uint64_t>(Imm) >= 6;
265 return countTrailingOnes<uint64_t>(Imm) >= 5;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.cpp3409 uint64_t NumBits = countTrailingOnes(MaskVal); in tryBFE()
3473 NumBits = countTrailingOnes(MaskVal) - ShiftAmt; in tryBFE()
3476 unsigned NumOnes = countTrailingOnes(MaskVal >> NumZeros); in tryBFE()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp721 Upper.countTrailingOnes() == DstTySize) in truncate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp706 Count += llvm::countTrailingOnes(pVal[i]); in countTrailingOnesSlowCase()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp4730 unsigned MaskBits = AndMask.countTrailingOnes(); in visitANDLike()
4773 unsigned ActiveBits = AndC->getAPIntValue().countTrailingOnes(); in isAndLoadExtLoad()
4925 unsigned ActiveBits = Mask->getAPIntValue().countTrailingOnes(); in SearchForAndLoads()
6159 ((NegC->getAPIntValue() | Known.Zero).countTrailingOnes() >= Bits)) { in matchRotateSub()
6180 ((PosC->getAPIntValue() | Known.Zero).countTrailingOnes() >= in matchRotateSub()
10404 ActiveBits = Mask.countTrailingOnes(); in ReduceLoadWidth()
10408 ActiveBits = ShiftedMask.countTrailingOnes(); in ReduceLoadWidth()
10456 ShiftMask.countTrailingOnes()); in ReduceLoadWidth()
14992 if (countTrailingOnes(NotMask >> NotMaskTZ) + NotMaskTZ + NotMaskLZ != 64) in CheckForMaskedLoad()
DSelectionDAG.cpp183 if (CN->getAPIntValue().countTrailingOnes() < EltSize) in isBuildVectorAllOnes()
186 if (CFPN->getValueAPF().bitcastToAPInt().countTrailingOnes() < EltSize) in isBuildVectorAllOnes()
2392 SplatIdx = (UndefElts & DemandedElts).countTrailingOnes(); in getSplatSourceVector()
8859 return C && (C->getAPIntValue().countTrailingOnes() >= NumBits); in isBitwiseNot()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp410 unsigned TrailBitsKnown0 = (Known.Zero | Known.One).countTrailingOnes(); in computeKnownBitsMul()
411 unsigned TrailBitsKnown1 = (Known2.Zero | Known2.One).countTrailingOnes(); in computeKnownBitsMul()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPInt.cpp644 Count += llvm::countTrailingOnes(U.pVal[i]); in countTrailingOnesSlowCase()

12