1 //===-- BPFInstrFormats.td - BPF Instruction Formats -------*- 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 class InstBPF<dag outs, dag ins, string asmstr, list<dag> pattern>
13 field bits<64> SoftFail = 0;
16 let Namespace = "BPF";
17 let DecoderNamespace = "BPF";
20 let Inst{58-56} = BPFClass;
22 dag OutOperandList = outs;
23 dag InOperandList = ins;
24 let AsmString = asmstr;
25 let Pattern = pattern;
28 // Pseudo instructions
29 class Pseudo<dag outs, dag ins, string asmstr, list<dag> pattern>
30 : InstBPF<outs, ins, asmstr, pattern> {