Lines Matching refs:Callee

172   if (const Function *Callee = CB->getCalledFunction())  in getCalledFunction()  local
173 return Callee; in getCalledFunction()
180 getAllocationDataForFunction(const Function *Callee, AllocType AllocTy, in getAllocationDataForFunction() argument
184 if (!Callee->getReturnType()->isPointerTy()) in getAllocationDataForFunction()
189 if (!TLI || !TLI->getLibFunc(*Callee, TLIFn) || !TLI->has(TLIFn)) in getAllocationDataForFunction()
207 FunctionType *FTy = Callee->getFunctionType(); in getAllocationDataForFunction()
225 if (const Function *Callee = getCalledFunction(V, IsNoBuiltinCall)) in getAllocationData() local
227 return getAllocationDataForFunction(Callee, AllocTy, TLI); in getAllocationData()
235 if (const Function *Callee = getCalledFunction(V, IsNoBuiltinCall)) in getAllocationData() local
238 Callee, AllocTy, &GetTLI(const_cast<Function &>(*Callee))); in getAllocationData()
245 const Function *Callee = in getAllocationSize() local
247 if (!Callee) in getAllocationSize()
254 getAllocationDataForFunction(Callee, AnyAlloc, TLI)) in getAllocationSize()
257 Attribute Attr = Callee->getFnAttribute(Attribute::AllocSize); in getAllocationSize()
267 Result.NumParams = Callee->getNumOperands(); in getAllocationSize()
500 std::optional<FreeFnsTy> getFreeFunctionDataForFunction(const Function *Callee, in getFreeFunctionDataForFunction() argument
514 const Function *Callee = getCalledFunction(I, IsNoBuiltin); in getAllocationFamily() local
515 if (Callee == nullptr || IsNoBuiltin) in getAllocationFamily()
519 if (TLI && TLI->getLibFunc(*Callee, TLIFn) && TLI->has(TLIFn)) { in getAllocationFamily()
521 const auto AllocData = getAllocationDataForFunction(Callee, AnyAlloc, TLI); in getAllocationFamily()
524 const auto FreeData = getFreeFunctionDataForFunction(Callee, TLIFn); in getAllocationFamily()
560 const Function *Callee = getCalledFunction(CB, IsNoBuiltinCall); in getFreedOperand() local
561 if (Callee == nullptr || IsNoBuiltinCall) in getFreedOperand()
565 if (TLI && TLI->getLibFunc(*Callee, TLIFn) && TLI->has(TLIFn) && in getFreedOperand()
566 isLibFreeFunction(Callee, TLIFn)) { in getFreedOperand()
913 Function *Callee = CB->getCalledFunction(); in findLoadSizeOffset() local
915 if (!Callee) in findLoadSizeOffset()