Rafael Espindola | 7bc59bc | 2006-05-14 22:18:28 +0000 | [diff] [blame] | 1 | //===- ARM.td - Describe the ARM Target Machine -----------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file was developed by the "Instituto Nokia de Tecnologia" and |
| 6 | // is distributed under the University of Illinois Open Source |
| 7 | // License. See LICENSE.TXT for details. |
| 8 | // |
| 9 | //===----------------------------------------------------------------------===// |
| 10 | // |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | //===----------------------------------------------------------------------===// |
| 15 | // Target-independent interfaces which we are implementing |
| 16 | //===----------------------------------------------------------------------===// |
| 17 | |
| 18 | include "../Target.td" |
| 19 | |
| 20 | //===----------------------------------------------------------------------===// |
| 21 | // Register File Description |
| 22 | //===----------------------------------------------------------------------===// |
| 23 | |
| 24 | include "ARMRegisterInfo.td" |
| 25 | |
| 26 | //===----------------------------------------------------------------------===// |
| 27 | // Instruction Descriptions |
| 28 | //===----------------------------------------------------------------------===// |
| 29 | |
| 30 | include "ARMInstrInfo.td" |
| 31 | |
| 32 | def ARMInstrInfo : InstrInfo { |
| 33 | // Define how we want to layout our target-specific information field. |
| 34 | let TSFlagsFields = []; |
| 35 | let TSFlagsShifts = []; |
| 36 | } |
| 37 | |
| 38 | //===----------------------------------------------------------------------===// |
| 39 | // Declare the target which we are implementing |
| 40 | //===----------------------------------------------------------------------===// |
| 41 | |
| 42 | def ARM : Target { |
Rafael Espindola | 7bc59bc | 2006-05-14 22:18:28 +0000 | [diff] [blame] | 43 | // Pull in Instruction Info: |
| 44 | let InstructionSet = ARMInstrInfo; |
| 45 | } |