Lines Matching refs:IsSigned

250                         bool IsDiv, bool IsSigned) const;
254 bool IsDiv, bool IsSigned) const;
646 bool IsSigned = false; in replaceMulWithMul24() local
650 IsSigned = false; in replaceMulWithMul24()
654 IsSigned = true; in replaceMulWithMul24()
670 Value *LHS = IsSigned ? Builder.CreateSExtOrTrunc(LHSVals[I], I32Ty) in replaceMulWithMul24()
672 Value *RHS = IsSigned ? Builder.CreateSExtOrTrunc(RHSVals[I], I32Ty) in replaceMulWithMul24()
675 IsSigned ? Intrinsic::amdgcn_mul_i24 : Intrinsic::amdgcn_mul_u24; in replaceMulWithMul24()
677 Result = IsSigned ? Builder.CreateSExtOrTrunc(Result, DstTy) in replaceMulWithMul24()
1193 bool IsSigned) const { in getDivNumBits()
1205 if (IsSigned) in getDivNumBits()
1215 bool IsSigned) const { in expandDivRem24()
1216 int DivBits = getDivNumBits(I, Num, Den, 9, IsSigned); in expandDivRem24()
1219 return expandDivRem24Impl(Builder, I, Num, Den, DivBits, IsDiv, IsSigned); in expandDivRem24()
1224 unsigned DivBits, bool IsDiv, bool IsSigned) const { in expandDivRem24Impl()
1233 if (IsSigned) { in expandDivRem24Impl()
1251 Value *FA = IsSigned ? Builder.CreateSIToFP(IA, F32Ty) in expandDivRem24Impl()
1255 Value *FB = IsSigned ? Builder.CreateSIToFP(IB,F32Ty) in expandDivRem24Impl()
1278 Value *IQ = IsSigned ? Builder.CreateFPToSI(FQ, I32Ty) in expandDivRem24Impl()
1305 if (IsSigned) { in expandDivRem24Impl()
1382 bool IsSigned = Opc == Instruction::SRem || Opc == Instruction::SDiv; in expandDivRem32() local
1389 if (IsSigned) { in expandDivRem32()
1398 if (Value *Res = expandDivRem24(Builder, I, X, Y, IsDiv, IsSigned)) { in expandDivRem32()
1399 return IsSigned ? Builder.CreateSExtOrTrunc(Res, Ty) : in expandDivRem32()
1407 if (IsSigned) { in expandDivRem32()
1482 if (IsSigned) { in expandDivRem32()
1501 bool IsSigned = Opc == Instruction::SDiv || Opc == Instruction::SRem; in shrinkDivRem64() local
1503 int NumDivBits = getDivNumBits(I, Num, Den, 32, IsSigned); in shrinkDivRem64()
1510 IsDiv, IsSigned); in shrinkDivRem64()
1516 return IsSigned ? Builder.CreateSExt(Narrowed, Num->getType()) : in shrinkDivRem64()