CIRCT 20.0.0git
Loading...
Searching...
No Matches
MSFTAttributes.h
Go to the documentation of this file.
1//===- MSFTAttributes.h - Microsoft dialect attributes ----------*- C++ -*-===//
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// This file contains the MSFT dialect custom attributes.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef CIRCT_DIALECT_MSFT_MSFTATTRIBUTES_H
14#define CIRCT_DIALECT_MSFT_MSFTATTRIBUTES_H
15
17#include "circt/Support/LLVM.h"
18
19#include "mlir/IR/BuiltinAttributes.h"
20
21#define GET_ATTRDEF_CLASSES
22#include "circt/Dialect/MSFT/MSFTAttributes.h.inc"
23
24namespace circt {
25namespace msft {
26
27/// Parse and append a PhysLocAttr. Options are '*' for null location, <x, y,
28/// num> for a location which is implicitily a FF, or a full phys location
29/// attribute.
30LogicalResult parseOptionalRegLoc(SmallVectorImpl<PhysLocationAttr> &locs,
31 AsmParser &p);
32/// Print out the above.
33void printOptionalRegLoc(PhysLocationAttr loc, AsmPrinter &p);
34
35} // namespace msft
36} // namespace circt
37
38#endif // CIRCT_DIALECT_MSFT_MSFTATTRIBUTES_H
LogicalResult parseOptionalRegLoc(SmallVectorImpl< PhysLocationAttr > &locs, AsmParser &p)
Parse and append a PhysLocAttr.
void printOptionalRegLoc(PhysLocationAttr loc, AsmPrinter &p)
Print out the above.
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition msft.py:1