Searched refs:LHSUnsigned (Results 1 – 5 of 5) sorted by relevance
4310 bool LHSUnsigned = isa<UIToFPInst>(LHSI); in FoldFCmp_IntToFP_Cst() local4315 APSInt RHSCvt(IntTy->getBitWidth(), LHSUnsigned); in FoldFCmp_IntToFP_Cst()4350 if (MaxExponent < (int)InputSize - !LHSUnsigned) in FoldFCmp_IntToFP_Cst()4356 if (MantissaWidth <= Exp && Exp <= (int)InputSize - !LHSUnsigned) in FoldFCmp_IntToFP_Cst()4376 Pred = LHSUnsigned ? ICmpInst::ICMP_UGT : ICmpInst::ICMP_SGT; in FoldFCmp_IntToFP_Cst()4380 Pred = LHSUnsigned ? ICmpInst::ICMP_UGE : ICmpInst::ICMP_SGE; in FoldFCmp_IntToFP_Cst()4384 Pred = LHSUnsigned ? ICmpInst::ICMP_ULT : ICmpInst::ICMP_SLT; in FoldFCmp_IntToFP_Cst()4388 Pred = LHSUnsigned ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_SLE; in FoldFCmp_IntToFP_Cst()4406 if (!LHSUnsigned) { in FoldFCmp_IntToFP_Cst()4432 if (!LHSUnsigned) { in FoldFCmp_IntToFP_Cst()[all …]
5828 bool LHSUnsigned = isa<UIToFPInst>(LHSI); in foldFCmpIntToFPConst() local5833 APSInt RHSCvt(IntTy->getBitWidth(), LHSUnsigned); in foldFCmpIntToFPConst()5868 if (MaxExponent < (int)InputSize - !LHSUnsigned) in foldFCmpIntToFPConst()5874 if (MantissaWidth <= Exp && Exp <= (int)InputSize - !LHSUnsigned) in foldFCmpIntToFPConst()5894 Pred = LHSUnsigned ? ICmpInst::ICMP_UGT : ICmpInst::ICMP_SGT; in foldFCmpIntToFPConst()5898 Pred = LHSUnsigned ? ICmpInst::ICMP_UGE : ICmpInst::ICMP_SGE; in foldFCmpIntToFPConst()5902 Pred = LHSUnsigned ? ICmpInst::ICMP_ULT : ICmpInst::ICMP_SLT; in foldFCmpIntToFPConst()5906 Pred = LHSUnsigned ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_SLE; in foldFCmpIntToFPConst()5924 if (!LHSUnsigned) { in foldFCmpIntToFPConst()5950 if (!LHSUnsigned) { in foldFCmpIntToFPConst()[all …]
5696 bool LHSUnsigned = isa<UIToFPInst>(LHSI); in foldFCmpIntToFPConst() local5701 APSInt RHSCvt(IntTy->getBitWidth(), LHSUnsigned); in foldFCmpIntToFPConst()5736 if (MaxExponent < (int)InputSize - !LHSUnsigned) in foldFCmpIntToFPConst()5742 if (MantissaWidth <= Exp && Exp <= (int)InputSize - !LHSUnsigned) in foldFCmpIntToFPConst()5762 Pred = LHSUnsigned ? ICmpInst::ICMP_UGT : ICmpInst::ICMP_SGT; in foldFCmpIntToFPConst()5766 Pred = LHSUnsigned ? ICmpInst::ICMP_UGE : ICmpInst::ICMP_SGE; in foldFCmpIntToFPConst()5770 Pred = LHSUnsigned ? ICmpInst::ICMP_ULT : ICmpInst::ICMP_SLT; in foldFCmpIntToFPConst()5774 Pred = LHSUnsigned ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_SLE; in foldFCmpIntToFPConst()5792 if (!LHSUnsigned) { in foldFCmpIntToFPConst()5818 if (!LHSUnsigned) { in foldFCmpIntToFPConst()[all …]
6410 bool LHSUnsigned = LHSC->isUnsignedIntegerType(); in getIntegerTypeOrder() local6416 if (LHSUnsigned == RHSUnsigned) { // Both signed or both unsigned. in getIntegerTypeOrder()6422 if (LHSUnsigned) { in getIntegerTypeOrder()9828 bool LHSUnsigned = LHS->castAs<ExtIntType>()->isUnsigned(); in mergeTypes() local9834 if (LHSUnsigned != RHSUnsigned) in mergeTypes()
4854 bool LHSUnsigned = LHSC->isUnsignedIntegerType(); in getIntegerTypeOrder() local4860 if (LHSUnsigned == RHSUnsigned) { // Both signed or both unsigned. in getIntegerTypeOrder()4866 if (LHSUnsigned) { in getIntegerTypeOrder()