Home
last modified time | relevance | path

Searched refs:ShCt (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h3380 unsigned ShCt = AndMask.getBitWidth() - 1; in shouldFoldSelectWithSingleBitTest() local
3381 return !shouldAvoidTransformToShift(VT, ShCt); in shouldFoldSelectWithSingleBitTest()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp13427 unsigned ShCt = VT.getSizeInBits() - 1; in foldExtendedSignBitTest() local
13429 if (!TLI.shouldAvoidTransformToShift(VT, ShCt)) { in foldExtendedSignBitTest()
13431 SDValue ShiftAmount = DAG.getConstant(ShCt, DL, VT); in foldExtendedSignBitTest()
27469 unsigned ShCt = XType.getSizeInBits() - N2C->getAPIntValue().logBase2() - 1; in foldSelectCCToShiftAnd() local
27470 if (!TLI.shouldAvoidTransformToShift(XType, ShCt)) { in foldSelectCCToShiftAnd()
27471 SDValue ShiftAmt = DAG.getShiftAmountConstant(ShCt, XType, DL); in foldSelectCCToShiftAnd()
27487 unsigned ShCt = XType.getSizeInBits() - 1; in foldSelectCCToShiftAnd() local
27488 if (TLI.shouldAvoidTransformToShift(XType, ShCt)) in foldSelectCCToShiftAnd()
27491 SDValue ShiftAmt = DAG.getShiftAmountConstant(ShCt, XType, DL); in foldSelectCCToShiftAnd()
27704 unsigned ShCt = AndMask.getBitWidth() - 1; in SimplifySelectCC() local
[all …]
H A DTargetLowering.cpp5118 unsigned ShCt = AndRHS->getAPIntValue().logBase2(); in SimplifySetCC() local
5120 !TLI.shouldAvoidTransformToShift(ShValTy, ShCt)) { in SimplifySetCC()
5124 DAG.getShiftAmountConstant(ShCt, ShValTy, dl))); in SimplifySetCC()
5129 unsigned ShCt = C1.logBase2(); in SimplifySetCC() local
5131 !TLI.shouldAvoidTransformToShift(ShValTy, ShCt)) { in SimplifySetCC()
5135 DAG.getShiftAmountConstant(ShCt, ShValTy, dl))); in SimplifySetCC()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp24230 unsigned ShCt = VT.getSizeInBits() - 1; in LowerSELECT() local
24231 SDValue ShiftAmt = DAG.getConstant(ShCt, DL, VT); in LowerSELECT()