MLIR
17.0.0git
|
#include "mlir-c/Dialect/LLVM.h"
#include "mlir/CAPI/Registration.h"
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "mlir/Dialect/LLVMIR/LLVMTypes.h"
Go to the source code of this file.
Functions | |
MlirType | mlirLLVMPointerTypeGet (MlirType pointee, unsigned addressSpace) |
Creates an llvm.ptr type. More... | |
MlirType | mlirLLVMVoidTypeGet (MlirContext ctx) |
Creates an llmv.void type. More... | |
MlirType | mlirLLVMArrayTypeGet (MlirType elementType, unsigned numElements) |
Creates an llvm.array type. More... | |
MlirType | mlirLLVMFunctionTypeGet (MlirType resultType, intptr_t nArgumentTypes, MlirType const *argumentTypes, bool isVarArg) |
Creates an llvm.func type. More... | |
MlirType | mlirLLVMStructTypeLiteralGet (MlirContext ctx, intptr_t nFieldTypes, MlirType const *fieldTypes, bool isPacked) |
Creates an LLVM literal (unnamed) struct type. More... | |
MlirType mlirLLVMArrayTypeGet | ( | MlirType | elementType, |
unsigned | numElements | ||
) |
MlirType mlirLLVMFunctionTypeGet | ( | MlirType | resultType, |
intptr_t | nArgumentTypes, | ||
MlirType const * | argumentTypes, | ||
bool | isVarArg | ||
) |
Creates an llvm.func type.
Definition at line 31 of file LLVM.cpp.
References unwrap(), unwrapList(), and wrap().
MlirType mlirLLVMPointerTypeGet | ( | MlirType | pointee, |
unsigned | addressSpace | ||
) |
MlirType mlirLLVMStructTypeLiteralGet | ( | MlirContext | ctx, |
intptr_t | nFieldTypes, | ||
MlirType const * | fieldTypes, | ||
bool | isPacked | ||
) |
Creates an LLVM literal (unnamed) struct type.
Definition at line 39 of file LLVM.cpp.
References mlir::LLVM::LLVMStructType::getLiteral(), unwrap(), unwrapList(), and wrap().