Lines Matching refs:CmpInst
85 void convertFCmp(CmpInst &I);
88 void convertICmp(CmpInst &I);
122 void SystemZTDCPass::convertFCmp(CmpInst &I) { in convertFCmp()
144 if ((Pred & CmpInst::FCMP_OGE) != CmpInst::FCMP_OGE && in convertFCmp()
145 (Pred & CmpInst::FCMP_OGE) != 0) in convertFCmp()
150 if ((Pred & CmpInst::FCMP_OLE) != CmpInst::FCMP_OLE && in convertFCmp()
151 (Pred & CmpInst::FCMP_OLE) != 0) in convertFCmp()
205 if (Pred & CmpInst::FCMP_OEQ) in convertFCmp()
207 if (Pred & CmpInst::FCMP_OGT) in convertFCmp()
209 if (Pred & CmpInst::FCMP_OLT) in convertFCmp()
211 if (Pred & CmpInst::FCMP_UNO) in convertFCmp()
232 void SystemZTDCPass::convertICmp(CmpInst &I) { in convertICmp()
247 if (Pred == CmpInst::ICMP_SLT && Const->isZero()) { in convertICmp()
250 } else if (Pred == CmpInst::ICMP_SGT && Const->isMinusOne()) { in convertICmp()
273 if (Pred == CmpInst::ICMP_NE) { in convertICmp()
275 } else if (Pred == CmpInst::ICMP_EQ) { in convertICmp()
320 convertFCmp(cast<CmpInst>(I)); in runOnFunction()
322 convertICmp(cast<CmpInst>(I)); in runOnFunction()
364 Value *ICmp = IRB.CreateICmp(CmpInst::ICMP_NE, TDC, Zero32); in runOnFunction()