LLVM
20.0.0git
include
llvm
Support
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
12
#include "
llvm/Support/ELFAttributeParser.h
"
13
#include "
llvm/Support/HexagonAttributes.h
"
14
15
namespace
llvm
{
16
class
HexagonAttributeParser
:
public
ELFAttributeParser
{
17
struct
DisplayHandler {
18
HexagonAttrs::AttrType
Attribute
;
19
Error
(
HexagonAttributeParser
::*Routine)(
unsigned
);
20
};
21
22
static
const
DisplayHandler DisplayRoutines[];
23
24
Error
handler(
uint64_t
Tag
,
bool
&Handled)
override
;
25
26
public
:
27
HexagonAttributeParser
(
ScopedPrinter
*SP)
28
:
ELFAttributeParser
(SP, HexagonAttrs::getHexagonAttributeTags(),
29
"hexagon"
) {}
30
HexagonAttributeParser
()
31
:
ELFAttributeParser
(HexagonAttrs::getHexagonAttributeTags(),
"hexagon"
) {
32
}
33
};
34
35
}
// namespace llvm
36
37
#endif
ELFAttributeParser.h
HexagonAttributes.h
llvm::Attribute
Definition:
Attributes.h:67
llvm::ELFAttributeParser
Definition:
ELFAttributeParser.h:24
llvm::Error
Lightweight error class with error context and mandatory checking.
Definition:
Error.h:160
llvm::HexagonAttributeParser
Definition:
HexagonAttributeParser.h:16
llvm::HexagonAttributeParser::HexagonAttributeParser
HexagonAttributeParser()
Definition:
HexagonAttributeParser.h:30
llvm::HexagonAttributeParser::HexagonAttributeParser
HexagonAttributeParser(ScopedPrinter *SP)
Definition:
HexagonAttributeParser.h:27
llvm::ScopedPrinter
Definition:
ScopedPrinter.h:100
uint64_t
unsigned
llvm::HexagonAttrs::AttrType
AttrType
Definition:
HexagonAttributes.h:19
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::HighlightColor::Tag
@ Tag
Generated on Wed Dec 25 2024 11:20:10 for LLVM by
1.9.6