[mlir] provide same APIs as existing LLVMType in the new LLVM type modeling
authorAlex Zinenko <zinenko@google.com>
Tue, 4 Aug 2020 09:37:31 +0000 (11:37 +0200)
committerAlex Zinenko <zinenko@google.com>
Tue, 4 Aug 2020 11:49:14 +0000 (13:49 +0200)
commit6abd7e2e622bc7eabdb673a7815f6673523a1e94
tree7da4bd42a6078e17681e0258928af483093564f2
parentd4fbbab2e494a59480096a257136ed2b75d07e87
[mlir] provide same APIs as existing LLVMType in the new LLVM type modeling

These are intended to smoothen the transition and may be removed in the future
in favor of more MLIR-compatible APIs. They intentionally have the same
semantics as the existing functions, which must remain stable until the
transition is complete.

Depends On D85019

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D85020
mlir/include/mlir/Dialect/LLVMIR/LLVMTypes.h
mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp