Lines Matching refs:IsSigned
251 bool IsDiv, bool IsSigned) const;
255 bool IsDiv, bool IsSigned) const;
648 bool IsSigned = false; in replaceMulWithMul24() local
652 IsSigned = false; in replaceMulWithMul24()
656 IsSigned = true; in replaceMulWithMul24()
672 Value *LHS = IsSigned ? Builder.CreateSExtOrTrunc(LHSVals[I], I32Ty) in replaceMulWithMul24()
674 Value *RHS = IsSigned ? Builder.CreateSExtOrTrunc(RHSVals[I], I32Ty) in replaceMulWithMul24()
677 IsSigned ? Intrinsic::amdgcn_mul_i24 : Intrinsic::amdgcn_mul_u24; in replaceMulWithMul24()
679 Result = IsSigned ? Builder.CreateSExtOrTrunc(Result, DstTy) in replaceMulWithMul24()
1195 bool IsSigned) const { in getDivNumBits()
1207 if (IsSigned) in getDivNumBits()
1217 bool IsSigned) const { in expandDivRem24()
1220 unsigned AtLeast = (SSBits <= 24) ? 0 : (SSBits - 24 + IsSigned); in expandDivRem24()
1221 int DivBits = getDivNumBits(I, Num, Den, AtLeast, IsSigned); in expandDivRem24()
1224 return expandDivRem24Impl(Builder, I, Num, Den, DivBits, IsDiv, IsSigned); in expandDivRem24()
1229 unsigned DivBits, bool IsDiv, bool IsSigned) const { in expandDivRem24Impl()
1238 if (IsSigned) { in expandDivRem24Impl()
1256 Value *FA = IsSigned ? Builder.CreateSIToFP(IA, F32Ty) in expandDivRem24Impl()
1260 Value *FB = IsSigned ? Builder.CreateSIToFP(IB,F32Ty) in expandDivRem24Impl()
1283 Value *IQ = IsSigned ? Builder.CreateFPToSI(FQ, I32Ty) in expandDivRem24Impl()
1310 if (IsSigned) { in expandDivRem24Impl()
1387 bool IsSigned = Opc == Instruction::SRem || Opc == Instruction::SDiv; in expandDivRem32() local
1394 if (IsSigned) { in expandDivRem32()
1403 if (Value *Res = expandDivRem24(Builder, I, X, Y, IsDiv, IsSigned)) { in expandDivRem32()
1404 return IsSigned ? Builder.CreateSExtOrTrunc(Res, Ty) : in expandDivRem32()
1412 if (IsSigned) { in expandDivRem32()
1487 if (IsSigned) { in expandDivRem32()
1506 bool IsSigned = Opc == Instruction::SDiv || Opc == Instruction::SRem; in shrinkDivRem64() local
1508 int NumDivBits = getDivNumBits(I, Num, Den, 32, IsSigned); in shrinkDivRem64()
1515 IsDiv, IsSigned); in shrinkDivRem64()
1521 return IsSigned ? Builder.CreateSExt(Narrowed, Num->getType()) : in shrinkDivRem64()