Home
last modified time | relevance | path

Searched refs:NarrowWidth (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp548 unsigned NarrowWidth = DestTy->getScalarSizeInBits(); in narrowFunnelShift() local
550 if (!isPowerOf2_32(NarrowWidth)) in narrowFunnelShift()
582 unsigned MaxShiftAmountWidth = Log2_32(NarrowWidth); in narrowFunnelShift()
609 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowFunnelShift()
612 ShAmt = matchShiftAmount(ShAmt1, ShAmt0, NarrowWidth); in narrowFunnelShift()
621 APInt HiBitMask = APInt::getHighBitsSet(WideWidth, WideWidth - NarrowWidth); in narrowFunnelShift()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp4699 unsigned NarrowWidth = Mask.countTrailingOnes(); in matchNarrowBinopFeedingAnd() local
4700 if (NarrowWidth == WideTy.getSizeInBits()) in matchNarrowBinopFeedingAnd()
4702 LLT NarrowTy = LLT::scalar(NarrowWidth); in matchNarrowBinopFeedingAnd()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp21387 unsigned NarrowWidth = VT.getSizeInBits(); in narrowExtractedVectorBinOp() local
21388 if (WideWidth % NarrowWidth != 0) in narrowExtractedVectorBinOp()
21393 unsigned NarrowingRatio = WideWidth / NarrowWidth; in narrowExtractedVectorBinOp()