Searched refs:MallocFunc (Results 1 – 2 of 2) sorted by relevance
285 FunctionCallee MallocFunc = MallocF; in CreateMalloc() local286 if (!MallocFunc) in CreateMalloc()288 MallocFunc = M->getOrInsertFunction("malloc", BPTy, IntPtrTy); in CreateMalloc()289 CallInst *MCall = CreateCall(MallocFunc, AllocSize, OpB, Name); in CreateMalloc()292 if (Function *F = dyn_cast<Function>(MallocFunc.getCallee())) { in CreateMalloc()
872 FunctionCallee MallocFunc = M.getOrInsertFunction( in lowerKernelLDSAccesses() local876 Value *MallocCall = IRB.CreateCall(MallocFunc, {CurrMallocSize, RAPtrToInt}); in lowerKernelLDSAccesses()