Searched refs:Calloc (Results 1 – 3 of 3) sorted by relevance
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 789 Value *Calloc = M->getOrInsertFunction("calloc", Attrs, B.getInt8PtrTy(), in emitCalloc() local 791 CallInst *CI = B.CreateCall(Calloc, { Num, Size }, "calloc"); in emitCalloc() 793 if (const auto *F = dyn_cast<Function>(Calloc->stripPointerCasts())) in emitCalloc() 831 Value *Calloc = emitCalloc(ConstantInt::get(SizeType, 1), in foldMallocMemset() local 834 if (!Calloc) in foldMallocMemset() 837 Malloc->replaceAllUsesWith(Calloc); in foldMallocMemset() 840 return Calloc; in foldMallocMemset() 844 if (auto *Calloc = foldMallocMemset(CI, B, *TLI)) in optimizeMemSet() local 845 return Calloc; in optimizeMemSet()
|
/external/compiler-rt/lib/asan/ |
D | asan_allocator.cc | 564 void *Calloc(uptr nmemb, uptr size, BufferedStackTrace *stack) { in Calloc() function 738 return instance.Calloc(nmemb, size, stack); in asan_calloc()
|
/external/compiler-rt/lib/msan/tests/ |
D | msan_test.cc | 351 TEST(MemorySanitizer, Calloc) { in TEST() argument
|