MLIR
15.0.0git
|
Support for translating MLIR LLVM dialect types to LLVM IR. More...
Public Member Functions | |
TypeToLLVMIRTranslatorImpl (llvm::LLVMContext &context) | |
Constructs a class creating types in the given LLVM context. More... | |
llvm::Type * | translateType (Type type) |
Translates a single type. More... | |
Support for translating MLIR LLVM dialect types to LLVM IR.
Definition at line 25 of file TypeToLLVM.cpp.
|
inline |
Constructs a class creating types in the given LLVM context.
Definition at line 28 of file TypeToLLVM.cpp.
|
inline |
Translates a single type.
Definition at line 31 of file TypeToLLVM.cpp.
References mlir::LLVM::LLVMPointerType::getAddressSpace(), mlir::LLVM::LLVMStructType::getBody(), mlir::LLVM::LLVMArrayType::getElementType(), mlir::LLVM::LLVMPointerType::getElementType(), mlir::LLVM::LLVMFixedVectorType::getElementType(), mlir::LLVM::LLVMScalableVectorType::getElementType(), mlir::LLVM::LLVMScalableVectorType::getMinNumElements(), mlir::LLVM::LLVMStructType::getName(), mlir::LLVM::LLVMArrayType::getNumElements(), mlir::LLVM::LLVMFixedVectorType::getNumElements(), mlir::LLVM::LLVMFunctionType::getParams(), mlir::LLVM::LLVMFunctionType::getReturnType(), mlir::LLVM::isCompatibleVectorType(), mlir::LLVM::LLVMStructType::isIdentified(), mlir::LLVM::LLVMPointerType::isOpaque(), mlir::LLVM::LLVMStructType::isOpaque(), mlir::LLVM::LLVMStructType::isPacked(), and mlir::LLVM::LLVMFunctionType::isVarArg().