Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp240 bool llvm::isMallocLikeFn(const Value *V, const TargetLibraryInfo *TLI, in isMallocLikeFn() function in llvm
272 return isMallocLikeFn(I, TLI) ? dyn_cast<CallInst>(I) : nullptr; in extractMallocCall()
307 assert(isMallocLikeFn(CI, TLI) && "getMallocType and not malloc call"); in getMallocType()
351 assert(isMallocLikeFn(CI, TLI) && "getMallocArraySize and not malloc call"); in getMallocArraySize()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h69 bool isMallocLikeFn(const Value *V, const TargetLibraryInfo *TLI,
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DGVN.cpp945 if (isa<AllocaInst>(DepInst) || isMallocLikeFn(DepInst, TLI) || in AnalyzeLoadAvailability()
H A DNewGVN.cpp1471 if (isa<AllocaInst>(DepInst) || isMallocLikeFn(DepInst, TLI)) { in performSymbolicLoadCoercion()