LLVM  15.0.0git
HexagonDepArch.h
Go to the documentation of this file.
1 //===----------------------------------------------------------------------===//
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 // Automatically generated file, do not edit!
9 //===----------------------------------------------------------------------===//
10 
11 
12 #ifndef LLVM_LIB_TARGET_HEXAGON_HEXAGONDEPARCH_H
13 #define LLVM_LIB_TARGET_HEXAGON_HEXAGONDEPARCH_H
14 
15 #include "llvm/ADT/StringSwitch.h"
16 
17 namespace llvm {
18 namespace Hexagon {
19 enum class ArchEnum { NoArch, Generic, V5, V55, V60, V62, V65, V66, V67, V68, V69 };
20 
23  .Case("generic", Hexagon::ArchEnum::V5)
24  .Case("hexagonv5", Hexagon::ArchEnum::V5)
25  .Case("hexagonv55", Hexagon::ArchEnum::V55)
26  .Case("hexagonv60", Hexagon::ArchEnum::V60)
27  .Case("hexagonv62", Hexagon::ArchEnum::V62)
28  .Case("hexagonv65", Hexagon::ArchEnum::V65)
29  .Case("hexagonv66", Hexagon::ArchEnum::V66)
30  .Case("hexagonv67", Hexagon::ArchEnum::V67)
31  .Case("hexagonv67t", Hexagon::ArchEnum::V67)
32  .Case("hexagonv68", Hexagon::ArchEnum::V68)
33  .Case("hexagonv69", Hexagon::ArchEnum::V69)
34  .Default(None);
35 }
36 } // namespace Hexagon
37 } // namespace llvm
38 
39 #endif // LLVM_LIB_TARGET_HEXAGON_HEXAGONDEPARCH_H
llvm::StringSwitch::Case
StringSwitch & Case(StringLiteral S, T Value)
Definition: StringSwitch.h:69
llvm::Hexagon::ArchEnum
ArchEnum
Definition: HexagonDepArch.h:19
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:17
llvm::Hexagon::ArchEnum::NoArch
@ NoArch
llvm::Hexagon::ArchEnum::V65
@ V65
llvm::StringSwitch::Default
LLVM_NODISCARD R Default(T Value)
Definition: StringSwitch.h:183
llvm::Optional
Definition: APInt.h:33
llvm::Hexagon::ArchEnum::V5
@ V5
llvm::Hexagon::ArchEnum::V66
@ V66
llvm::Hexagon::ArchEnum::Generic
@ Generic
llvm::Hexagon::ArchEnum::V62
@ V62
llvm::None
const NoneType None
Definition: None.h:24
llvm::Hexagon::ArchEnum::V67
@ V67
llvm::Hexagon::ArchEnum::V55
@ V55
llvm::Hexagon::getCpu
Optional< Hexagon::ArchEnum > getCpu(StringRef CPU)
Definition: HexagonDepArch.h:21
llvm::StringRef
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:58
llvm::Hexagon::ArchEnum::V69
@ V69
StringSwitch.h
llvm::Hexagon::ArchEnum::V68
@ V68
llvm::Hexagon::ArchEnum::V60
@ V60
llvm::StringSwitch
A switch()-like statement whose cases are string literals.
Definition: StringSwitch.h:44