Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:FCmpInst

2949 Instruction *InstCombiner::FoldFCmp_IntToFP_Cst(FCmpInst &I,
2982 case FCmpInst::FCMP_UEQ:
2983 case FCmpInst::FCMP_OEQ:
2986 case FCmpInst::FCMP_UGT:
2987 case FCmpInst::FCMP_OGT:
2990 case FCmpInst::FCMP_UGE:
2991 case FCmpInst::FCMP_OGE:
2994 case FCmpInst::FCMP_ULT:
2995 case FCmpInst::FCMP_OLT:
2998 case FCmpInst::FCMP_ULE:
2999 case FCmpInst::FCMP_OLE:
3002 case FCmpInst::FCMP_UNE:
3003 case FCmpInst::FCMP_ONE:
3006 case FCmpInst::FCMP_ORD:
3008 case FCmpInst::FCMP_UNO:
3150 Instruction *InstCombiner::visitFCmpInst(FCmpInst &I) {
3170 case FCmpInst::FCMP_UNO: // True if unordered: isnan(X) | isnan(Y)
3171 case FCmpInst::FCMP_ULT: // True if unordered or less than
3172 case FCmpInst::FCMP_UGT: // True if unordered or greater than
3173 case FCmpInst::FCMP_UNE: // True if unordered or not equal
3175 I.setPredicate(FCmpInst::FCMP_UNO);
3179 case FCmpInst::FCMP_ORD: // True if ordered (no nans)
3180 case FCmpInst::FCMP_OEQ: // True if ordered and equal
3181 case FCmpInst::FCMP_OGE: // True if ordered and greater than or equal
3182 case FCmpInst::FCMP_OLE: // True if ordered and less than or equal
3184 I.setPredicate(FCmpInst::FCMP_ORD);
3230 return new FCmpInst(I.getPredicate(), LHSExt->getOperand(0),
3276 return new FCmpInst(I.getSwappedPredicate(), Op,
3302 case FCmpInst::FCMP_OLT:
3305 case FCmpInst::FCMP_OGT:
3306 return new FCmpInst(FCmpInst::FCMP_ONE, CI->getArgOperand(0),
3309 case FCmpInst::FCMP_OLE:
3310 return new FCmpInst(FCmpInst::FCMP_OEQ, CI->getArgOperand(0),
3313 case FCmpInst::FCMP_OGE:
3314 return new FCmpInst(FCmpInst::FCMP_ORD, CI->getArgOperand(0),
3318 case FCmpInst::FCMP_OEQ:
3319 case FCmpInst::FCMP_UEQ:
3320 case FCmpInst::FCMP_ONE:
3321 case FCmpInst::FCMP_UNE:
3322 return new FCmpInst(I.getPredicate(), CI->getArgOperand(0),
3334 return new FCmpInst(I.getSwappedPredicate(), X, Y);
3340 return new FCmpInst(I.getPredicate(), LHSExt->getOperand(0),