Home
last modified time | relevance | path

Searched refs:isMallocLikeFn (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h70 bool isMallocLikeFn(const Value *V, const TargetLibraryInfo *TLI,
72 bool isMallocLikeFn(const Value *V,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp264 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DGVN.cpp1088 if (isa<AllocaInst>(DepInst) || isMallocLikeFn(DepInst, TLI) || in AnalyzeLoadAvailability()
H A DNewGVN.cpp1492 if (isa<AllocaInst>(DepInst) || isMallocLikeFn(DepInst, TLI) || in performSymbolicLoadCoercion()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp2147 if (isMallocLikeFn(&Call, TLI) && Op0C) { in annotateAnyAllocSite()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp5203 bool IsMalloc = isMallocLikeFn(&I, TLI); in updateImpl()