Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h289 unsigned countMaxActiveBits() const { in countMaxActiveBits() function
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp95 computeKnownBits(LHS, *DL).countMaxActiveBits() <= 8) && in matchVPDPBUSDPattern()
H A DX86ISelLowering.cpp4895 DAG.computeKnownBits(LHS).countMaxActiveBits() <= EltSizeInBits && in getPack()
4896 DAG.computeKnownBits(RHS).countMaxActiveBits() <= EltSizeInBits) in getPack()
46026 DAG.computeKnownBits(Op0).countMaxActiveBits() <= 8) && in detectExtMul()
54263 return DAG.computeKnownBits(V).countMaxActiveBits() <= 16; in combinePMULH()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp599 return computeKnownBits(Op, DL, AC).countMaxActiveBits(); in numBitsUnsigned()
1588 unsigned MaxBitsNeeded = computeKnownBits(I, DL).countMaxActiveBits(); in tryNarrowMathIfNoOverflow()
H A DAMDGPUISelLowering.cpp52 return DAG.computeKnownBits(Op).countMaxActiveBits(); in numBitsUnsigned()
5923 unsigned LHSValBits = LHSKnown.countMaxActiveBits(); in computeKnownBitsForTargetNode()
5924 unsigned RHSValBits = RHSKnown.countMaxActiveBits(); in computeKnownBitsForTargetNode()
H A DSIInstructions.td3809 return CurDAG->computeKnownBits(Op).countMaxActiveBits() <= 5;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp1314 computeKnownBits(X, &I).countMaxActiveBits() <= 1 && in visitLShr()
1315 computeKnownBits(Y, &I).countMaxActiveBits() <= 1) in visitLShr()
H A DInstCombineAndOrXor.cpp2816 if (computeKnownBits(A, &I).countMaxActiveBits() <= 1) { in visitAnd()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp3481 if (KB.countMaxActiveBits() > BW) in shrinkType()
3510 if (KB.countMaxActiveBits() > BW) in shrinkType()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp1460 const unsigned EffWidthY = YKnown.countMaxActiveBits(); in simplifyLShrInst()
2148 const unsigned EffWidthY = YKnown.countMaxActiveBits(); in simplifyAndInst()
2151 const unsigned EffWidthX = XKnown.countMaxActiveBits(); in simplifyAndInst()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp2136 DAG.computeKnownBits(OpL).countMaxActiveBits(); in SExtOrZExtPromotedOperands()
2138 DAG.computeKnownBits(OpR).countMaxActiveBits(); in SExtOrZExtPromotedOperands()
H A DDAGCombiner.cpp2542 Known.countMaxActiveBits() < Sel.getScalarValueSizeInBits()) in foldBinOpIntoSelect()
16076 if (Known.countMaxActiveBits() <= Log2_32(Size)) { in visitTRUNCATE()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp6252 unsigned FreeBits = Known.countMaxActiveBits() - AndMask.popcount(); in foldSwitchToSelect()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp16275 unsigned ActiveBits = std::max(8u, Known.countMaxActiveBits()); in narrowIndex()
16453 DAG.computeKnownBits(Src.getOperand(1)).countMaxActiveBits() <= 5) in performSIGN_EXTEND_INREGCombine()
20962 Known.Zero.setBitsFrom(Known2.countMaxActiveBits()); in computeKnownBitsForTargetNode()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp4956 : DAG.computeKnownBits(SrcVal).countMaxActiveBits(); in LowerINT_TO_FP()