Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/lib/Target/ARM/MCTargetDesc/
HDARMUnwindOpAsm.cpp76 uint32_t Range = countTrailingOnes(Mask >> 5); // Exclude r4. in EmitRegSave()
/NextBSD/contrib/llvm/lib/Target/AArch64/MCTargetDesc/
HDAArch64AddressingModes.h240 CTO = countTrailingOnes(Imm >> I); in processLogicalImmediate()
248 CTO = CLO + countTrailingOnes(Imm) - (64 - Size); in processLogicalImmediate()
/NextBSD/contrib/llvm/lib/Target/Hexagon/
HDHexagonGenExtract.cpp168 uint32_t T = M.countTrailingOnes(); in INITIALIZE_PASS_DEPENDENCY()
/NextBSD/contrib/llvm/lib/Target/X86/
HDX86FloatingPoint.cpp946 unsigned N = countTrailingOnes(STReturns); in handleCall()
1423 unsigned NumSTUses = countTrailingOnes(STUses); in handleSpecialFP()
1430 unsigned NumSTDefs = countTrailingOnes(STDefs); in handleSpecialFP()
1440 unsigned NumSTPopped = countTrailingOnes(STPopped); in handleSpecialFP()
HDX86InstrCompiler.td1513 return countTrailingOnes<uint64_t>(Imm) >= 5;
1516 return countTrailingOnes<uint64_t>(Imm) >= 6;
HDX86ISelDAGToDAG.cpp941 if (countTrailingOnes(Mask >> MaskTZ) + MaskTZ + MaskLZ != 64) return true; in FoldMaskAndShiftToScale()
HDX86InstrInfo.td2233 return getI8Imm(countTrailingOnes(N->getZExtValue()), SDLoc(N));
2237 return isMask_64(Imm) && (countTrailingOnes<uint64_t>(Imm) > 32);
/NextBSD/contrib/llvm/include/llvm/ADT/
HDAPInt.h1403 unsigned countTrailingOnes() const { in countTrailingOnes() function
1405 return llvm::countTrailingOnes(VAL); in countTrailingOnes()
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDAlignmentFromAssumptions.cpp253 MaskSCEV->getValue()->getValue().countTrailingOnes(); in extractAlignmentInfo()
/NextBSD/contrib/llvm/include/llvm/Support/
HDMathExtras.h407 std::size_t countTrailingOnes(T Value, ZeroBehavior ZB = ZB_Width) {
/NextBSD/contrib/llvm/lib/Analysis/
HDValueTracking.cpp327 unsigned TrailZ = KnownZero.countTrailingOnes() + in computeKnownBitsMul()
328 KnownZero2.countTrailingOnes(); in computeKnownBitsMul()
1215 unsigned TrailZ = LocalKnownZero.countTrailingOnes(); in computeKnownBitsFromOperator()
1250 LocalKnownZero.countTrailingOnes())); in computeKnownBitsFromOperator()
1296 std::min(KnownZero2.countTrailingOnes(), in computeKnownBitsFromOperator()
1297 KnownZero3.countTrailingOnes())); in computeKnownBitsFromOperator()
HDScalarEvolution.cpp3839 return Zeros.countTrailingOnes(); in GetMinTrailingZeros()
/NextBSD/contrib/llvm/lib/CodeGen/SelectionDAG/
HDSelectionDAG.cpp125 if (CN->getAPIntValue().countTrailingOnes() < EltSize) in isBuildVectorAllOnes()
128 if (CFPN->getValueAPF().bitcastToAPInt().countTrailingOnes() < EltSize) in isBuildVectorAllOnes()
2075 unsigned TrailZ = KnownZero.countTrailingOnes() + in computeKnownBits()
2076 KnownZero2.countTrailingOnes(); in computeKnownBits()
2364 unsigned KnownZeroLow = KnownZero2.countTrailingOnes(); in computeKnownBits()
2370 KnownZero2.countTrailingOnes()); in computeKnownBits()
6911 unsigned AlignBits = KnownZero.countTrailingOnes(); in InferPtrAlignment()
HDTargetLowering.cpp1340 MinBits = C->getAPIntValue().countTrailingOnes(); in SimplifySetCC()
1759 ShiftBits = C1.countTrailingOnes(); in SimplifySetCC()
HDSelectionDAGBuilder.cpp1926 ShiftOp, DAG.getConstant(countTrailingOnes(B.Mask), dl, VT), in visitBitTestCase()
HDDAGCombiner.cpp10269 if (countTrailingOnes(NotMask >> NotMaskTZ) + NotMaskTZ + NotMaskLZ != 64) in CheckForMaskedLoad()
/NextBSD/contrib/llvm/lib/Transforms/Utils/
HDLocal.cpp943 unsigned TrailZ = KnownZero.countTrailingOnes(); in getOrEnforceKnownAlignment()
/NextBSD/contrib/llvm/lib/Target/AArch64/
HDAArch64ISelDAGToDAG.cpp1437 MSB = Srl_imm + (VT == MVT::i32 ? countTrailingOnes<uint32_t>(And_imm) in isBitfieldExtractOpFromAnd()
1438 : countTrailingOnes<uint64_t>(And_imm)) - in isBitfieldExtractOpFromAnd()
1886 MaskWidth = countTrailingOnes(NonZeroBits >> ShiftAmount); in isBitfieldPositioningOp()
/NextBSD/contrib/llvm/lib/Target/NVPTX/
HDNVPTXISelDAGToDAG.cpp4767 uint64_t NumBits = countTrailingOnes(MaskVal); in SelectBFE()
4831 NumBits = countTrailingOnes(MaskVal) - ShiftAmt; in SelectBFE()
4834 unsigned NumOnes = countTrailingOnes(MaskVal >> NumZeros); in SelectBFE()
/NextBSD/contrib/llvm/lib/Support/
HDAPInt.cpp767 Count += llvm::countTrailingOnes(pVal[i]); in countTrailingOnesSlowCase()
/NextBSD/contrib/llvm/lib/Target/XCore/
HDXCoreISelLowering.cpp424 return KnownZero.countTrailingOnes() >= 2; in isWordAligned()
/NextBSD/contrib/llvm/lib/Target/PowerPC/
HDPPCISelDAGToDAG.cpp2549 MB = 64 - countTrailingOnes(Imm64); in Select()
/NextBSD/contrib/llvm/lib/Transforms/InstCombine/
HDInstCombineCompares.cpp2455 unsigned trailingOnes = RHS.countTrailingOnes(); in DemandedBitsLHSMask()
/NextBSD/contrib/llvm/lib/Target/ARM/
HDARMISelDAGToDAG.cpp2343 unsigned Width = countTrailingOnes(And_imm) - 1; in SelectV6T2BitfieldExtractOp()