Searched refs:LHSUnsigned (Results 1 – 4 of 4) sorted by relevance
2595 bool LHSUnsigned = isa<UIToFPInst>(LHSI); in FoldFCmp_IntToFP_Cst() local2596 if (LHSUnsigned) in FoldFCmp_IntToFP_Cst()2617 Pred = LHSUnsigned ? ICmpInst::ICMP_UGT : ICmpInst::ICMP_SGT; in FoldFCmp_IntToFP_Cst()2621 Pred = LHSUnsigned ? ICmpInst::ICMP_UGE : ICmpInst::ICMP_SGE; in FoldFCmp_IntToFP_Cst()2625 Pred = LHSUnsigned ? ICmpInst::ICMP_ULT : ICmpInst::ICMP_SLT; in FoldFCmp_IntToFP_Cst()2629 Pred = LHSUnsigned ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_SLE; in FoldFCmp_IntToFP_Cst()2649 if (!LHSUnsigned) { in FoldFCmp_IntToFP_Cst()2675 if (!LHSUnsigned) { in FoldFCmp_IntToFP_Cst()2692 Constant *RHSInt = LHSUnsigned in FoldFCmp_IntToFP_Cst()2696 bool Equal = LHSUnsigned in FoldFCmp_IntToFP_Cst()
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 …]
4894 bool LHSUnsigned = isa<UIToFPInst>(LHSI); in foldFCmpIntToFPConst() local4899 APSInt RHSCvt(IntTy->getBitWidth(), LHSUnsigned); in foldFCmpIntToFPConst()4934 if (MaxExponent < (int)InputSize - !LHSUnsigned) in foldFCmpIntToFPConst()4940 if (MantissaWidth <= Exp && Exp <= (int)InputSize - !LHSUnsigned) in foldFCmpIntToFPConst()4960 Pred = LHSUnsigned ? ICmpInst::ICMP_UGT : ICmpInst::ICMP_SGT; in foldFCmpIntToFPConst()4964 Pred = LHSUnsigned ? ICmpInst::ICMP_UGE : ICmpInst::ICMP_SGE; in foldFCmpIntToFPConst()4968 Pred = LHSUnsigned ? ICmpInst::ICMP_ULT : ICmpInst::ICMP_SLT; in foldFCmpIntToFPConst()4972 Pred = LHSUnsigned ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_SLE; in foldFCmpIntToFPConst()4990 if (!LHSUnsigned) { in foldFCmpIntToFPConst()5016 if (!LHSUnsigned) { in foldFCmpIntToFPConst()[all …]
4854 bool LHSUnsigned = LHSC->isUnsignedIntegerType(); in getIntegerTypeOrder() local4860 if (LHSUnsigned == RHSUnsigned) { // Both signed or both unsigned. in getIntegerTypeOrder()4866 if (LHSUnsigned) { in getIntegerTypeOrder()