#include "mlir/Target/LLVMIR/TypeFromLLVM.h"
#include "mlir/Dialect/LLVMIR/LLVMTypes.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/IR/MLIRContext.h"
#include "llvm/ADT/TypeSwitch.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Type.h"
usingnamespacemlir;
namespace mlir {
namespace LLVM {
namespace detail {
class TypeFromLLVMIRTranslatorImpl { … };
}
}
}
LLVM::TypeFromLLVMIRTranslator::TypeFromLLVMIRTranslator(MLIRContext &context)
: … { … }
LLVM::TypeFromLLVMIRTranslator::~TypeFromLLVMIRTranslator() = default;
Type LLVM::TypeFromLLVMIRTranslator::translateType(llvm::Type *type) { … }