LLVM
24.0.0git
lib
Target
AArch64
MCTargetDesc
AArch64MCOptions.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
9
#ifndef LLVM_LIB_TARGET_AARCH64_MCTARGETDESC_AARCH64MCOPTIONS_H
10
#define LLVM_LIB_TARGET_AARCH64_MCTARGETDESC_AARCH64MCOPTIONS_H
11
12
#include "
llvm/MC/MCTargetOptions.h
"
13
#include <optional>
14
15
namespace
llvm::AArch64
{
16
enum
AsmWriterVariantTy
{
Generic
= 0,
Apple
= 1 };
17
}
// namespace llvm::AArch64
18
19
#define OPTIONS_STRUCT_DECL
20
#include "AArch64MCOptions.inc"
21
22
namespace
llvm::AArch64_MC
{
23
inline
const
AArch64MCOptions &
getCLOpts
(
const
MCTargetOptions
&
Options
) {
24
return
cl::LibraryOptionsContext::get<AArch64MCOptions>
(
25
Options
.LibraryOptions);
26
}
27
}
// namespace llvm::AArch64_MC
28
29
#endif
// LLVM_LIB_TARGET_AARCH64_MCTARGETDESC_AARCH64MCOPTIONS_H
Options
static LVOptions Options
Definition
LVOptions.cpp:25
MCTargetOptions.h
llvm::MCTargetOptions
Definition
MCTargetOptions.h:42
llvm::cl::LibraryOptionsContext::get
const T & get() const
Definition
LibraryOptionsContext.h:42
llvm::AArch64_MC
Definition
AArch64MCOptions.h:22
llvm::AArch64_MC::getCLOpts
const AArch64MCOptions & getCLOpts(const MCTargetOptions &Options)
Definition
AArch64MCOptions.h:23
llvm::AArch64
Definition
AArch64TargetParser.h:34
llvm::AArch64::AsmWriterVariantTy
AsmWriterVariantTy
Definition
AArch64MCOptions.h:16
llvm::AArch64::Generic
@ Generic
Definition
AArch64MCOptions.h:16
llvm::AArch64::Apple
@ Apple
Definition
AArch64MCOptions.h:16
Generated on
for LLVM by
1.14.0