1//===- UBOpsInterfaces.td - UB interfaces definitions ------*- tablegen -*-===// 2// 3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4// See https://llvm.org/LICENSE.txt for license information. 5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6// 7//===----------------------------------------------------------------------===// 8 9#ifndef MLIR_DIALECT_UB_IR_UBOPSINTERFACES_TD 10#define MLIR_DIALECT_UB_IR_UBOPSINTERFACES_TD 11 12 13include "mlir/IR/OpBase.td" 14 15def PoisonAttrInterface : AttrInterface<"PoisonAttrInterface"> { 16 let cppNamespace = "::mlir::ub"; 17 // No methods for now. 18 19 // To make DefaultValuedAttr happy. 20 let constBuilderCall = cppNamespace # "::" # "PoisonAttr" # 21 "::get($_builder.getContext())"; 22} 23 24#endif // MLIR_DIALECT_UB_IR_UBOPSINTERFACES_TD 25