Home | History | Annotate | Download | only in PowerPC

Lines Matching full:issigned

136     bool SelectIToFP(const Instruction *I, bool IsSigned);
137 bool SelectFPToI(const Instruction *I, bool IsSigned);
174 unsigned SrcReg, bool IsSigned);
175 unsigned PPCMoveToFPReg(MVT VT, unsigned SrcReg, bool IsSigned);
942 bool IsSigned) {
947 if (!PPCEmitIntExt(MVT::i32, SrcReg, MVT::i64, TmpReg, !IsSigned))
966 if (!IsSigned) {
977 if (!PPCEmitLoad(MVT::f64, ResultReg, Addr, RC, !IsSigned, LoadOpc))
986 bool PPCFastISel::SelectIToFP(const Instruction *I, bool IsSigned) {
1012 if (!IsSigned && !PPCSubTarget->hasFPCVT())
1026 if (!PPCEmitIntExt(SrcVT, SrcReg, MVT::i64, TmpReg, !IsSigned))
1033 unsigned FPReg = PPCMoveToFPReg(SrcVT, SrcReg, IsSigned);
1043 Opc = IsSigned ? PPC::FCFIDS : PPC::FCFIDUS;
1045 Opc = IsSigned ? PPC::FCFID : PPC::FCFIDU;
1061 unsigned SrcReg, bool IsSigned) {
1086 if (!PPCEmitLoad(VT, ResultReg, Addr, RC, !IsSigned))
1095 bool PPCFastISel::SelectFPToI(const Instruction *I, bool IsSigned) {
1105 if (DstVT == MVT::i64 && !IsSigned && !PPCSubTarget->hasFPCVT())
1138 if (IsSigned)
1143 Opc = IsSigned ? PPC::FCTIDZ : PPC::FCTIDUZ;
1150 unsigned IntReg = PPCMoveToIntReg(I, DstVT, DestReg, IsSigned);
1853 return SelectIToFP(I, /*IsSigned*/ true);
1855 return SelectIToFP(I, /*IsSigned*/ false);
1857 return SelectFPToI(I, /*IsSigned*/ true);
1859 return SelectFPToI(I, /*IsSigned*/ false);