Home
last modified time | relevance | path

Searched refs:countMaxActiveBits (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DKnownBits.h298 unsigned countMaxActiveBits() const { in countMaxActiveBits() function
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp97 computeKnownBits(LHS, *DL).countMaxActiveBits() <= 8) && in matchVPDPBUSDPattern()
H A DX86ISelLowering.cpp7105 DAG.computeKnownBits(LHS).countMaxActiveBits() <= EltSizeInBits && in getPack()
7106 DAG.computeKnownBits(RHS).countMaxActiveBits() <= EltSizeInBits) in getPack()
42931 DAG.computeKnownBits(Op0).countMaxActiveBits() <= 8) && in detectExtMul()
48855 unsigned MaxActiveBits = DAG->computeKnownBits(V).countMaxActiveBits(); in detectAVGPattern()
50358 return DAG.computeKnownBits(V).countMaxActiveBits() <= 16; in combinePMULH()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DKnownBitsTest.cpp432 EXPECT_EQ(Expected, Known.countMaxActiveBits()); in TEST()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp49 return DAG.computeKnownBits(Op).countMaxActiveBits(); in numBitsUnsigned()
3246 (Known.countMaxActiveBits() <= Log2_32(Size))) { in performTruncateCombine()
4543 unsigned LHSValBits = LHSKnown.countMaxActiveBits(); in computeKnownBitsForTargetNode()
4544 unsigned RHSValBits = RHSKnown.countMaxActiveBits(); in computeKnownBitsForTargetNode()
4606 unsigned Src1ValBits = Src1Known.countMaxActiveBits(); in computeKnownBitsForTargetNode()
H A DAMDGPUCodeGenPrepare.cpp449 return computeKnownBits(Op, *DL, 0, AC).countMaxActiveBits(); in numBitsUnsigned()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DInstructionSimplify.cpp1429 const unsigned EffWidthY = YKnown.countMaxActiveBits(); in simplifyLShrInst()
2198 const unsigned EffWidthY = YKnown.countMaxActiveBits(); in simplifyAndInst()
2201 const unsigned EffWidthX = XKnown.countMaxActiveBits(); in simplifyAndInst()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp1788 DAG.computeKnownBits(OpL).countMaxActiveBits(); in PromoteSetCCOperands()
1790 DAG.computeKnownBits(OpR).countMaxActiveBits(); in PromoteSetCCOperands()
H A DDAGCombiner.cpp13276 if (Known.countMaxActiveBits() <= Log2_32(Size)) { in visitTRUNCATE()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp2279 if (Known.countMaxActiveBits() <= Log2_32(Size)) { in matchCombineTruncOfShl()