DCE: isArrayMalloc() is not used neither in LLVM nor Clang
[oota-llvm.git] / include / llvm / Analysis / MemoryBuiltins.h
index d414680b519d4d84b1cde72113c0df3b087a6655..c1a7ee24f1aed5f9719ceddaaba6e6b5a477c86d 100644 (file)
@@ -82,12 +82,6 @@ static inline CallInst *extractMallocCall(Value *I,
   return const_cast<CallInst*>(extractMallocCall((const Value*)I, TLI));
 }
 
-/// isArrayMalloc - Returns the corresponding CallInst if the instruction
-/// is a call to malloc whose array size can be determined and the array size
-/// is not constant 1.  Otherwise, return NULL.
-const CallInst *isArrayMalloc(const Value *I, const DataLayout *DL,
-                              const TargetLibraryInfo *TLI);
-
 /// getMallocType - Returns the PointerType resulting from the malloc call.
 /// The PointerType depends on the number of bitcast uses of the malloc call:
 ///   0: PointerType is the malloc calls' return type.