diff options
author | Amara Emerson <amara.emerson@arm.com> | 2013-09-19 11:59:01 +0000 |
---|---|---|
committer | Amara Emerson <amara.emerson@arm.com> | 2013-09-19 11:59:01 +0000 |
commit | 5df37dab763ce377095389c4ea1cff88db369954 (patch) | |
tree | e28c008ced1c69d4397ef1a020b186c1d9dc3cbb /lib/Target/ARM/ARMSubtarget.h | |
parent | adadf887cb57f8281ec23f846a946fb59bd0a0d7 (diff) | |
download | external_llvm-5df37dab763ce377095389c4ea1cff88db369954.zip external_llvm-5df37dab763ce377095389c4ea1cff88db369954.tar.gz external_llvm-5df37dab763ce377095389c4ea1cff88db369954.tar.bz2 |
[ARMv8] Add support for the v8 cryptography extensions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190996 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMSubtarget.h')
-rw-r--r-- | lib/Target/ARM/ARMSubtarget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMSubtarget.h b/lib/Target/ARM/ARMSubtarget.h index 65278a5..a3b701a 100644 --- a/lib/Target/ARM/ARMSubtarget.h +++ b/lib/Target/ARM/ARMSubtarget.h @@ -159,6 +159,9 @@ protected: /// HasTrustZone - if true, processor supports TrustZone security extensions bool HasTrustZone; + /// HasCrypto - if true, processor supports Cryptography extensions + bool HasCrypto; + /// AllowsUnalignedMem - If true, the subtarget allows unaligned memory /// accesses for some types. For details, see /// ARMTargetLowering::allowsUnalignedMemoryAccesses(). @@ -248,6 +251,7 @@ public: bool hasVFP4() const { return HasVFPv4; } bool hasFPARMv8() const { return HasFPARMv8; } bool hasNEON() const { return HasNEON; } + bool hasCrypto() const { return HasCrypto; } bool useNEONForSinglePrecisionFP() const { return hasNEON() && UseNEONForSinglePrecisionFP; } |