Lines Matching refs:Cond
95 void shrinkWrapCI(CallInst *CI, Value *Cond);
138 Value *Cond = nullptr; in performCallDomainErrorOnly() local
149 Cond = createOrCond(CI, CmpInst::FCMP_OLT, -1.0f, CmpInst::FCMP_OGT, 1.0f); in performCallDomainErrorOnly()
160 Cond = createOrCond(CI, CmpInst::FCMP_OEQ, INFINITY, CmpInst::FCMP_OEQ, in performCallDomainErrorOnly()
169 Cond = createCond(CI, CmpInst::FCMP_OLT, 1.0f); in performCallDomainErrorOnly()
177 Cond = createCond(CI, CmpInst::FCMP_OLT, 0.0f); in performCallDomainErrorOnly()
183 shrinkWrapCI(CI, Cond); in performCallDomainErrorOnly()
190 Value *Cond = nullptr; in performCallRangeErrorOnly() local
208 Cond = generateTwoRangeCond(CI, Func); in performCallRangeErrorOnly()
215 Cond = generateOneRangeCond(CI, Func); in performCallRangeErrorOnly()
221 shrinkWrapCI(CI, Cond); in performCallRangeErrorOnly()
228 Value *Cond = nullptr; in performCallErrors() local
238 Cond = createOrCond(CI, CmpInst::FCMP_OLE, -1.0f, CmpInst::FCMP_OGE, 1.0f); in performCallErrors()
257 Cond = createCond(CI, CmpInst::FCMP_OLE, 0.0f); in performCallErrors()
267 Cond = createCond(CI, CmpInst::FCMP_OLE, -1.0f); in performCallErrors()
275 Cond = generateCondForPow(CI, Func); in performCallErrors()
276 if (Cond == nullptr) in performCallErrors()
283 assert(Cond && "performCallErrors should not see an empty condition"); in performCallErrors()
284 shrinkWrapCI(CI, Cond); in performCallErrors()
476 Value *Cond = BBBuilder.CreateFCmp(CmpInst::FCMP_OGT, Exp, V); in generateCondForPow() local
478 return BBBuilder.CreateOr(Cond0, Cond); in generateCondForPow()
485 void LibCallsShrinkWrap::shrinkWrapCI(CallInst *CI, Value *Cond) { in shrinkWrapCI() argument
486 assert(Cond != nullptr && "ShrinkWrapCI is not expecting an empty call inst"); in shrinkWrapCI()
491 SplitBlockAndInsertIfThen(Cond, CI, false, BranchWeights, DT); in shrinkWrapCI()