1 //===- AArch64.td - Describe the AArch64 Target Machine -------*- tblgen -*-==//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This is the top level entry point for the AArch64 target.
12 //===----------------------------------------------------------------------===//
14 //===----------------------------------------------------------------------===//
15 // Target-independent interfaces
16 //===----------------------------------------------------------------------===//
18 include "llvm/Target/Target.td"
20 //===----------------------------------------------------------------------===//
21 // AArch64 Subtarget features.
24 def FeatureFPARMv8 : SubtargetFeature<"fp-armv8", "HasFPARMv8", "true",
27 def FeatureNEON : SubtargetFeature<"neon", "HasNEON", "true",
28 "Enable Advanced SIMD instructions", [FeatureFPARMv8]>;
30 def FeatureCrypto : SubtargetFeature<"crypto", "HasCrypto", "true",
31 "Enable cryptographic instructions">;
33 //===----------------------------------------------------------------------===//
37 include "AArch64Schedule.td"
39 class ProcNoItin<string Name, list<SubtargetFeature> Features>
40 : Processor<Name, NoItineraries, Features>;
42 def : Processor<"generic", GenericItineraries, [FeatureFPARMv8, FeatureNEON]>;
44 def ProcA53 : SubtargetFeature<"a53", "ARMProcFamily", "CortexA53",
45 "Cortex-A53 ARM processors",
50 def ProcA57 : SubtargetFeature<"a57", "ARMProcFamily", "CortexA57",
51 "Cortex-A57 ARM processors",
56 def : ProcessorModel<"cortex-a53", CortexA53Model, [ProcA53]>;
57 def : Processor<"cortex-a57", NoItineraries, [ProcA57]>;
59 //===----------------------------------------------------------------------===//
60 // Register File Description
61 //===----------------------------------------------------------------------===//
63 include "AArch64RegisterInfo.td"
65 include "AArch64CallingConv.td"
67 //===----------------------------------------------------------------------===//
68 // Instruction Descriptions
69 //===----------------------------------------------------------------------===//
71 include "AArch64InstrInfo.td"
73 def AArch64InstrInfo : InstrInfo;
75 //===----------------------------------------------------------------------===//
76 // Declare the target which we are implementing
77 //===----------------------------------------------------------------------===//
79 def AArch64 : Target {
80 let InstructionSet = AArch64InstrInfo;