Searched refs:MallocFunc (Results 1 – 1 of 1) sorted by relevance
431 Value *MallocFunc = MallocF; in createMalloc() local432 if (!MallocFunc) in createMalloc()434 MallocFunc = M->getOrInsertFunction("malloc", BPTy, IntPtrTy, nullptr); in createMalloc()439 MCall = CallInst::Create(MallocFunc, AllocSize, "malloccall", InsertBefore); in createMalloc()445 MCall = CallInst::Create(MallocFunc, AllocSize, "malloccall"); in createMalloc()454 if (Function *F = dyn_cast<Function>(MallocFunc)) { in createMalloc()