Lines Matching defs:CTLZ
1917 if (unsigned CTLZ = DemandedBits.countl_zero()) {
1918 APInt DemandedFromOp(APInt::getLowBitsSet(BitWidth, BitWidth - CTLZ));
4578 N0.getOperand(0).getOpcode() == ISD::CTLZ &&
9238 isOperationLegalOrCustom(ISD::CTLZ, VT))
9239 return DAG.getNode(ISD::CTLZ, dl, VT, Op);
9245 SDValue CTLZ = DAG.getNode(ISD::CTLZ_ZERO_UNDEF, dl, VT, Op);
9249 DAG.getConstant(NumBitsPerElt, dl, VT), CTLZ);
9376 !isOperationLegalOrCustom(ISD::CTLZ, VT) &&
9383 // Emit Table Lookup if ISD::CTLZ and ISD::CTPOP are not legal.
9385 !isOperationLegal(ISD::CTLZ, VT))
9397 // If ISD::CTLZ is legal and CTPOP isn't, then do that instead.
9398 if (isOperationLegal(ISD::CTLZ, VT) && !isOperationLegal(ISD::CTPOP, VT)) {
9400 DAG.getNode(ISD::CTLZ, dl, VT, Tmp));
10581 SDValue Clz = DAG.getNode(ISD::CTLZ, dl, VT, Zext);