Searched refs:isMallocLikeFn (Results 1 – 6 of 6) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | MemoryBuiltins.h | 70 bool isMallocLikeFn(const Value *V, const TargetLibraryInfo *TLI, 72 bool isMallocLikeFn(const Value *V,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemoryBuiltins.cpp | 264 bool llvm::isMallocLikeFn(const Value *V, const TargetLibraryInfo *TLI, in isMallocLikeFn() function in llvm 268 bool llvm::isMallocLikeFn( in isMallocLikeFn() function in llvm 344 return isMallocLikeFn(I, GetTLI) ? dyn_cast<CallInst>(I) : nullptr; in extractMallocCall() 379 assert(isMallocLikeFn(CI, TLI) && "getMallocType and not malloc call"); in getMallocType() 422 assert(isMallocLikeFn(CI, TLI) && "getMallocArraySize and not malloc call"); in getMallocArraySize()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | GVN.cpp | 1087 if (isa<AllocaInst>(DepInst) || isMallocLikeFn(DepInst, TLI) || in AnalyzeLoadAvailability()
|
| H A D | NewGVN.cpp | 1492 if (isa<AllocaInst>(DepInst) || isMallocLikeFn(DepInst, TLI) || in performSymbolicLoadCoercion()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 2240 if (isMallocLikeFn(&Call, TLI) && Op0C) { in annotateAnyAllocSite()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 5812 bool IsMalloc = isMallocLikeFn(CB, TLI); in initialize()
|