Searched refs:mallocFunc (Results 1 – 2 of 2) sorted by relevance
255 LLVM::LLVMFuncOp freeFunc, mallocFunc; in copyUnrankedDescriptors() local257 mallocFunc = LLVM::lookupOrCreateMallocFn(module, indexType); in copyUnrankedDescriptors()276 ? builder.create<LLVM::CallOp>(loc, mallocFunc, allocationSize) in copyUnrankedDescriptors()
994 if (mlir::LLVM::LLVMFuncOp mallocFunc = in getMalloc() local996 return mallocFunc; in getMalloc()1029 mlir::LLVM::LLVMFuncOp mallocFunc = getMalloc(heap, rewriter); in matchAndRewrite() local1041 heap->setAttr("callee", mlir::SymbolRefAttr::get(mallocFunc)); in matchAndRewrite()