Implement AArch64 TTI interface isAsCheapAsAMove.
[oota-llvm.git] / lib / Target / AArch64 / AArch64Subtarget.h
index e08372f8267f6b02f7faa4098b0b86c9657d08c0..8e570d5f06a731b416f1fdee88af4987eabc2585 100644 (file)
@@ -100,6 +100,8 @@ public:
   bool isTargetMachO() const { return TargetTriple.isOSBinFormatMachO(); }
 
   bool isCyclone() const { return CPUString == "cyclone"; }
+  bool isCortexA57() const { return CPUString == "cortex-a57"; }
+  bool isCortexA53() const { return CPUString == "cortex-a53"; }
 
   /// getMaxInlineSizeThreshold - Returns the maximum memset / memcpy size
   /// that still makes it profitable to inline the call.