Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp285 FunctionCallee MallocFunc = MallocF; in CreateMalloc() local
286 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()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUSwLowerLDS.cpp872 FunctionCallee MallocFunc = M.getOrInsertFunction( in lowerKernelLDSAccesses() local
876 Value *MallocCall = IRB.CreateCall(MallocFunc, {CurrMallocSize, RAPtrToInt}); in lowerKernelLDSAccesses()