1 //===--- BlackfinInstrFormats.td ---------------------------*- tablegen -*-===//
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 //===----------------------------------------------------------------------===//
11 // Instruction format superclass
12 //===----------------------------------------------------------------------===//
14 class InstBfin<dag outs, dag ins, string asmstr, list<dag> pattern>
20 dag OutOperandList = outs;
21 dag InOperandList = ins;
22 let AsmString = asmstr;
23 let Pattern = pattern;
26 // Single-word (16-bit) instructions
27 class F1<dag outs, dag ins, string asmstr, list<dag> pattern>
28 : InstBfin<outs, ins, asmstr, pattern> {
31 // Double-word (32-bit) instructions
32 class F2<dag outs, dag ins, string asmstr, list<dag> pattern>
33 : InstBfin<outs, ins, asmstr, pattern> {