Searched refs:MallocFunc (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Instructions.cpp | 400 Value *MallocFunc = MallocF; in createMalloc() local 401 if (!MallocFunc) in createMalloc() 403 MallocFunc = M->getOrInsertFunction("malloc", BPTy, IntPtrTy, NULL); in createMalloc() 408 MCall = CallInst::Create(MallocFunc, AllocSize, "malloccall", InsertBefore); in createMalloc() 414 MCall = CallInst::Create(MallocFunc, AllocSize, "malloccall"); in createMalloc() 423 if (Function *F = dyn_cast<Function>(MallocFunc)) { in createMalloc()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Instructions.cpp | 451 Value *MallocFunc = MallocF; in createMalloc() local 452 if (!MallocFunc) in createMalloc() 454 MallocFunc = M->getOrInsertFunction("malloc", BPTy, IntPtrTy); in createMalloc() 459 MCall = CallInst::Create(MallocFunc, AllocSize, OpB, "malloccall", in createMalloc() 466 MCall = CallInst::Create(MallocFunc, AllocSize, OpB, "malloccall"); in createMalloc() 475 if (Function *F = dyn_cast<Function>(MallocFunc)) { in createMalloc()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 489 Value *MallocFunc = MallocF; in createMalloc() local 490 if (!MallocFunc) in createMalloc() 492 MallocFunc = M->getOrInsertFunction("malloc", BPTy, IntPtrTy, nullptr); in createMalloc() 497 MCall = CallInst::Create(MallocFunc, AllocSize, OpB, "malloccall", in createMalloc() 504 MCall = CallInst::Create(MallocFunc, AllocSize, OpB, "malloccall"); in createMalloc() 513 if (Function *F = dyn_cast<Function>(MallocFunc)) { in createMalloc()
|