Lines Matching refs:FCmpInst
3703 Instruction *InstCombiner::FoldFCmp_IntToFP_Cst(FCmpInst &I, in FoldFCmp_IntToFP_Cst()
3727 FCmpInst::Predicate P = I.getPredicate(); in FoldFCmp_IntToFP_Cst()
3739 if (P == FCmpInst::FCMP_OEQ || P == FCmpInst::FCMP_UEQ) in FoldFCmp_IntToFP_Cst()
3742 assert(P == FCmpInst::FCMP_ONE || P == FCmpInst::FCMP_UNE); in FoldFCmp_IntToFP_Cst()
3767 case FCmpInst::FCMP_UEQ: in FoldFCmp_IntToFP_Cst()
3768 case FCmpInst::FCMP_OEQ: in FoldFCmp_IntToFP_Cst()
3771 case FCmpInst::FCMP_UGT: in FoldFCmp_IntToFP_Cst()
3772 case FCmpInst::FCMP_OGT: in FoldFCmp_IntToFP_Cst()
3775 case FCmpInst::FCMP_UGE: in FoldFCmp_IntToFP_Cst()
3776 case FCmpInst::FCMP_OGE: in FoldFCmp_IntToFP_Cst()
3779 case FCmpInst::FCMP_ULT: in FoldFCmp_IntToFP_Cst()
3780 case FCmpInst::FCMP_OLT: in FoldFCmp_IntToFP_Cst()
3783 case FCmpInst::FCMP_ULE: in FoldFCmp_IntToFP_Cst()
3784 case FCmpInst::FCMP_OLE: in FoldFCmp_IntToFP_Cst()
3787 case FCmpInst::FCMP_UNE: in FoldFCmp_IntToFP_Cst()
3788 case FCmpInst::FCMP_ONE: in FoldFCmp_IntToFP_Cst()
3791 case FCmpInst::FCMP_ORD: in FoldFCmp_IntToFP_Cst()
3793 case FCmpInst::FCMP_UNO: in FoldFCmp_IntToFP_Cst()
3933 Instruction *InstCombiner::visitFCmpInst(FCmpInst &I) { in visitFCmpInst()
3953 case FCmpInst::FCMP_UNO: // True if unordered: isnan(X) | isnan(Y) in visitFCmpInst()
3954 case FCmpInst::FCMP_ULT: // True if unordered or less than in visitFCmpInst()
3955 case FCmpInst::FCMP_UGT: // True if unordered or greater than in visitFCmpInst()
3956 case FCmpInst::FCMP_UNE: // True if unordered or not equal in visitFCmpInst()
3958 I.setPredicate(FCmpInst::FCMP_UNO); in visitFCmpInst()
3962 case FCmpInst::FCMP_ORD: // True if ordered (no nans) in visitFCmpInst()
3963 case FCmpInst::FCMP_OEQ: // True if ordered and equal in visitFCmpInst()
3964 case FCmpInst::FCMP_OGE: // True if ordered and greater than or equal in visitFCmpInst()
3965 case FCmpInst::FCMP_OLE: // True if ordered and less than or equal in visitFCmpInst()
3967 I.setPredicate(FCmpInst::FCMP_ORD); in visitFCmpInst()
4013 return new FCmpInst(I.getPredicate(), LHSExt->getOperand(0), in visitFCmpInst()
4034 return new FCmpInst(I.getSwappedPredicate(), Op, in visitFCmpInst()
4067 case FCmpInst::FCMP_OLT: in visitFCmpInst()
4070 case FCmpInst::FCMP_OGT: in visitFCmpInst()
4071 return new FCmpInst(FCmpInst::FCMP_ONE, CI->getArgOperand(0), RHSC); in visitFCmpInst()
4073 case FCmpInst::FCMP_OLE: in visitFCmpInst()
4074 return new FCmpInst(FCmpInst::FCMP_OEQ, CI->getArgOperand(0), RHSC); in visitFCmpInst()
4076 case FCmpInst::FCMP_OGE: in visitFCmpInst()
4077 return new FCmpInst(FCmpInst::FCMP_ORD, CI->getArgOperand(0), RHSC); in visitFCmpInst()
4080 case FCmpInst::FCMP_OEQ: in visitFCmpInst()
4081 case FCmpInst::FCMP_UEQ: in visitFCmpInst()
4082 case FCmpInst::FCMP_ONE: in visitFCmpInst()
4083 case FCmpInst::FCMP_UNE: in visitFCmpInst()
4084 return new FCmpInst(I.getPredicate(), CI->getArgOperand(0), RHSC); in visitFCmpInst()
4094 return new FCmpInst(I.getSwappedPredicate(), X, Y); in visitFCmpInst()
4100 return new FCmpInst(I.getPredicate(), LHSExt->getOperand(0), in visitFCmpInst()