MLIR 23.0.0git
mlir::LLVM::detail::TypeFromLLVMIRTranslatorImpl Class Reference

Support for translating LLVM IR types to MLIR LLVM dialect types. More...

Public Member Functions

 TypeFromLLVMIRTranslatorImpl (MLIRContext &context, bool importStructsAsLiterals)
 Constructs a class creating types in the given MLIR context.
Type translateType (llvm::Type *type)
 Translates the given type.

Detailed Description

Support for translating LLVM IR types to MLIR LLVM dialect types.

Definition at line 24 of file TypeFromLLVM.cpp.

Constructor & Destructor Documentation

◆ TypeFromLLVMIRTranslatorImpl()

mlir::LLVM::detail::TypeFromLLVMIRTranslatorImpl::TypeFromLLVMIRTranslatorImpl ( MLIRContext & context,
bool importStructsAsLiterals )
inline

Constructs a class creating types in the given MLIR context.

Definition at line 27 of file TypeFromLLVM.cpp.

Member Function Documentation

◆ translateType()

Type mlir::LLVM::detail::TypeFromLLVMIRTranslatorImpl::translateType ( llvm::Type * type)
inline

Translates the given type.

Definition at line 32 of file TypeFromLLVM.cpp.


The documentation for this class was generated from the following file: