Lines Matching refs:CmpInst
89 void convertFCmp(CmpInst &I);
92 void convertICmp(CmpInst &I);
126 void SystemZTDCPass::convertFCmp(CmpInst &I) { in convertFCmp()
148 if ((Pred & CmpInst::FCMP_OGE) != CmpInst::FCMP_OGE && in convertFCmp()
149 (Pred & CmpInst::FCMP_OGE) != 0) in convertFCmp()
154 if ((Pred & CmpInst::FCMP_OLE) != CmpInst::FCMP_OLE && in convertFCmp()
155 (Pred & CmpInst::FCMP_OLE) != 0) in convertFCmp()
209 if (Pred & CmpInst::FCMP_OEQ) in convertFCmp()
211 if (Pred & CmpInst::FCMP_OGT) in convertFCmp()
213 if (Pred & CmpInst::FCMP_OLT) in convertFCmp()
215 if (Pred & CmpInst::FCMP_UNO) in convertFCmp()
236 void SystemZTDCPass::convertICmp(CmpInst &I) { in convertICmp()
251 if (Pred == CmpInst::ICMP_SLT && Const->isZero()) { in convertICmp()
254 } else if (Pred == CmpInst::ICMP_SGT && Const->isMinusOne()) { in convertICmp()
277 if (Pred == CmpInst::ICMP_NE) { in convertICmp()
279 } else if (Pred == CmpInst::ICMP_EQ) { in convertICmp()
330 convertFCmp(cast<CmpInst>(I)); in runOnFunction()
332 convertICmp(cast<CmpInst>(I)); in runOnFunction()
374 Value *ICmp = IRB.CreateICmp(CmpInst::ICMP_NE, TDC, Zero32); in runOnFunction()