Lines Matching refs:TLIFn
188 LibFunc TLIFn; in getAllocationDataForFunction() local
189 if (!TLI || !TLI->getLibFunc(*Callee, TLIFn) || !TLI->has(TLIFn)) in getAllocationDataForFunction()
193 AllocationFnData, [TLIFn](const std::pair<LibFunc, AllocFnsTy> &P) { in getAllocationDataForFunction()
194 return P.first == TLIFn; in getAllocationDataForFunction()
501 const LibFunc TLIFn) { in getFreeFunctionDataForFunction() argument
503 find_if(FreeFnData, [TLIFn](const std::pair<LibFunc, FreeFnsTy> &P) { in getFreeFunctionDataForFunction()
504 return P.first == TLIFn; in getFreeFunctionDataForFunction()
517 LibFunc TLIFn; in getAllocationFamily() local
519 if (TLI && TLI->getLibFunc(*Callee, TLIFn) && TLI->has(TLIFn)) { in getAllocationFamily()
524 const auto FreeData = getFreeFunctionDataForFunction(Callee, TLIFn); in getAllocationFamily()
539 bool llvm::isLibFreeFunction(const Function *F, const LibFunc TLIFn) { in isLibFreeFunction() argument
540 std::optional<FreeFnsTy> FnData = getFreeFunctionDataForFunction(F, TLIFn); in isLibFreeFunction()
564 LibFunc TLIFn; in getFreedOperand() local
565 if (TLI && TLI->getLibFunc(*Callee, TLIFn) && TLI->has(TLIFn) && in getFreedOperand()
566 isLibFreeFunction(Callee, TLIFn)) { in getFreedOperand()
918 LibFunc TLIFn; in findLoadSizeOffset() local
919 if (!TLI || !TLI->getLibFunc(*CB->getCalledFunction(), TLIFn) || in findLoadSizeOffset()
920 !TLI->has(TLIFn)) in findLoadSizeOffset()
924 if (TLIFn != LibFunc_posix_memalign) in findLoadSizeOffset()