reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Analysis/MemoryBuiltins.h
   72 bool isMallocLikeFn(const Value *V, const TargetLibraryInfo *TLI,

References

lib/Analysis/MemoryBuiltins.cpp
  358   assert(isMallocLikeFn(CI, TLI) && "getMallocType and not malloc call");
  402   assert(isMallocLikeFn(CI, TLI) && "getMallocArraySize and not malloc call");
lib/Transforms/IPO/Attributor.cpp
 3711     bool IsMalloc = isMallocLikeFn(&I, TLI);
lib/Transforms/InstCombine/InstCombineCalls.cpp
 4226   if (isMallocLikeFn(&Call, TLI) && Op0C) {
lib/Transforms/Scalar/GVN.cpp
  927   if (isa<AllocaInst>(DepInst) || isMallocLikeFn(DepInst, TLI) ||
lib/Transforms/Scalar/NewGVN.cpp
 1472   if (isa<AllocaInst>(DepInst) || isMallocLikeFn(DepInst, TLI)) {
unittests/Analysis/MemoryBuiltinsTest.cpp
   40   EXPECT_FALSE(isMallocLikeFn(Caller.get(), TLI));