summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMSubtarget.h
diff options
context:
space:
mode:
authorAmara Emerson <amara.emerson@arm.com>2013-09-19 11:59:01 +0000
committerAmara Emerson <amara.emerson@arm.com>2013-09-19 11:59:01 +0000
commit5df37dab763ce377095389c4ea1cff88db369954 (patch)
treee28c008ced1c69d4397ef1a020b186c1d9dc3cbb /lib/Target/ARM/ARMSubtarget.h
parentadadf887cb57f8281ec23f846a946fb59bd0a0d7 (diff)
downloadllvm-5df37dab763ce377095389c4ea1cff88db369954.tar.gz
llvm-5df37dab763ce377095389c4ea1cff88db369954.tar.bz2
llvm-5df37dab763ce377095389c4ea1cff88db369954.tar.xz
[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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMSubtarget.h b/lib/Target/ARM/ARMSubtarget.h
index 65278a5846..a3b701a15a 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; }