Home
last modified time | relevance | path

Searched refs:MallocCall (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp5036 for (Instruction *MallocCall : MallocCalls) { in manifest()
5038 if (BadMallocCalls.count(MallocCall)) in manifest()
5041 for (Instruction *FreeCall : FreesForMalloc[MallocCall]) { in manifest()
5047 LLVM_DEBUG(dbgs() << "H2S: Removing malloc call: " << *MallocCall in manifest()
5052 if (isCallocLikeFn(MallocCall, TLI)) { in manifest()
5053 auto *Num = MallocCall->getOperand(0); in manifest()
5054 auto *SizeT = MallocCall->getOperand(1); in manifest()
5055 IRBuilder<> B(MallocCall); in manifest()
5057 } else if (isAlignedAllocLikeFn(MallocCall, TLI)) { in manifest()
5058 Size = MallocCall->getOperand(1); in manifest()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp974 auto *MallocCall = SetjmpTable->stripPointerCasts(); in runSjLjOnFunction() local
975 if (auto *MallocCallI = dyn_cast<Instruction>(MallocCall)) { in runSjLjOnFunction()