Lines Matching defs:Callee
177 getAllocationDataForFunction(const Function *Callee, AllocType AllocTy,
181 if (!Callee->getReturnType()->isPointerTy())
186 if (!TLI || !TLI->getLibFunc(*Callee, TLIFn) || !TLI->has(TLIFn))
204 FunctionType *FTy = Callee->getFunctionType();
221 if (const Function *Callee = getCalledFunction(V))
222 return getAllocationDataForFunction(Callee, AllocTy, TLI);
229 if (const Function *Callee = getCalledFunction(V))
231 Callee, AllocTy, &GetTLI(const_cast<Function &>(*Callee)));
237 if (const Function *Callee = getCalledFunction(CB)) {
241 getAllocationDataForFunction(Callee, AnyAlloc, TLI))
488 std::optional<FreeFnsTy> getFreeFunctionDataForFunction(const Function *Callee,
501 if (const Function *Callee = getCalledFunction(I)) {
503 if (TLI && TLI->getLibFunc(*Callee, TLIFn) && TLI->has(TLIFn)) {
504 // Callee is some known library function.
506 getAllocationDataForFunction(Callee, AnyAlloc, TLI);
509 const auto FreeData = getFreeFunctionDataForFunction(Callee, TLIFn);
515 // Callee isn't a known library function, still check attributes.
546 if (const Function *Callee = getCalledFunction(CB)) {
548 if (TLI && TLI->getLibFunc(*Callee, TLIFn) && TLI->has(TLIFn) &&
549 isLibFreeFunction(Callee, TLIFn)) {
1042 Function *Callee = CB->getCalledFunction();
1044 if (!Callee)