Lines Matching refs:CmpInst
85 static CmpInst::Predicate mapFCmpPred(CmpInst::Predicate P) { in mapFCmpPred()
87 case CmpInst::FCMP_OEQ: in mapFCmpPred()
88 case CmpInst::FCMP_UEQ: in mapFCmpPred()
89 return CmpInst::ICMP_EQ; in mapFCmpPred()
90 case CmpInst::FCMP_OGT: in mapFCmpPred()
91 case CmpInst::FCMP_UGT: in mapFCmpPred()
92 return CmpInst::ICMP_SGT; in mapFCmpPred()
93 case CmpInst::FCMP_OGE: in mapFCmpPred()
94 case CmpInst::FCMP_UGE: in mapFCmpPred()
95 return CmpInst::ICMP_SGE; in mapFCmpPred()
96 case CmpInst::FCMP_OLT: in mapFCmpPred()
97 case CmpInst::FCMP_ULT: in mapFCmpPred()
98 return CmpInst::ICMP_SLT; in mapFCmpPred()
99 case CmpInst::FCMP_OLE: in mapFCmpPred()
100 case CmpInst::FCMP_ULE: in mapFCmpPred()
101 return CmpInst::ICMP_SLE; in mapFCmpPred()
102 case CmpInst::FCMP_ONE: in mapFCmpPred()
103 case CmpInst::FCMP_UNE: in mapFCmpPred()
104 return CmpInst::ICMP_NE; in mapFCmpPred()
106 return CmpInst::BAD_ICMP_PREDICATE; in mapFCmpPred()
140 if (mapFCmpPred(cast<CmpInst>(&I)->getPredicate()) != in findRoots()
141 CmpInst::BAD_ICMP_PREDICATE) in findRoots()
476 CmpInst::Predicate P = mapFCmpPred(cast<CmpInst>(I)->getPredicate()); in convert()
477 assert(P != CmpInst::BAD_ICMP_PREDICATE && "Unhandled predicate!"); in convert()