Lines Matching refs:MCall
494 CallInst *MCall = nullptr; in createMalloc() local
497 MCall = CallInst::Create(MallocFunc, AllocSize, OpB, "malloccall", in createMalloc()
499 Result = MCall; in createMalloc()
502 Result = new BitCastInst(MCall, AllocPtrType, Name, InsertBefore); in createMalloc()
504 MCall = CallInst::Create(MallocFunc, AllocSize, OpB, "malloccall"); in createMalloc()
505 Result = MCall; in createMalloc()
507 InsertAtEnd->getInstList().push_back(MCall); in createMalloc()
509 Result = new BitCastInst(MCall, AllocPtrType, Name); in createMalloc()
512 MCall->setTailCall(); in createMalloc()
514 MCall->setCallingConv(F->getCallingConv()); in createMalloc()
517 assert(!MCall->getType()->isVoidTy() && "Malloc has void return type"); in createMalloc()