Lines Matching refs:Cond

93   void shrinkWrapCI(CallInst *CI, Value *Cond);
136 Value *Cond = nullptr; in performCallDomainErrorOnly() local
147 Cond = createOrCond(CI, CmpInst::FCMP_OLT, -1.0f, CmpInst::FCMP_OGT, 1.0f); in performCallDomainErrorOnly()
158 Cond = createOrCond(CI, CmpInst::FCMP_OEQ, INFINITY, CmpInst::FCMP_OEQ, in performCallDomainErrorOnly()
167 Cond = createCond(CI, CmpInst::FCMP_OLT, 1.0f); in performCallDomainErrorOnly()
175 Cond = createCond(CI, CmpInst::FCMP_OLT, 0.0f); in performCallDomainErrorOnly()
181 shrinkWrapCI(CI, Cond); in performCallDomainErrorOnly()
188 Value *Cond = nullptr; in performCallRangeErrorOnly() local
206 Cond = generateTwoRangeCond(CI, Func); in performCallRangeErrorOnly()
213 Cond = generateOneRangeCond(CI, Func); in performCallRangeErrorOnly()
219 shrinkWrapCI(CI, Cond); in performCallRangeErrorOnly()
226 Value *Cond = nullptr; in performCallErrors() local
236 Cond = createOrCond(CI, CmpInst::FCMP_OLE, -1.0f, CmpInst::FCMP_OGE, 1.0f); in performCallErrors()
255 Cond = createCond(CI, CmpInst::FCMP_OLE, 0.0f); in performCallErrors()
265 Cond = createCond(CI, CmpInst::FCMP_OLE, -1.0f); in performCallErrors()
273 Cond = generateCondForPow(CI, Func); in performCallErrors()
274 if (Cond == nullptr) in performCallErrors()
281 assert(Cond && "performCallErrors should not see an empty condition"); in performCallErrors()
282 shrinkWrapCI(CI, Cond); in performCallErrors()
474 Value *Cond = BBBuilder.CreateFCmp(CmpInst::FCMP_OGT, Exp, V); in generateCondForPow() local
476 return BBBuilder.CreateOr(Cond0, Cond); in generateCondForPow()
483 void LibCallsShrinkWrap::shrinkWrapCI(CallInst *CI, Value *Cond) { in shrinkWrapCI() argument
484 assert(Cond != nullptr && "ShrinkWrapCI is not expecting an empty call inst"); in shrinkWrapCI()
489 SplitBlockAndInsertIfThen(Cond, CI, false, BranchWeights, DT); in shrinkWrapCI()