Lines Matching defs:SmallVT
571 /// Convert x+y to (VT)((SmallVT)x+(SmallVT)y) if the casts are free.
605 EVT SmallVT = EVT::getIntegerVT(*DAG.getContext(), SmallVTBits);
606 if (isTruncateFree(VT, SmallVT) && isZExtFree(SmallVT, VT)) {
614 Op.getOpcode(), dl, SmallVT,
615 DAG.getNode(ISD::TRUNCATE, dl, SmallVT, Op.getOperand(0)),
616 DAG.getNode(ISD::TRUNCATE, dl, SmallVT, Op.getOperand(1)), Flags);
1865 EVT SmallVT = EVT::getIntegerVT(*TLO.DAG.getContext(), SmallVTBits);
1866 if (isNarrowingProfitable(Op.getNode(), VT, SmallVT) &&
1867 isTypeDesirableForOp(ISD::SHL, SmallVT) &&
1868 isTruncateFree(VT, SmallVT) && isZExtFree(SmallVT, VT) &&
1869 (!TLO.LegalOperations() || isOperationLegal(ISD::SHL, SmallVT))) {
1874 ISD::SHL, dl, SmallVT,
1875 TLO.DAG.getNode(ISD::TRUNCATE, dl, SmallVT, Op.getOperand(0)),
1876 TLO.DAG.getShiftAmountConstant(ShAmt, SmallVT, dl));