Searched refs:MallocCall (Results 1 – 4 of 4) sorted by relevance
4421 for (Instruction *MallocCall : MallocCalls) { in manifest()4423 if (BadMallocCalls.count(MallocCall)) in manifest()4426 for (Instruction *FreeCall : FreesForMalloc[MallocCall]) { in manifest()4432 LLVM_DEBUG(dbgs() << "H2S: Removing malloc call: " << *MallocCall in manifest()4436 if (isCallocLikeFn(MallocCall, TLI)) { in manifest()4437 auto *Num = cast<ConstantInt>(MallocCall->getOperand(0)); in manifest()4438 auto *SizeT = dyn_cast<ConstantInt>(MallocCall->getOperand(1)); in manifest()4441 ConstantInt::get(MallocCall->getOperand(0)->getType(), TotalSize); in manifest()4443 Size = cast<ConstantInt>(MallocCall->getOperand(0)); in manifest()4446 unsigned AS = cast<PointerType>(MallocCall->getType())->getAddressSpace(); in manifest()[all …]
4982 for (Instruction *MallocCall : MallocCalls) { in manifest()4984 if (BadMallocCalls.count(MallocCall)) in manifest()4987 for (Instruction *FreeCall : FreesForMalloc[MallocCall]) { in manifest()4993 LLVM_DEBUG(dbgs() << "H2S: Removing malloc call: " << *MallocCall in manifest()4998 if (isCallocLikeFn(MallocCall, TLI)) { in manifest()4999 auto *Num = cast<ConstantInt>(MallocCall->getOperand(0)); in manifest()5000 auto *SizeT = cast<ConstantInt>(MallocCall->getOperand(1)); in manifest()5003 ConstantInt::get(MallocCall->getOperand(0)->getType(), TotalSize); in manifest()5004 } else if (isAlignedAllocLikeFn(MallocCall, TLI)) { in manifest()5005 Size = cast<ConstantInt>(MallocCall->getOperand(1)); in manifest()[all …]
970 auto *MallocCall = SetjmpTable->stripPointerCasts(); in runSjLjOnFunction() local971 if (auto *MallocCallI = dyn_cast<Instruction>(MallocCall)) { in runSjLjOnFunction()
1416 auto *MallocCall = dyn_cast<CallInst>(MallocMem); in findFADAllocationVisible() local1417 if (!MallocCall) in findFADAllocationVisible()1420 Function *MallocFn = MallocCall->getCalledFunction(); in findFADAllocationVisible()