My Project
include
mlir
Analysis
CallInterfaces.h
Go to the documentation of this file.
1
//===- CallInterfaces.h - Call Interfaces for MLIR --------------*- C++ -*-===//
2
//
3
// Part of the MLIR 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
// This file contains the definitions of the call interfaces defined in
10
// `CallInterfaces.td`.
11
//
12
//===----------------------------------------------------------------------===//
13
14
#ifndef MLIR_ANALYSIS_CALLINTERFACES_H
15
#define MLIR_ANALYSIS_CALLINTERFACES_H
16
17
#include "
mlir/IR/OpDefinition.h
"
18
#include "llvm/ADT/PointerUnion.h"
19
20
namespace
mlir
{
21
24
struct
CallInterfaceCallable
:
public
PointerUnion
<SymbolRefAttr, Value> {
25
using
PointerUnion<SymbolRefAttr, Value>::PointerUnion
;
26
};
27
28
#include "mlir/Analysis/CallInterfaces.h.inc"
29
}
// end namespace mlir
30
31
#endif // MLIR_ANALYSIS_CALLINTERFACES_H
mlir
Definition:
InferTypeOpInterface.cpp:20
mlir::CallInterfaceCallable
Definition:
CallInterfaces.h:24
OpDefinition.h
llvm::PointerUnion
Definition:
LLVM.h:41
Generated by
1.8.13