//===- TypeRange.cpp ------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "mlir/IR/TypeRange.h" #include "mlir/IR/Operation.h" usingnamespacemlir; //===----------------------------------------------------------------------===// // TypeRange TypeRange::TypeRange(ArrayRef<Type> types) : … { … } TypeRange::TypeRange(OperandRange values) : … { … } TypeRange::TypeRange(ResultRange values) : … { … } TypeRange::TypeRange(ValueRange values) : … { … } /// See `llvm::detail::indexed_accessor_range_base` for details. TypeRange::OwnerT TypeRange::offset_base(OwnerT object, ptrdiff_t index) { … } /// See `llvm::detail::indexed_accessor_range_base` for details. Type TypeRange::dereference_iterator(OwnerT object, ptrdiff_t index) { … }