//===- Traits.cpp - Traits for MLIR DLTI dialect --------------------------===// // // 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/Dialect/DLTI/Traits.h" #include "mlir/Dialect/DLTI/DLTI.h" #include "mlir/Interfaces/DataLayoutInterfaces.h" usingnamespacemlir; LogicalResult mlir::impl::verifyHasDefaultDLTIDataLayoutTrait(Operation *op) { … } DataLayoutSpecInterface mlir::impl::getDataLayoutSpec(Operation *op) { … } TargetSystemSpecInterface mlir::impl::getTargetSystemSpec(Operation *op) { … }