Home | History | Annotate | Download | only in ARM

Lines Matching full:issigned

153     bool SelectIToFP(const Instruction *I, bool isSigned);
154 bool SelectFPToI(const Instruction *I, bool isSigned);
155 bool SelectDiv(const Instruction *I, bool isSigned);
156 bool SelectRem(const Instruction *I, bool isSigned);
1543 bool ARMFastISel::SelectIToFP(const Instruction *I, bool isSigned) {
1566 /*isZExt*/!isSigned);
1576 if (Ty->isFloatTy()) Opc = isSigned ? ARM::VSITOS : ARM::VUITOS;
1577 else if (Ty->isDoubleTy()) Opc = isSigned ? ARM::VSITOD : ARM::VUITOD;
1587 bool ARMFastISel::SelectFPToI(const Instruction *I, bool isSigned) {
1601 if (OpTy->isFloatTy()) Opc = isSigned ? ARM::VTOSIZS : ARM::VTOUIZS;
1602 else if (OpTy->isDoubleTy()) Opc = isSigned ? ARM::VTOSIZD : ARM::VTOUIZD;
1695 bool ARMFastISel::SelectDiv(const Instruction *I, bool isSigned) {
1709 LC = isSigned ? RTLIB::SDIV_I8 : RTLIB::UDIV_I8;
1711 LC = isSigned ? RTLIB::SDIV_I16 : RTLIB::UDIV_I16;
1713 LC = isSigned ? RTLIB::SDIV_I32 : RTLIB::UDIV_I32;
1715 LC = isSigned ? RTLIB::SDIV_I64 : RTLIB::UDIV_I64;
1717 LC = isSigned ? RTLIB::SDIV_I128 : RTLIB::UDIV_I128;
1723 bool ARMFastISel::SelectRem(const Instruction *I, bool isSigned) {
1731 LC = isSigned ? RTLIB::SREM_I8 : RTLIB::UREM_I8;
1733 LC = isSigned ? RTLIB::SREM_I16 : RTLIB::UREM_I16;
1735 LC = isSigned ? RTLIB::SREM_I32 : RTLIB::UREM_I32;
1737 LC = isSigned ? RTLIB::SREM_I64 : RTLIB::UREM_I64;
1739 LC = isSigned ? RTLIB::SREM_I128 : RTLIB::UREM_I128;
2827 return SelectIToFP(I, /*isSigned*/ true);
2829 return SelectIToFP(I, /*isSigned*/ false);
2831 return SelectFPToI(I, /*isSigned*/ true);
2833 return SelectFPToI(I, /*isSigned*/ false);
2847 return SelectDiv(I, /*isSigned*/ true);
2849 return SelectDiv(I, /*isSigned*/ false);
2851 return SelectRem(I, /*isSigned*/ true);
2853 return SelectRem(I, /*isSigned*/ false);