annotate lib/Target/ARC/ARC.td @ 124:4fa72497ed5d

fix
author mir3636
date Thu, 30 Nov 2017 20:04:56 +0900
parents 803732b1fca8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
121
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
1 //===- ARC.td - Describe the ARC Target Machine ------------*- tablegen -*-===//
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
2 //
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
3 // The LLVM Compiler Infrastructure
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
4 //
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
5 // This file is distributed under the University of Illinois Open Source
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
6 // License. See LICENSE.TXT for details.
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
7 //
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
8 //===----------------------------------------------------------------------===//
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
9
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
10 include "llvm/Target/Target.td"
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
11
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
12 include "ARCRegisterInfo.td"
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
13 include "ARCInstrInfo.td"
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
14 include "ARCCallingConv.td"
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
15
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
16 def ARCInstrInfo : InstrInfo;
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
17
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
18 class Proc<string Name, list<SubtargetFeature> Features>
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
19 : Processor<Name, NoItineraries, Features>;
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
20
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
21 def : Proc<"generic", []>;
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
22
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
23 def ARC : Target {
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
24 let InstructionSet = ARCInstrInfo;
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
25 }