Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Conversion/LLVMCommon/
H A DPattern.cpp255 LLVM::LLVMFuncOp freeFunc, mallocFunc; in copyUnrankedDescriptors() local
257 mallocFunc = LLVM::lookupOrCreateMallocFn(module, indexType); in copyUnrankedDescriptors()
276 ? builder.create<LLVM::CallOp>(loc, mallocFunc, allocationSize) in copyUnrankedDescriptors()
/llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/
H A DCodeGen.cpp994 if (mlir::LLVM::LLVMFuncOp mallocFunc = in getMalloc() local
996 return mallocFunc; in getMalloc()
1029 mlir::LLVM::LLVMFuncOp mallocFunc = getMalloc(heap, rewriter); in matchAndRewrite() local
1041 heap->setAttr("callee", mlir::SymbolRefAttr::get(mallocFunc)); in matchAndRewrite()