MLIR  20.0.0git
Namespaces | Functions
FunctionCallUtils.h File Reference
#include "mlir/IR/Operation.h"
#include "mlir/Support/LLVM.h"
#include <optional>

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::LLVM
 

Functions

LLVM::LLVMFuncOp mlir::LLVM::lookupOrCreatePrintI64Fn (Operation *moduleOp)
 Helper functions to lookup or create the declaration for commonly used external C function calls. More...
 
LLVM::LLVMFuncOp mlir::LLVM::lookupOrCreatePrintU64Fn (Operation *moduleOp)
 
LLVM::LLVMFuncOp mlir::LLVM::lookupOrCreatePrintF16Fn (Operation *moduleOp)
 
LLVM::LLVMFuncOp mlir::LLVM::lookupOrCreatePrintBF16Fn (Operation *moduleOp)
 
LLVM::LLVMFuncOp mlir::LLVM::lookupOrCreatePrintF32Fn (Operation *moduleOp)
 
LLVM::LLVMFuncOp mlir::LLVM::lookupOrCreatePrintF64Fn (Operation *moduleOp)
 
LLVM::LLVMFuncOp mlir::LLVM::lookupOrCreatePrintStringFn (Operation *moduleOp, std::optional< StringRef > runtimeFunctionName={})
 Declares a function to print a C-string. More...
 
LLVM::LLVMFuncOp mlir::LLVM::lookupOrCreatePrintOpenFn (Operation *moduleOp)
 
LLVM::LLVMFuncOp mlir::LLVM::lookupOrCreatePrintCloseFn (Operation *moduleOp)
 
LLVM::LLVMFuncOp mlir::LLVM::lookupOrCreatePrintCommaFn (Operation *moduleOp)
 
LLVM::LLVMFuncOp mlir::LLVM::lookupOrCreatePrintNewlineFn (Operation *moduleOp)
 
LLVM::LLVMFuncOp mlir::LLVM::lookupOrCreateMallocFn (Operation *moduleOp, Type indexType)
 
LLVM::LLVMFuncOp mlir::LLVM::lookupOrCreateAlignedAllocFn (Operation *moduleOp, Type indexType)
 
LLVM::LLVMFuncOp mlir::LLVM::lookupOrCreateFreeFn (Operation *moduleOp)
 
LLVM::LLVMFuncOp mlir::LLVM::lookupOrCreateGenericAllocFn (Operation *moduleOp, Type indexType)
 
LLVM::LLVMFuncOp mlir::LLVM::lookupOrCreateGenericAlignedAllocFn (Operation *moduleOp, Type indexType)
 
LLVM::LLVMFuncOp mlir::LLVM::lookupOrCreateGenericFreeFn (Operation *moduleOp)
 
LLVM::LLVMFuncOp mlir::LLVM::lookupOrCreateMemRefCopyFn (Operation *moduleOp, Type indexType, Type unrankedDescriptorType)
 
LLVM::LLVMFuncOp mlir::LLVM::lookupOrCreateFn (Operation *moduleOp, StringRef name, ArrayRef< Type > paramTypes={}, Type resultType={}, bool isVarArg=false)
 Create a FuncOp with signature resultType(paramTypes)and namename`. More...