Lines Matching refs:LLVMFuncOp
315 static mlir::LLVM::LLVMFuncOp
320 if (auto memSizeFunc = module.lookupSymbol<mlir::LLVM::LLVMFuncOp>(name)) in getDependentTypeMemSizeFn()
380 mlir::LLVM::LLVMFuncOp memSizeFn = in matchAndRewrite()
991 static mlir::LLVM::LLVMFuncOp
994 if (mlir::LLVM::LLVMFuncOp mallocFunc = in getMalloc()
995 module.lookupSymbol<mlir::LLVM::LLVMFuncOp>("malloc")) in getMalloc()
1000 return moduleBuilder.create<mlir::LLVM::LLVMFuncOp>( in getMalloc()
1029 mlir::LLVM::LLVMFuncOp mallocFunc = getMalloc(heap, rewriter); in matchAndRewrite()
1066 static mlir::LLVM::LLVMFuncOp
1069 if (mlir::LLVM::LLVMFuncOp freeFunc = in getFree()
1070 module.lookupSymbol<mlir::LLVM::LLVMFuncOp>("free")) in getFree()
1074 return moduleBuilder.create<mlir::LLVM::LLVMFuncOp>( in getFree()
1098 mlir::LLVM::LLVMFuncOp freeFunc = getFree(freemem, rewriter); in matchAndRewrite()
1120 mlir::LLVM::LLVMFuncOp
1123 return mlir::isa<mlir::LLVM::LLVMFuncOp>(parentOp) in getFuncForAllocaInsert()
1124 ? mlir::cast<mlir::LLVM::LLVMFuncOp>(parentOp) in getFuncForAllocaInsert()
1125 : parentOp->getParentOfType<mlir::LLVM::LLVMFuncOp>(); in getFuncForAllocaInsert()
1133 mlir::LLVM::LLVMFuncOp func = getFuncForAllocaInsert(rewriter); in genAllocaWithType()