Lines Matching refs:CmpInst
51 static CmpInst::Predicate mapFCmpPred(CmpInst::Predicate P) { in mapFCmpPred()
53 case CmpInst::FCMP_OEQ: in mapFCmpPred()
54 case CmpInst::FCMP_UEQ: in mapFCmpPred()
55 return CmpInst::ICMP_EQ; in mapFCmpPred()
56 case CmpInst::FCMP_OGT: in mapFCmpPred()
57 case CmpInst::FCMP_UGT: in mapFCmpPred()
58 return CmpInst::ICMP_SGT; in mapFCmpPred()
59 case CmpInst::FCMP_OGE: in mapFCmpPred()
60 case CmpInst::FCMP_UGE: in mapFCmpPred()
61 return CmpInst::ICMP_SGE; in mapFCmpPred()
62 case CmpInst::FCMP_OLT: in mapFCmpPred()
63 case CmpInst::FCMP_ULT: in mapFCmpPred()
64 return CmpInst::ICMP_SLT; in mapFCmpPred()
65 case CmpInst::FCMP_OLE: in mapFCmpPred()
66 case CmpInst::FCMP_ULE: in mapFCmpPred()
67 return CmpInst::ICMP_SLE; in mapFCmpPred()
68 case CmpInst::FCMP_ONE: in mapFCmpPred()
69 case CmpInst::FCMP_UNE: in mapFCmpPred()
70 return CmpInst::ICMP_NE; in mapFCmpPred()
72 return CmpInst::BAD_ICMP_PREDICATE; in mapFCmpPred()
106 if (mapFCmpPred(cast<CmpInst>(&I)->getPredicate()) != in findRoots()
107 CmpInst::BAD_ICMP_PREDICATE) in findRoots()
444 CmpInst::Predicate P = mapFCmpPred(cast<CmpInst>(I)->getPredicate()); in convert()
445 assert(P != CmpInst::BAD_ICMP_PREDICATE && "Unhandled predicate!"); in convert()