Lines Matching refs:Func
96 bool performCallDomainErrorOnly(CallInst *CI, const LibFunc &Func);
97 bool performCallErrors(CallInst *CI, const LibFunc &Func);
98 bool performCallRangeErrorOnly(CallInst *CI, const LibFunc &Func);
99 Value *generateOneRangeCond(CallInst *CI, const LibFunc &Func);
100 Value *generateTwoRangeCond(CallInst *CI, const LibFunc &Func);
101 Value *generateCondForPow(CallInst *CI, const LibFunc &Func);
137 const LibFunc &Func) { in performCallDomainErrorOnly() argument
140 switch (Func) { in performCallDomainErrorOnly()
189 const LibFunc &Func) { in performCallRangeErrorOnly() argument
192 switch (Func) { in performCallRangeErrorOnly()
208 Cond = generateTwoRangeCond(CI, Func); in performCallRangeErrorOnly()
215 Cond = generateOneRangeCond(CI, Func); in performCallRangeErrorOnly()
227 const LibFunc &Func) { in performCallErrors() argument
230 switch (Func) { in performCallErrors()
275 Cond = generateCondForPow(CI, Func); in performCallErrors()
300 LibFunc Func; in checkCandidate() local
304 if (!TLI.getLibFunc(*Callee, Func) || !TLI.has(Func)) in checkCandidate()
320 const LibFunc &Func) { in generateOneRangeCond() argument
322 switch (Func) { in generateOneRangeCond()
342 const LibFunc &Func) { in generateTwoRangeCond() argument
344 switch (Func) { in generateTwoRangeCond()
421 const LibFunc &Func) { in generateCondForPow() argument
423 if (Func != LibFunc_pow) { in generateCondForPow()
506 LibFunc Func; in perform() local
509 TLI.getLibFunc(*Callee, Func); in perform()
510 assert(Func && "perform() is not expecting an empty function"); in perform()
512 if (performCallDomainErrorOnly(CI, Func) || performCallRangeErrorOnly(CI, Func)) in perform()
514 return performCallErrors(CI, Func); in perform()