Lines Matching refs:Func

94   bool performCallDomainErrorOnly(CallInst *CI, const LibFunc &Func);
95 bool performCallErrors(CallInst *CI, const LibFunc &Func);
96 bool performCallRangeErrorOnly(CallInst *CI, const LibFunc &Func);
97 Value *generateOneRangeCond(CallInst *CI, const LibFunc &Func);
98 Value *generateTwoRangeCond(CallInst *CI, const LibFunc &Func);
99 Value *generateCondForPow(CallInst *CI, const LibFunc &Func);
135 const LibFunc &Func) { in performCallDomainErrorOnly() argument
138 switch (Func) { in performCallDomainErrorOnly()
187 const LibFunc &Func) { in performCallRangeErrorOnly() argument
190 switch (Func) { in performCallRangeErrorOnly()
206 Cond = generateTwoRangeCond(CI, Func); in performCallRangeErrorOnly()
213 Cond = generateOneRangeCond(CI, Func); in performCallRangeErrorOnly()
225 const LibFunc &Func) { in performCallErrors() argument
228 switch (Func) { in performCallErrors()
273 Cond = generateCondForPow(CI, Func); in performCallErrors()
298 LibFunc Func; in checkCandidate() local
302 if (!TLI.getLibFunc(*Callee, Func) || !TLI.has(Func)) in checkCandidate()
318 const LibFunc &Func) { in generateOneRangeCond() argument
320 switch (Func) { in generateOneRangeCond()
340 const LibFunc &Func) { in generateTwoRangeCond() argument
342 switch (Func) { in generateTwoRangeCond()
419 const LibFunc &Func) { in generateCondForPow() argument
421 if (Func != LibFunc_pow) { in generateCondForPow()
504 LibFunc Func; in perform() local
507 TLI.getLibFunc(*Callee, Func); in perform()
508 assert(Func && "perform() is not expecting an empty function"); in perform()
510 if (performCallDomainErrorOnly(CI, Func) || performCallRangeErrorOnly(CI, Func)) in perform()
512 return performCallErrors(CI, Func); in perform()