Home
last modified time | relevance | path

Searched refs:asmstr (Results 1 – 25 of 33) sorted by relevance

12

/external/llvm/lib/Target/XCore/
DXCoreInstrFormats.td13 class InstXCore<int sz, dag outs, dag ins, string asmstr, list<dag> pattern>
20 let AsmString = asmstr;
27 class PseudoInstXCore<dag outs, dag ins, string asmstr, list<dag> pattern>
28 : InstXCore<0, outs, ins, asmstr, pattern> {
36 class _F3R<bits<5> opc, dag outs, dag ins, string asmstr, list<dag> pattern>
37 : InstXCore<2, outs, ins, asmstr, pattern> {
45 class _F3RImm<bits<5> opc, dag outs, dag ins, string asmstr, list<dag> pattern>
46 : _F3R<opc, outs, ins, asmstr, pattern> {
50 class _FL3R<bits<9> opc, dag outs, dag ins, string asmstr, list<dag> pattern>
51 : InstXCore<4, outs, ins, asmstr, pattern> {
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430InstrFormats.td55 string asmstr> : Instruction {
71 let AsmString = asmstr;
78 dag outs, dag ins, string asmstr, list<dag> pattern>
79 : MSP430Inst<outs, ins, sz, DoubleOpFrm, asmstr> {
93 dag outs, dag ins, string asmstr, list<dag> pattern>
94 : IForm<opcode, dest, 1, src, sz, outs, ins, asmstr, pattern>;
97 dag outs, dag ins, string asmstr, list<dag> pattern>
98 : IForm8<opcode, DstReg, SrcReg, Size2Bytes, outs, ins, asmstr, pattern>;
101 dag outs, dag ins, string asmstr, list<dag> pattern>
102 : IForm8<opcode, DstReg, SrcImm, Size4Bytes, outs, ins, asmstr, pattern>;
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCInstrFormats.td14 class I<bits<6> opcode, dag OOL, dag IOL, string asmstr, InstrItinClass itin>
26 let AsmString = asmstr;
68 class I2<bits<6> opcode1, bits<6> opcode2, dag OOL, dag IOL, string asmstr,
82 let AsmString = asmstr;
103 class IForm<bits<6> opcode, bit aa, bit lk, dag OOL, dag IOL, string asmstr,
105 : I<opcode, OOL, IOL, asmstr, itin> {
115 class BForm<bits<6> opcode, bit aa, bit lk, dag OOL, dag IOL, string asmstr>
116 : I<opcode, OOL, IOL, asmstr, IIC_BrB> {
133 string asmstr>
134 : BForm<opcode, aa, lk, OOL, IOL, asmstr> {
[all …]
DPPCInstrInfo.td736 string asmbase, string asmstr, InstrItinClass itin,
740 !strconcat(asmbase, !strconcat(" ", asmstr)), itin,
744 !strconcat(asmbase, !strconcat(". ", asmstr)), itin,
750 string asmbase, string asmstr, InstrItinClass itin,
755 !strconcat(asmbase, !strconcat(" ", asmstr)), itin,
759 !strconcat(asmbase, !strconcat(". ", asmstr)), itin,
765 string asmbase, string asmstr, InstrItinClass itin,
770 !strconcat(asmbase, !strconcat(" ", asmstr)), itin,
774 !strconcat(asmbase, !strconcat(". ", asmstr)), itin,
780 string asmbase, string asmstr, InstrItinClass itin,
[all …]
DPPCInstrSPE.td15 class EVXForm_1<bits<11> xo, dag OOL, dag IOL, string asmstr,
16 InstrItinClass itin> : I<4, OOL, IOL, asmstr, itin> {
29 class EVXForm_2<bits<11> xo, dag OOL, dag IOL, string asmstr,
30 InstrItinClass itin> : EVXForm_1<xo, OOL, IOL, asmstr, itin> {
34 class EVXForm_3<bits<11> xo, dag OOL, dag IOL, string asmstr,
35 InstrItinClass itin> : I<4, OOL, IOL, asmstr, itin> {
49 class EVXForm_D<bits<11> xo, dag OOL, dag IOL, string asmstr,
50 InstrItinClass itin> : I<4, OOL, IOL, asmstr, itin> {
/external/llvm/lib/Target/Sparc/
DSparcInstrFormats.td10 class InstSP<dag outs, dag ins, string asmstr, list<dag> pattern>
22 let AsmString = asmstr;
34 class F2<dag outs, dag ins, string asmstr, list<dag> pattern>
35 : InstSP<outs, ins, asmstr, pattern> {
45 class F2_1<bits<3> op2Val, dag outs, dag ins, string asmstr, list<dag> pattern>
46 : F2<outs, ins, asmstr, pattern> {
54 class F2_2<bits<3> op2Val, bit annul, dag outs, dag ins, string asmstr,
55 list<dag> pattern> : F2<outs, ins, asmstr, pattern> {
64 dag outs, dag ins, string asmstr, list<dag> pattern>
65 : InstSP<outs, ins, asmstr, pattern> {
[all …]
DSparcInstrVIS.td15 class VISInstFormat<bits<9> opfval, dag outs, dag ins, string asmstr,
17 : F3_3<0b10, 0b110110, opfval, outs, ins, asmstr, pattern>;
32 class VISInst0<bits<9> opfval, string asmstr>
33 : VISInstFormat<opfval, (outs), (ins), asmstr, []>;
DSparcInstrInfo.td303 class Pseudo<dag outs, dag ins, string asmstr, list<dag> pattern>
304 : InstSP<outs, ins, asmstr, pattern> {
576 class BranchAlways<dag ins, string asmstr, list<dag> pattern>
577 : F2_2<0b010, 0, (outs), ins, asmstr, pattern> {
591 class BranchSP<dag ins, string asmstr, list<dag> pattern>
592 : F2_2<0b010, 0, (outs), ins, asmstr, pattern>;
595 class BranchSPA<dag ins, string asmstr, list<dag> pattern>
596 : F2_2<0b010, 1, (outs), ins, asmstr, pattern>;
646 class FPBranchSP<dag ins, string asmstr, list<dag> pattern>
647 : F2_2<0b110, 0, (outs), ins, asmstr, pattern>;
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonInstrFormats.td77 class InstHexagon<dag outs, dag ins, string asmstr, list<dag> pattern,
84 let AsmString = asmstr;
198 class LDInst<dag outs, dag ins, string asmstr, list<dag> pattern = [],
200 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeLD>, OpcodeHexagon;
203 class LDInst2<dag outs, dag ins, string asmstr, list<dag> pattern = [],
205 : LDInst<outs, ins, asmstr, pattern, cstr>;
207 class CONSTLDInst<dag outs, dag ins, string asmstr, list<dag> pattern = [],
209 : LDInst<outs, ins, asmstr, pattern, cstr>;
213 class LDInstPost<dag outs, dag ins, string asmstr, list<dag> pattern = [],
215 : LDInst<outs, ins, asmstr, pattern, cstr>;
[all …]
DHexagonInstrFormatsV4.td110 class NVInst<dag outs, dag ins, string asmstr, list<dag> pattern = [],
112 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeNV>, OpcodeHexagon;
114 class NVInst_V4<dag outs, dag ins, string asmstr, list<dag> pattern = [],
116 : NVInst<outs, ins, asmstr, pattern, cstr, itin>;
119 class NVInstPost_V4<dag outs, dag ins, string asmstr, list<dag> pattern = [],
121 : NVInst<outs, ins, asmstr, pattern, cstr, itin>;
125 class NVInstPI_V4<dag outs, dag ins, string asmstr, list<dag> pattern = [],
127 : NVInst<outs, ins, asmstr, pattern, cstr, itin>;
130 class NCJInst<dag outs, dag ins, string asmstr, list<dag> pattern = [],
132 : NVInst<outs, ins, asmstr, pattern, cstr>;
[all …]
/external/llvm/lib/Target/Mips/
DMips16InstrFormats.td36 class MipsInst16_Base<dag outs, dag ins, string asmstr, list<dag> pattern,
45 let AsmString = asmstr;
55 class MipsInst16<dag outs, dag ins, string asmstr, list<dag> pattern,
57 MipsInst16_Base<outs, ins, asmstr, pattern, itin>
72 class MipsInst16_32<dag outs, dag ins, string asmstr, list<dag> pattern,
74 MipsInst16_Base<outs, ins, asmstr, pattern, itin>
82 class MipsInst16_EXTEND<dag outs, dag ins, string asmstr, list<dag> pattern,
84 MipsInst16_32<outs, ins, asmstr, pattern, itin>
92 class MipsPseudo16<dag outs, dag ins, string asmstr, list<dag> pattern>:
93 MipsInst16<outs, ins, asmstr, pattern, IIPseudo> {
[all …]
DMips16InstrInfo.td40 class FI16_ins<bits<5> op, string asmstr, InstrItinClass itin>:
42 !strconcat(asmstr, "\t$imm16 # 16 bit inst"), [], itin>;
49 class FI816_ins_base<bits<3> _func, string asmstr,
51 FI816<_func, (outs), (ins simm16:$imm), !strconcat(asmstr, asmstr2),
54 class FI816_ins<bits<3> _func, string asmstr,
56 FI816_ins_base<_func, asmstr, "\t$imm # 16 bit inst", itin>;
58 class FI816_SP_ins<bits<3> _func, string asmstr,
60 FI816_ins_base<_func, asmstr, "\t$$sp, $imm # 16 bit inst", itin>;
67 class FRI16_ins_base<bits<5> op, string asmstr, string asmstr2,
70 !strconcat(asmstr, asmstr2), [], itin>;
[all …]
DMipsInstrFormats.td58 class MipsInst<dag outs, dag ins, string asmstr, list<dag> pattern,
76 let AsmString = asmstr;
94 class InstSE<dag outs, dag ins, string asmstr, list<dag> pattern,
96 MipsInst<outs, ins, asmstr, pattern, itin, f>, PredicateControl {
120 class MipsAsmPseudoInst<dag outs, dag ins, string asmstr>:
121 MipsInst<outs, ins, asmstr, [], IIPseudo, Pseudo> {
129 class FR<bits<6> op, bits<6> _funct, dag outs, dag ins, string asmstr,
131 InstSE<outs, ins, asmstr, pattern, itin, FrmR>
153 class FI<bits<6> op, dag outs, dag ins, string asmstr, list<dag> pattern,
154 InstrItinClass itin>: InstSE<outs, ins, asmstr, pattern, itin, FrmI>
[all …]
DMicroMipsInstrFormats.td9 class MicroMipsInstBase<dag outs, dag ins, string asmstr, list<dag> pattern,
18 let AsmString = asmstr;
30 class MicroMipsInst16<dag outs, dag ins, string asmstr, list<dag> pattern,
32 MicroMipsInstBase<outs, ins, asmstr, pattern, itin, f>
/external/llvm/test/TableGen/
DSlice.td15 class Inst<bits<8> opcode, dag oopnds, dag iopnds, string asmstr,
20 string AssemblyString = asmstr;
65 multiclass scalar<bits<8> opcode, string asmstr = "", list<list<dag>> patterns = []> {
67 !strconcat(asmstr, "\t$dst, $src"),
70 !strconcat(asmstr, "\t$dst, $src"),
74 multiclass vscalar<bits<8> opcode, string asmstr = "", list<list<dag>> patterns = []> {
76 !strconcat(asmstr, "\t$dst, $src"),
79 !strconcat(asmstr, "\t$dst, $src"),
83 multiclass myscalar<bits<8> opcode, string asmstr = "", list<list<dag>> patterns = []> :
84 scalar<opcode, asmstr, patterns>,
[all …]
Dcast.td21 class Inst<bits<8> opcode, dag oopnds, dag iopnds, string asmstr,
26 string AssemblyString = asmstr;
72 multiclass arith<bits<8> opcode, string asmstr, string Intr> {
74 !strconcat(asmstr, "\t$dst, $src1, $src2"),
78 !strconcat(asmstr, "\t$dst, $src1, $src2"),
84 class IntInst<bits<8> opcode, string asmstr, Intrinsic Intr> :
86 !strconcat(asmstr, "\t$dst, $src1, $src2"),
90 multiclass arith_int<bits<8> opcode, string asmstr, string Intr> {
91 def PS_Int : IntInst<opcode, asmstr, !cast<Intrinsic>(!strconcat(Intr, "_ps"))>;
93 def PD_Int : IntInst<opcode, asmstr, !cast<Intrinsic>(!strconcat(Intr, "_pd"))>;
DMultiPat.td25 class Inst<bits<8> opcode, dag oopnds, dag iopnds, string asmstr,
30 string AssemblyString = asmstr;
92 class Base<bits<8> opcode, dag opnds, dag iopnds, string asmstr, Intrinsic intr,
94 : Inst<opcode, opnds, iopnds, asmstr,
106 multiclass arith<bits<8> opcode, string asmstr, string intr, list<list<dag>> patterns> {
108 …!strconcat(asmstr, "\t$dst, $src1, $src2"), !cast<Intrinsic>(!subst("SUFFIX", "_ps", intr)), patte…
111 …!strconcat(asmstr, "\t$dst, $src1, $src2"), !cast<Intrinsic>(!subst("SUFFIX", "_pd", intr)), patte…
DTargetInstrSpec.td22 class Inst<bits<8> opcode, dag oopnds, dag iopnds, string asmstr,
27 string AssemblyString = asmstr;
85 multiclass arith<bits<8> opcode, string asmstr, string intr, list<dag> patterns> {
87 !strconcat(asmstr, "\t$dst, $src1, $src2"),
94 !strconcat(asmstr, "\t$dst, $src1, $src2"),
DTargetInstrInfo.td60 class Inst<dag opnds, string asmstr, bits<8> opcode,
63 string AssemblyString = asmstr;
/external/llvm/lib/Target/BPF/
DBPFInstrFormats.td10 class InstBPF<dag outs, dag ins, string asmstr, list<dag> pattern>
24 let AsmString = asmstr;
29 class Pseudo<dag outs, dag ins, string asmstr, list<dag> pattern>
30 : InstBPF<outs, ins, asmstr, pattern> {
/external/llvm/lib/Target/NVPTX/
DNVPTXVector.td18 class NVPTXVecInst<dag outs, dag ins, string asmstr, list<dag> pattern,
20 : NVPTXInst<outs, ins, asmstr, pattern> {
241 class VecBinaryOp<BinOpAsmString asmstr, SDNode OpNode, NVPTXRegClass regclass,
244 asmstr.s,
248 class VecShiftOp<BinOpAsmString asmstr, SDNode OpNode, NVPTXRegClass regclass1,
251 asmstr.s,
255 class VecUnaryOp<BinOpAsmString asmstr, PatFrag OpNode, NVPTXRegClass regclass,
258 asmstr.s,
261 multiclass IntBinVOp<string asmstr, SDNode OpNode,
264 def V2I64 : VecBinaryOp<V2AsmStr<!strconcat(asmstr, "64")>, OpNode, V2I64Regs,
[all …]
DNVPTXInstrFormats.td23 class NVPTXInst<dag outs, dag ins, string asmstr, list<dag> pattern>
30 let AsmString = asmstr;
/external/llvm/lib/Target/SystemZ/
DSystemZInstrFormats.td14 class InstSystemZ<int size, dag outs, dag ins, string asmstr,
22 let AsmString = asmstr;
158 class InstRI<bits<12> op, dag outs, dag ins, string asmstr, list<dag> pattern>
159 : InstSystemZ<4, outs, ins, asmstr, pattern> {
172 class InstRIEb<bits<16> op, dag outs, dag ins, string asmstr, list<dag> pattern>
173 : InstSystemZ<6, outs, ins, asmstr, pattern> {
191 class InstRIEc<bits<16> op, dag outs, dag ins, string asmstr, list<dag> pattern>
192 : InstSystemZ<6, outs, ins, asmstr, pattern> {
209 class InstRIEd<bits<16> op, dag outs, dag ins, string asmstr, list<dag> pattern>
210 : InstSystemZ<6, outs, ins, asmstr, pattern> {
[all …]
/external/llvm/docs/TableGen/
DLangIntro.rst387 class inst<int opc, string asmstr, dag operandlist>;
389 multiclass ri_inst<int opc, string asmstr> {
390 def _rr : inst<opc, !strconcat(asmstr, " $dst, $src1, $src2"),
392 def _ri : inst<opc, !strconcat(asmstr, " $dst, $src1, $src2"),
413 class inst<int opc, string asmstr, dag operandlist>;
415 class rrinst<int opc, string asmstr>
416 : inst<opc, !strconcat(asmstr, " $dst, $src1, $src2"),
419 class riinst<int opc, string asmstr>
420 : inst<opc, !strconcat(asmstr, " $dst, $src1, $src2"),
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILInstrInfo.td164 class ILFormat<dag outs, dag ins, string asmstr, list<dag> pattern>
171 let AsmString = !strconcat(asmstr, "\n");

12