Lines Matching refs:MCall
436 CallInst *MCall = nullptr; in createMalloc() local
439 MCall = CallInst::Create(MallocFunc, AllocSize, "malloccall", InsertBefore); in createMalloc()
440 Result = MCall; in createMalloc()
443 Result = new BitCastInst(MCall, AllocPtrType, Name, InsertBefore); in createMalloc()
445 MCall = CallInst::Create(MallocFunc, AllocSize, "malloccall"); in createMalloc()
446 Result = MCall; in createMalloc()
448 InsertAtEnd->getInstList().push_back(MCall); in createMalloc()
450 Result = new BitCastInst(MCall, AllocPtrType, Name); in createMalloc()
453 MCall->setTailCall(); in createMalloc()
455 MCall->setCallingConv(F->getCallingConv()); in createMalloc()
458 assert(!MCall->getType()->isVoidTy() && "Malloc has void return type"); in createMalloc()