Lines Matching refs:Func

75   bool performCallDomainErrorOnly(CallInst *CI, const LibFunc &Func);
76 bool performCallErrors(CallInst *CI, const LibFunc &Func);
77 bool performCallRangeErrorOnly(CallInst *CI, const LibFunc &Func);
78 Value *generateOneRangeCond(CallInst *CI, const LibFunc &Func);
79 Value *generateTwoRangeCond(CallInst *CI, const LibFunc &Func);
80 Value *generateCondForPow(CallInst *CI, const LibFunc &Func);
131 const LibFunc &Func) { in performCallDomainErrorOnly() argument
134 switch (Func) { in performCallDomainErrorOnly()
183 const LibFunc &Func) { in performCallRangeErrorOnly() argument
186 switch (Func) { in performCallRangeErrorOnly()
202 Cond = generateTwoRangeCond(CI, Func); in performCallRangeErrorOnly()
209 Cond = generateOneRangeCond(CI, Func); in performCallRangeErrorOnly()
221 const LibFunc &Func) { in performCallErrors() argument
224 switch (Func) { in performCallErrors()
269 Cond = generateCondForPow(CI, Func); in performCallErrors()
294 LibFunc Func; in checkCandidate() local
298 if (!TLI.getLibFunc(*Callee, Func) || !TLI.has(Func)) in checkCandidate()
314 const LibFunc &Func) { in generateOneRangeCond() argument
316 switch (Func) { in generateOneRangeCond()
336 const LibFunc &Func) { in generateTwoRangeCond() argument
338 switch (Func) { in generateTwoRangeCond()
415 const LibFunc &Func) { in generateCondForPow() argument
417 if (Func != LibFunc_pow) { in generateCondForPow()
488 LibFunc Func; in perform() local
491 TLI.getLibFunc(*Callee, Func); in perform()
492 assert(Func && "perform() is not expecting an empty function"); in perform()
494 if (performCallDomainErrorOnly(CI, Func) || performCallRangeErrorOnly(CI, Func)) in perform()
496 return performCallErrors(CI, Func); in perform()