2017-07-21 22:37:03 +00:00
|
|
|
//===--- ARM.h - Declare ARM target feature support -------------*- C++ -*-===//
|
|
|
|
//
|
2019-01-19 08:50:56 +00:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2017-07-21 22:37:03 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file declares ARM TargetInfo objects.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLVM_CLANG_LIB_BASIC_TARGETS_ARM_H
|
|
|
|
#define LLVM_CLANG_LIB_BASIC_TARGETS_ARM_H
|
|
|
|
|
|
|
|
#include "OSTargets.h"
|
|
|
|
#include "clang/Basic/TargetInfo.h"
|
|
|
|
#include "clang/Basic/TargetOptions.h"
|
|
|
|
#include "llvm/ADT/Triple.h"
|
|
|
|
#include "llvm/Support/Compiler.h"
|
2022-01-20 12:55:14 +01:00
|
|
|
#include "llvm/Support/ARMTargetParser.h"
|
2017-07-21 22:37:03 +00:00
|
|
|
#include "llvm/Support/TargetParser.h"
|
|
|
|
|
|
|
|
namespace clang {
|
|
|
|
namespace targets {
|
|
|
|
|
|
|
|
class LLVM_LIBRARY_VISIBILITY ARMTargetInfo : public TargetInfo {
|
|
|
|
// Possible FPU choices.
|
|
|
|
enum FPUMode {
|
|
|
|
VFP2FPU = (1 << 0),
|
|
|
|
VFP3FPU = (1 << 1),
|
|
|
|
VFP4FPU = (1 << 2),
|
|
|
|
NeonFPU = (1 << 3),
|
|
|
|
FPARMV8 = (1 << 4)
|
|
|
|
};
|
|
|
|
|
2019-06-07 15:20:56 +00:00
|
|
|
enum MVEMode {
|
|
|
|
MVE_INT = (1 << 0),
|
|
|
|
MVE_FP = (1 << 1)
|
|
|
|
};
|
|
|
|
|
2017-07-21 22:37:03 +00:00
|
|
|
// Possible HWDiv features.
|
|
|
|
enum HWDivMode { HWDivThumb = (1 << 0), HWDivARM = (1 << 1) };
|
|
|
|
|
|
|
|
static bool FPUModeIsVFP(FPUMode Mode) {
|
|
|
|
return Mode & (VFP2FPU | VFP3FPU | VFP4FPU | NeonFPU | FPARMV8);
|
|
|
|
}
|
|
|
|
|
|
|
|
static const TargetInfo::GCCRegAlias GCCRegAliases[];
|
|
|
|
static const char *const GCCRegNames[];
|
|
|
|
|
|
|
|
std::string ABI, CPU;
|
|
|
|
|
|
|
|
StringRef CPUProfile;
|
|
|
|
StringRef CPUAttr;
|
|
|
|
|
|
|
|
enum { FP_Default, FP_VFP, FP_Neon } FPMath;
|
|
|
|
|
2017-07-27 16:28:39 +00:00
|
|
|
llvm::ARM::ISAKind ArchISA;
|
|
|
|
llvm::ARM::ArchKind ArchKind = llvm::ARM::ArchKind::ARMV4T;
|
|
|
|
llvm::ARM::ProfileKind ArchProfile;
|
2017-07-21 22:37:03 +00:00
|
|
|
unsigned ArchVersion;
|
|
|
|
|
|
|
|
unsigned FPU : 5;
|
2019-06-07 15:20:56 +00:00
|
|
|
unsigned MVE : 2;
|
2017-07-21 22:37:03 +00:00
|
|
|
|
|
|
|
unsigned IsAAPCS : 1;
|
|
|
|
unsigned HWDiv : 2;
|
|
|
|
|
|
|
|
// Initialized via features.
|
|
|
|
unsigned SoftFloat : 1;
|
|
|
|
unsigned SoftFloatABI : 1;
|
|
|
|
|
|
|
|
unsigned CRC : 1;
|
|
|
|
unsigned Crypto : 1;
|
2021-04-28 15:16:01 +01:00
|
|
|
unsigned SHA2 : 1;
|
|
|
|
unsigned AES : 1;
|
2017-07-21 22:37:03 +00:00
|
|
|
unsigned DSP : 1;
|
|
|
|
unsigned Unaligned : 1;
|
2018-04-27 13:56:02 +00:00
|
|
|
unsigned DotProd : 1;
|
2020-04-09 19:29:19 +01:00
|
|
|
unsigned HasMatMul : 1;
|
2021-10-21 02:39:01 +03:00
|
|
|
unsigned FPRegsDisabled : 1;
|
2021-12-09 09:40:46 +00:00
|
|
|
unsigned HasPAC : 1;
|
|
|
|
unsigned HasBTI : 1;
|
2017-07-21 22:37:03 +00:00
|
|
|
|
|
|
|
enum {
|
|
|
|
LDREX_B = (1 << 0), /// byte (8-bit)
|
|
|
|
LDREX_H = (1 << 1), /// half (16-bit)
|
|
|
|
LDREX_W = (1 << 2), /// word (32-bit)
|
|
|
|
LDREX_D = (1 << 3), /// double (64-bit)
|
|
|
|
};
|
|
|
|
|
|
|
|
uint32_t LDREX;
|
|
|
|
|
|
|
|
// ACLE 6.5.1 Hardware floating point
|
|
|
|
enum {
|
|
|
|
HW_FP_HP = (1 << 1), /// half (16-bit)
|
|
|
|
HW_FP_SP = (1 << 2), /// single (32-bit)
|
|
|
|
HW_FP_DP = (1 << 3), /// double (64-bit)
|
|
|
|
};
|
|
|
|
uint32_t HW_FP;
|
|
|
|
|
|
|
|
static const Builtin::Info BuiltinInfo[];
|
|
|
|
|
2017-07-24 17:06:23 +00:00
|
|
|
void setABIAAPCS();
|
|
|
|
void setABIAPCS(bool IsAAPCS16);
|
2017-07-21 22:37:03 +00:00
|
|
|
|
2017-07-24 17:06:23 +00:00
|
|
|
void setArchInfo();
|
2017-07-27 16:28:39 +00:00
|
|
|
void setArchInfo(llvm::ARM::ArchKind Kind);
|
2017-07-21 22:37:03 +00:00
|
|
|
|
2017-07-24 17:06:23 +00:00
|
|
|
void setAtomic();
|
2017-07-21 22:37:03 +00:00
|
|
|
|
2017-07-24 17:06:23 +00:00
|
|
|
bool isThumb() const;
|
|
|
|
bool supportsThumb() const;
|
|
|
|
bool supportsThumb2() const;
|
2019-06-07 15:20:56 +00:00
|
|
|
bool hasMVE() const;
|
|
|
|
bool hasMVEFloat() const;
|
2020-03-09 16:13:02 +00:00
|
|
|
bool hasCDE() const;
|
2017-07-21 22:37:03 +00:00
|
|
|
|
2017-07-24 17:06:23 +00:00
|
|
|
StringRef getCPUAttr() const;
|
|
|
|
StringRef getCPUProfile() const;
|
2017-07-21 22:37:03 +00:00
|
|
|
|
|
|
|
public:
|
2017-07-24 17:06:23 +00:00
|
|
|
ARMTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts);
|
2017-07-21 22:37:03 +00:00
|
|
|
|
2017-07-24 17:06:23 +00:00
|
|
|
StringRef getABI() const override;
|
|
|
|
bool setABI(const std::string &Name) override;
|
2017-07-21 22:37:03 +00:00
|
|
|
|
2022-01-28 09:58:08 +00:00
|
|
|
bool isBranchProtectionSupportedArch(StringRef Arch) const override;
|
|
|
|
bool validateBranchProtection(StringRef Spec, StringRef Arch,
|
|
|
|
BranchProtectionInfo &BPI,
|
|
|
|
StringRef &Err) const override;
|
2021-12-01 10:22:19 +00:00
|
|
|
|
2017-07-21 22:37:03 +00:00
|
|
|
// FIXME: This should be based on Arch attributes, not CPU names.
|
|
|
|
bool
|
|
|
|
initFeatureMap(llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags,
|
|
|
|
StringRef CPU,
|
2017-07-24 17:06:23 +00:00
|
|
|
const std::vector<std::string> &FeaturesVec) const override;
|
2017-07-21 22:37:03 +00:00
|
|
|
|
2019-06-14 00:35:17 +00:00
|
|
|
bool isValidFeatureName(StringRef Feature) const override {
|
|
|
|
// We pass soft-float-abi in as a -target-feature, but the backend figures
|
|
|
|
// this out through other means.
|
|
|
|
return Feature != "soft-float-abi";
|
|
|
|
}
|
|
|
|
|
2017-07-21 22:37:03 +00:00
|
|
|
bool handleTargetFeatures(std::vector<std::string> &Features,
|
|
|
|
DiagnosticsEngine &Diags) override;
|
|
|
|
|
|
|
|
bool hasFeature(StringRef Feature) const override;
|
|
|
|
|
[ARM] Add __bf16 as new Bfloat16 C Type
Summary:
This patch upstreams support for a new storage only bfloat16 C type.
This type is used to implement primitive support for bfloat16 data, in
line with the Bfloat16 extension of the Armv8.6-a architecture, as
detailed here:
https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/arm-architecture-developments-armv8-6-a
The bfloat type, and its properties are specified in the Arm Architecture
Reference Manual:
https://developer.arm.com/docs/ddi0487/latest/arm-architecture-reference-manual-armv8-for-armv8-a-architecture-profile
In detail this patch:
- introduces an opaque, storage-only C-type __bf16, which introduces a new bfloat IR type.
This is part of a patch series, starting with command-line and Bfloat16
assembly support. The subsequent patches will upstream intrinsics
support for BFloat16, followed by Matrix Multiplication and the
remaining Virtualization features of the armv8.6-a architecture.
The following people contributed to this patch:
- Luke Cheeseman
- Momchil Velikov
- Alexandros Lamprineas
- Luke Geeson
- Simon Tatham
- Ties Stuij
Reviewers: SjoerdMeijer, rjmccall, rsmith, liutianle, RKSimon, craig.topper, jfb, LukeGeeson, fpetrogalli
Reviewed By: SjoerdMeijer
Subscribers: labrinea, majnemer, asmith, dexonsmith, kristof.beyls, arphaman, danielkiss, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D76077
2020-06-05 00:20:02 +01:00
|
|
|
bool hasBFloat16Type() const override;
|
|
|
|
|
2017-07-24 17:06:23 +00:00
|
|
|
bool isValidCPUName(StringRef Name) const override;
|
2018-02-08 23:14:15 +00:00
|
|
|
void fillValidCPUList(SmallVectorImpl<StringRef> &Values) const override;
|
|
|
|
|
2017-07-24 17:06:23 +00:00
|
|
|
bool setCPU(const std::string &Name) override;
|
2017-07-21 22:37:03 +00:00
|
|
|
|
|
|
|
bool setFPMath(StringRef Name) override;
|
|
|
|
|
[CodeGen][X86] Fix handling of __fp16 vectors.
This commit fixes a bug in IRGen where it generates completely broken
code for __fp16 vectors on X86. For example when the following code is
compiled:
half4 hv0, hv1, hv2; // these are vectors of __fp16.
void foo221() {
hv0 = hv1 + hv2;
}
clang generates the following IR, in which two i16 vectors are added:
@hv1 = common global <4 x i16> zeroinitializer, align 8
@hv2 = common global <4 x i16> zeroinitializer, align 8
@hv0 = common global <4 x i16> zeroinitializer, align 8
define void @foo221() {
%0 = load <4 x i16>, <4 x i16>* @hv1, align 8
%1 = load <4 x i16>, <4 x i16>* @hv2, align 8
%add = add <4 x i16> %0, %1
store <4 x i16> %add, <4 x i16>* @hv0, align 8
ret void
}
To fix the bug, this commit uses the code committed in r314056, which
modified clang to promote and truncate __fp16 vectors to and from float
vectors in the AST. It also fixes another IRGen bug where a short value
is assigned to an __fp16 variable without any integer-to-floating-point
conversion, as shown in the following example:
__fp16 a;
short b;
void foo1() {
a = b;
}
@b = common global i16 0, align 2
@a = common global i16 0, align 2
define void @foo1() #0 {
%0 = load i16, i16* @b, align 2
store i16 %0, i16* @a, align 2
ret void
}
rdar://problem/20625184
Differential Revision: https://reviews.llvm.org/D40112
llvm-svn: 320215
2017-12-09 00:02:37 +00:00
|
|
|
bool useFP16ConversionIntrinsics() const override {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2017-07-21 22:37:03 +00:00
|
|
|
void getTargetDefinesARMV81A(const LangOptions &Opts,
|
|
|
|
MacroBuilder &Builder) const;
|
|
|
|
void getTargetDefinesARMV82A(const LangOptions &Opts,
|
2017-07-24 17:06:23 +00:00
|
|
|
MacroBuilder &Builder) const;
|
2019-12-02 12:13:04 +00:00
|
|
|
void getTargetDefinesARMV83A(const LangOptions &Opts,
|
|
|
|
MacroBuilder &Builder) const;
|
2017-07-21 22:37:03 +00:00
|
|
|
void getTargetDefines(const LangOptions &Opts,
|
|
|
|
MacroBuilder &Builder) const override;
|
2017-07-24 17:06:23 +00:00
|
|
|
|
2017-07-21 22:37:03 +00:00
|
|
|
ArrayRef<Builtin::Info> getTargetBuiltins() const override;
|
2017-07-24 17:06:23 +00:00
|
|
|
|
|
|
|
bool isCLZForZeroUndef() const override;
|
|
|
|
BuiltinVaListKind getBuiltinVaListKind() const override;
|
|
|
|
|
2017-07-21 22:37:03 +00:00
|
|
|
ArrayRef<const char *> getGCCRegNames() const override;
|
|
|
|
ArrayRef<TargetInfo::GCCRegAlias> getGCCRegAliases() const override;
|
|
|
|
bool validateAsmConstraint(const char *&Name,
|
2017-07-24 17:06:23 +00:00
|
|
|
TargetInfo::ConstraintInfo &Info) const override;
|
|
|
|
std::string convertConstraint(const char *&Constraint) const override;
|
2017-07-21 22:37:03 +00:00
|
|
|
bool
|
|
|
|
validateConstraintModifier(StringRef Constraint, char Modifier, unsigned Size,
|
2017-07-24 17:06:23 +00:00
|
|
|
std::string &SuggestedModifier) const override;
|
|
|
|
const char *getClobbers() const override;
|
2017-07-21 22:37:03 +00:00
|
|
|
|
[Targets] Implement getConstraintRegister for ARM and AArch64
Summary:
The getConstraintRegister method is used by semantic checking of
inline assembly statements in order to diagnose conflicts between
clobber list and input/output lists. Currently ARM and AArch64 don't
override getConstraintRegister, so conflicts between registers
assigned to variables in asm labels and clobber lists are not
diagnosed. Such conflicts can cause assertion failures in the back end
and even miscompilations.
This patch implements getConstraintRegister for ARM and AArch64
targets. Since these targets don't have single-register constraints,
the implementation is trivial and just returns the register specified
in an asm label (if any).
Reviewers: eli.friedman, javed.absar, thopre
Reviewed By: thopre
Subscribers: rengolin, eraman, rogfer01, myatsina, kristof.beyls, cfe-commits, chrib
Differential Revision: https://reviews.llvm.org/D45965
llvm-svn: 331164
2018-04-30 09:11:08 +00:00
|
|
|
StringRef getConstraintRegister(StringRef Constraint,
|
|
|
|
StringRef Expression) const override {
|
|
|
|
return Expression;
|
|
|
|
}
|
|
|
|
|
2017-07-24 17:06:23 +00:00
|
|
|
CallingConvCheckResult checkCallingConvention(CallingConv CC) const override;
|
2017-07-21 22:37:03 +00:00
|
|
|
|
2017-07-24 17:06:23 +00:00
|
|
|
int getEHDataRegisterNumber(unsigned RegNo) const override;
|
2017-07-21 22:37:03 +00:00
|
|
|
|
2017-07-24 17:06:23 +00:00
|
|
|
bool hasSjLjLowering() const override;
|
2020-04-29 12:48:07 -07:00
|
|
|
|
2021-12-06 12:46:54 -05:00
|
|
|
bool hasBitIntType() const override { return true; }
|
|
|
|
|
[ARM] Add __bf16 as new Bfloat16 C Type
Summary:
This patch upstreams support for a new storage only bfloat16 C type.
This type is used to implement primitive support for bfloat16 data, in
line with the Bfloat16 extension of the Armv8.6-a architecture, as
detailed here:
https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/arm-architecture-developments-armv8-6-a
The bfloat type, and its properties are specified in the Arm Architecture
Reference Manual:
https://developer.arm.com/docs/ddi0487/latest/arm-architecture-reference-manual-armv8-for-armv8-a-architecture-profile
In detail this patch:
- introduces an opaque, storage-only C-type __bf16, which introduces a new bfloat IR type.
This is part of a patch series, starting with command-line and Bfloat16
assembly support. The subsequent patches will upstream intrinsics
support for BFloat16, followed by Matrix Multiplication and the
remaining Virtualization features of the armv8.6-a architecture.
The following people contributed to this patch:
- Luke Cheeseman
- Momchil Velikov
- Alexandros Lamprineas
- Luke Geeson
- Simon Tatham
- Ties Stuij
Reviewers: SjoerdMeijer, rjmccall, rsmith, liutianle, RKSimon, craig.topper, jfb, LukeGeeson, fpetrogalli
Reviewed By: SjoerdMeijer
Subscribers: labrinea, majnemer, asmith, dexonsmith, kristof.beyls, arphaman, danielkiss, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D76077
2020-06-05 00:20:02 +01:00
|
|
|
const char *getBFloat16Mangling() const override { return "u6__bf16"; };
|
2017-07-21 22:37:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class LLVM_LIBRARY_VISIBILITY ARMleTargetInfo : public ARMTargetInfo {
|
|
|
|
public:
|
2017-07-24 17:06:23 +00:00
|
|
|
ARMleTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts);
|
2017-07-21 22:37:03 +00:00
|
|
|
void getTargetDefines(const LangOptions &Opts,
|
|
|
|
MacroBuilder &Builder) const override;
|
|
|
|
};
|
|
|
|
|
|
|
|
class LLVM_LIBRARY_VISIBILITY ARMbeTargetInfo : public ARMTargetInfo {
|
|
|
|
public:
|
2017-07-24 17:06:23 +00:00
|
|
|
ARMbeTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts);
|
2017-07-21 22:37:03 +00:00
|
|
|
void getTargetDefines(const LangOptions &Opts,
|
|
|
|
MacroBuilder &Builder) const override;
|
|
|
|
};
|
|
|
|
|
|
|
|
class LLVM_LIBRARY_VISIBILITY WindowsARMTargetInfo
|
|
|
|
: public WindowsTargetInfo<ARMleTargetInfo> {
|
|
|
|
const llvm::Triple Triple;
|
|
|
|
|
|
|
|
public:
|
2017-07-24 17:06:23 +00:00
|
|
|
WindowsARMTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts);
|
|
|
|
|
2017-07-21 22:37:03 +00:00
|
|
|
void getVisualStudioDefines(const LangOptions &Opts,
|
|
|
|
MacroBuilder &Builder) const;
|
2017-07-24 17:06:23 +00:00
|
|
|
|
|
|
|
BuiltinVaListKind getBuiltinVaListKind() const override;
|
|
|
|
|
|
|
|
CallingConvCheckResult checkCallingConvention(CallingConv CC) const override;
|
2017-07-21 22:37:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// Windows ARM + Itanium C++ ABI Target
|
|
|
|
class LLVM_LIBRARY_VISIBILITY ItaniumWindowsARMleTargetInfo
|
|
|
|
: public WindowsARMTargetInfo {
|
|
|
|
public:
|
|
|
|
ItaniumWindowsARMleTargetInfo(const llvm::Triple &Triple,
|
2017-07-24 17:06:23 +00:00
|
|
|
const TargetOptions &Opts);
|
2017-07-21 22:37:03 +00:00
|
|
|
|
|
|
|
void getTargetDefines(const LangOptions &Opts,
|
2017-07-24 17:06:23 +00:00
|
|
|
MacroBuilder &Builder) const override;
|
2017-07-21 22:37:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// Windows ARM, MS (C++) ABI
|
|
|
|
class LLVM_LIBRARY_VISIBILITY MicrosoftARMleTargetInfo
|
|
|
|
: public WindowsARMTargetInfo {
|
|
|
|
public:
|
|
|
|
MicrosoftARMleTargetInfo(const llvm::Triple &Triple,
|
2017-07-24 17:06:23 +00:00
|
|
|
const TargetOptions &Opts);
|
2017-07-21 22:37:03 +00:00
|
|
|
|
|
|
|
void getTargetDefines(const LangOptions &Opts,
|
2017-07-24 17:06:23 +00:00
|
|
|
MacroBuilder &Builder) const override;
|
2017-07-21 22:37:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// ARM MinGW target
|
|
|
|
class LLVM_LIBRARY_VISIBILITY MinGWARMTargetInfo : public WindowsARMTargetInfo {
|
|
|
|
public:
|
2017-07-24 17:06:23 +00:00
|
|
|
MinGWARMTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts);
|
2017-07-21 22:37:03 +00:00
|
|
|
|
|
|
|
void getTargetDefines(const LangOptions &Opts,
|
|
|
|
MacroBuilder &Builder) const override;
|
|
|
|
};
|
|
|
|
|
|
|
|
// ARM Cygwin target
|
|
|
|
class LLVM_LIBRARY_VISIBILITY CygwinARMTargetInfo : public ARMleTargetInfo {
|
|
|
|
public:
|
2017-07-24 17:06:23 +00:00
|
|
|
CygwinARMTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts);
|
|
|
|
|
2017-07-21 22:37:03 +00:00
|
|
|
void getTargetDefines(const LangOptions &Opts,
|
|
|
|
MacroBuilder &Builder) const override;
|
|
|
|
};
|
|
|
|
|
|
|
|
class LLVM_LIBRARY_VISIBILITY DarwinARMTargetInfo
|
|
|
|
: public DarwinTargetInfo<ARMleTargetInfo> {
|
|
|
|
protected:
|
|
|
|
void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple,
|
2017-07-24 17:06:23 +00:00
|
|
|
MacroBuilder &Builder) const override;
|
2017-07-21 22:37:03 +00:00
|
|
|
|
|
|
|
public:
|
2017-07-24 17:06:23 +00:00
|
|
|
DarwinARMTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts);
|
2017-07-21 22:37:03 +00:00
|
|
|
};
|
2017-07-24 17:06:23 +00:00
|
|
|
|
2017-07-21 22:37:03 +00:00
|
|
|
// 32-bit RenderScript is armv7 with width and align of 'long' set to 8-bytes
|
|
|
|
class LLVM_LIBRARY_VISIBILITY RenderScript32TargetInfo
|
|
|
|
: public ARMleTargetInfo {
|
|
|
|
public:
|
|
|
|
RenderScript32TargetInfo(const llvm::Triple &Triple,
|
2017-07-24 17:06:23 +00:00
|
|
|
const TargetOptions &Opts);
|
|
|
|
|
2017-07-21 22:37:03 +00:00
|
|
|
void getTargetDefines(const LangOptions &Opts,
|
|
|
|
MacroBuilder &Builder) const override;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace targets
|
|
|
|
} // namespace clang
|
|
|
|
|
|
|
|
#endif // LLVM_CLANG_LIB_BASIC_TARGETS_ARM_H
|