LLVM 22.0.0git
HexagonAttributeParser.h
Go to the documentation of this file.
1//===-- HexagonAttributeParser.h - Hexagon Attribute Parser -----*- 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#ifndef LLVM_SUPPORT_HEXAGONATTRIBUTEPARSER_H
10#define LLVM_SUPPORT_HEXAGONATTRIBUTEPARSER_H
11
15
16namespace llvm {
18 struct DisplayHandler {
21 };
22
23 static const DisplayHandler DisplayRoutines[];
24
25 Error handler(uint64_t Tag, bool &Handled) override;
26
27public:
29 : ELFCompactAttrParser(SP, HexagonAttrs::getHexagonAttributeTags(),
30 "hexagon") {}
32 : ELFCompactAttrParser(HexagonAttrs::getHexagonAttributeTags(),
33 "hexagon") {}
34};
35
36} // namespace llvm
37
38#endif
#define LLVM_ABI
Definition Compiler.h:213
Functions, function parameters, and return types can have attributes to indicate how they should be t...
Definition Attributes.h:69
ELFCompactAttrParser(ScopedPrinter *sw, TagNameMap tagNameMap, StringRef vendor)
Lightweight error class with error context and mandatory checking.
Definition Error.h:159
This is an optimization pass for GlobalISel generic memory operations.