Lines Matching refs:MCall
715 CallInst *MCall = nullptr; in createMalloc() local
718 MCall = CallInst::Create(MallocFunc, AllocSize, OpB, "malloccall", in createMalloc()
720 Result = MCall; in createMalloc()
723 Result = new BitCastInst(MCall, AllocPtrType, Name, InsertBefore); in createMalloc()
725 MCall = CallInst::Create(MallocFunc, AllocSize, OpB, "malloccall"); in createMalloc()
726 Result = MCall; in createMalloc()
728 InsertAtEnd->getInstList().push_back(MCall); in createMalloc()
730 Result = new BitCastInst(MCall, AllocPtrType, Name); in createMalloc()
733 MCall->setTailCall(); in createMalloc()
735 MCall->setCallingConv(F->getCallingConv()); in createMalloc()
739 assert(!MCall->getType()->isVoidTy() && "Malloc has void return type"); in createMalloc()