Lines Matching refs:MCall
423 CallInst *MCall = nullptr; in createMalloc() local
426 MCall = CallInst::Create(MallocFunc, AllocSize, "malloccall", InsertBefore); in createMalloc()
427 Result = MCall; in createMalloc()
430 Result = new BitCastInst(MCall, AllocPtrType, Name, InsertBefore); in createMalloc()
432 MCall = CallInst::Create(MallocFunc, AllocSize, "malloccall"); in createMalloc()
433 Result = MCall; in createMalloc()
435 InsertAtEnd->getInstList().push_back(MCall); in createMalloc()
437 Result = new BitCastInst(MCall, AllocPtrType, Name); in createMalloc()
440 MCall->setTailCall(); in createMalloc()
442 MCall->setCallingConv(F->getCallingConv()); in createMalloc()
445 assert(!MCall->getType()->isVoidTy() && "Malloc has void return type"); in createMalloc()