Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DInstructions.cpp431 Value *MallocFunc = MallocF; in createMalloc() local
432 if (!MallocFunc) in createMalloc()
434 MallocFunc = M->getOrInsertFunction("malloc", BPTy, IntPtrTy, nullptr); in createMalloc()
439 MCall = CallInst::Create(MallocFunc, AllocSize, "malloccall", InsertBefore); in createMalloc()
445 MCall = CallInst::Create(MallocFunc, AllocSize, "malloccall"); in createMalloc()
454 if (Function *F = dyn_cast<Function>(MallocFunc)) { in createMalloc()