Lines Matching refs:IsSigned

178                         bool IsDiv, bool IsSigned) const;
182 bool IsDiv, bool IsSigned) const;
485 unsigned Size, unsigned NumBits, bool IsSigned) { in getMul24() argument
488 IsSigned ? Intrinsic::amdgcn_mul_i24 : Intrinsic::amdgcn_mul_u24; in getMul24()
495 IsSigned ? Intrinsic::amdgcn_mul_i24 : Intrinsic::amdgcn_mul_u24; in getMul24()
497 IsSigned ? Intrinsic::amdgcn_mulhi_i24 : Intrinsic::amdgcn_mulhi_u24; in getMul24()
528 bool IsSigned = false; in replaceMulWithMul24() local
532 IsSigned = false; in replaceMulWithMul24()
536 IsSigned = true; in replaceMulWithMul24()
550 if (IsSigned) { in replaceMulWithMul24()
559 getMul24(Builder, LHS, RHS, Size, LHSBits + RHSBits, IsSigned); in replaceMulWithMul24()
561 if (IsSigned) { in replaceMulWithMul24()
885 unsigned AtLeast, bool IsSigned) const { in getDivNumBits()
897 if (IsSigned) in getDivNumBits()
907 bool IsDiv, bool IsSigned) const { in expandDivRem24()
908 int DivBits = getDivNumBits(I, Num, Den, 9, IsSigned); in expandDivRem24()
911 return expandDivRem24Impl(Builder, I, Num, Den, DivBits, IsDiv, IsSigned); in expandDivRem24()
918 bool IsDiv, bool IsSigned) const { in expandDivRem24Impl()
927 if (IsSigned) { in expandDivRem24Impl()
945 Value *FA = IsSigned ? Builder.CreateSIToFP(IA, F32Ty) in expandDivRem24Impl()
949 Value *FB = IsSigned ? Builder.CreateSIToFP(IB,F32Ty) in expandDivRem24Impl()
972 Value *IQ = IsSigned ? Builder.CreateFPToSI(FQ, I32Ty) in expandDivRem24Impl()
999 if (IsSigned) { in expandDivRem24Impl()
1075 bool IsSigned = Opc == Instruction::SRem || Opc == Instruction::SDiv; in expandDivRem32() local
1082 if (IsSigned) { in expandDivRem32()
1091 if (Value *Res = expandDivRem24(Builder, I, X, Y, IsDiv, IsSigned)) { in expandDivRem32()
1092 return IsSigned ? Builder.CreateSExtOrTrunc(Res, Ty) : in expandDivRem32()
1100 if (IsSigned) { in expandDivRem32()
1175 if (IsSigned) { in expandDivRem32()
1194 bool IsSigned = Opc == Instruction::SDiv || Opc == Instruction::SRem; in shrinkDivRem64() local
1196 int NumDivBits = getDivNumBits(I, Num, Den, 32, IsSigned); in shrinkDivRem64()
1203 IsDiv, IsSigned); in shrinkDivRem64()
1209 return IsSigned ? Builder.CreateSExt(Narrowed, Num->getType()) : in shrinkDivRem64()