Add malloc call utility functions. Patch by Victor Hernandez.
commite5406467385df42184feed2f03fbdab5ac38c9f5
authorEvan Cheng <evan.cheng@apple.com>
Thu, 10 Sep 2009 04:36:43 +0000 (10 04:36 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 10 Sep 2009 04:36:43 +0000 (10 04:36 +0000)
treeb08e3c11348110692e65483dafca45b0489b12d4
parent5c6e5ae3c8ec8cc5df9f82b4c51d67105e941e5f
Add malloc call utility functions. Patch by Victor Hernandez.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81426 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/MallocHelper.h [new file with mode: 0644]
include/llvm/Instructions.h
lib/Analysis/MallocHelper.cpp [new file with mode: 0644]
lib/Transforms/Utils/LowerAllocations.cpp
lib/VMCore/Instructions.cpp