Lines Matching refs:TLIFn
182 LibFunc TLIFn; in getAllocationDataForFunction() local
183 if (!TLI || !TLI->getLibFunc(*Callee, TLIFn) || !TLI->has(TLIFn)) in getAllocationDataForFunction()
187 AllocationFnData, [TLIFn](const std::pair<LibFunc, AllocFnsTy> &P) { in getAllocationDataForFunction()
188 return P.first == TLIFn; in getAllocationDataForFunction()
519 const LibFunc TLIFn) { in getFreeFunctionDataForFunction() argument
521 find_if(FreeFnData, [TLIFn](const std::pair<LibFunc, FreeFnsTy> &P) { in getFreeFunctionDataForFunction()
522 return P.first == TLIFn; in getFreeFunctionDataForFunction()
535 LibFunc TLIFn; in getAllocationFamily() local
537 if (TLI && TLI->getLibFunc(*Callee, TLIFn) && TLI->has(TLIFn)) { in getAllocationFamily()
542 const auto FreeData = getFreeFunctionDataForFunction(Callee, TLIFn); in getAllocationFamily()
557 bool llvm::isLibFreeFunction(const Function *F, const LibFunc TLIFn) { in isLibFreeFunction() argument
558 Optional<FreeFnsTy> FnData = getFreeFunctionDataForFunction(F, TLIFn); in isLibFreeFunction()
582 LibFunc TLIFn; in getFreedOperand() local
583 if (TLI && TLI->getLibFunc(*Callee, TLIFn) && TLI->has(TLIFn) && in getFreedOperand()
584 isLibFreeFunction(Callee, TLIFn)) { in getFreedOperand()
917 LibFunc TLIFn; in findLoadSizeOffset() local
918 if (!TLI || !TLI->getLibFunc(*CB->getCalledFunction(), TLIFn) || in findLoadSizeOffset()
919 !TLI->has(TLIFn)) in findLoadSizeOffset()
923 if (TLIFn != LibFunc_posix_memalign) in findLoadSizeOffset()