Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/Hexagon/
DHexagonInstrFormatsV60.td42 class CVI_VA_Resource<dag outs, dag ins, string asmstr,
45 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeCVI_VA>,
48 class CVI_VA_DV_Resource<dag outs, dag ins, string asmstr,
51 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeCVI_VA_DV>,
54 class CVI_VX_Resource_long<dag outs, dag ins, string asmstr,
57 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeCVI_VX>,
60 class CVI_VX_Resource_late<dag outs, dag ins, string asmstr,
63 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeCVI_VX>,
66 class CVI_VX_Resource<dag outs, dag ins, string asmstr,
69 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeCVI_VX>,
[all …]
DHexagonInstrFormats.td79 class InstHexagon<dag outs, dag ins, string asmstr, list<dag> pattern,
86 let AsmString = asmstr;
210 class LDInst<dag outs, dag ins, string asmstr, list<dag> pattern = [],
212 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeLD>, OpcodeHexagon;
215 class LDInst2<dag outs, dag ins, string asmstr, list<dag> pattern = [],
217 : LDInst<outs, ins, asmstr, pattern, cstr>;
219 class CONSTLDInst<dag outs, dag ins, string asmstr, list<dag> pattern = [],
221 : LDInst<outs, ins, asmstr, pattern, cstr>;
225 class LDInstPost<dag outs, dag ins, string asmstr, list<dag> pattern = [],
227 : LDInst<outs, ins, asmstr, pattern, cstr>;
[all …]
DHexagonInstrFormatsV4.td108 class NVInst<dag outs, dag ins, string asmstr, list<dag> pattern = [],
110 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeNV>, OpcodeHexagon;
112 class NVInst_V4<dag outs, dag ins, string asmstr, list<dag> pattern = [],
114 : NVInst<outs, ins, asmstr, pattern, cstr, itin>;
117 class NVInstPost_V4<dag outs, dag ins, string asmstr, list<dag> pattern = [],
119 : NVInst<outs, ins, asmstr, pattern, cstr, itin>;
123 class NVInstPI_V4<dag outs, dag ins, string asmstr, list<dag> pattern = [],
125 : NVInst<outs, ins, asmstr, pattern, cstr, itin>;
128 class NCJInst<dag outs, dag ins, string asmstr, list<dag> pattern = [],
130 : NVInst<outs, ins, asmstr, pattern, cstr>;
[all …]
/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.td754 string asmbase, string asmstr, InstrItinClass itin,
758 !strconcat(asmbase, !strconcat(" ", asmstr)), itin,
762 !strconcat(asmbase, !strconcat(". ", asmstr)), itin,
768 string asmbase, string asmstr, InstrItinClass itin,
773 !strconcat(asmbase, !strconcat(" ", asmstr)), itin,
777 !strconcat(asmbase, !strconcat(". ", asmstr)), itin,
783 string asmbase, string asmstr, InstrItinClass itin,
788 !strconcat(asmbase, !strconcat(" ", asmstr)), itin,
792 !strconcat(asmbase, !strconcat(". ", asmstr)), itin,
798 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, []>;
/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.td72 class MipsInst<dag outs, dag ins, string asmstr, list<dag> pattern,
90 let AsmString = asmstr;
108 class InstSE<dag outs, dag ins, string asmstr, list<dag> pattern,
110 MipsInst<outs, ins, asmstr, pattern, itin, f>, PredicateControl {
134 class MipsAsmPseudoInst<dag outs, dag ins, string asmstr>:
135 MipsInst<outs, ins, asmstr, [], IIPseudo, Pseudo>, PredicateControl {
143 class FR<bits<6> op, bits<6> _funct, dag outs, dag ins, string asmstr,
145 InstSE<outs, ins, asmstr, pattern, itin, FrmR>
167 class FI<bits<6> op, dag outs, dag ins, string asmstr, list<dag> pattern,
168 InstrItinClass itin>: InstSE<outs, ins, asmstr, pattern, itin, FrmI>
[all …]
/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/SystemZ/
DSystemZInstrFormats.td14 class InstSystemZ<int size, dag outs, dag ins, string asmstr,
22 let AsmString = asmstr;
161 class InstRI<bits<12> op, dag outs, dag ins, string asmstr, list<dag> pattern>
162 : InstSystemZ<4, outs, ins, asmstr, pattern> {
175 class InstRIEb<bits<16> op, dag outs, dag ins, string asmstr, list<dag> pattern>
176 : InstSystemZ<6, outs, ins, asmstr, pattern> {
194 class InstRIEc<bits<16> op, dag outs, dag ins, string asmstr, list<dag> pattern>
195 : InstSystemZ<6, outs, ins, asmstr, pattern> {
212 class InstRIEd<bits<16> op, dag outs, dag ins, string asmstr, list<dag> pattern>
213 : InstSystemZ<6, outs, ins, asmstr, pattern> {
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXVector.td18 class NVPTXVecInst<dag outs, dag ins, string asmstr, list<dag> pattern,
20 : NVPTXInst<outs, ins, asmstr, pattern> {
239 class VecBinaryOp<BinOpAsmString asmstr, SDNode OpNode, NVPTXRegClass regclass,
242 asmstr.s,
246 class VecShiftOp<BinOpAsmString asmstr, SDNode OpNode, NVPTXRegClass regclass1,
249 asmstr.s,
253 class VecUnaryOp<BinOpAsmString asmstr, PatFrag OpNode, NVPTXRegClass regclass,
256 asmstr.s,
259 multiclass IntBinVOp<string asmstr, SDNode OpNode,
262 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/WebAssembly/
DWebAssemblyInstrFormats.td16 class WebAssemblyInst<string asmstr> : Instruction {
20 let AsmString = asmstr;
24 class I<dag oops, dag iops, list<dag> pattern, string asmstr = "">
25 : WebAssemblyInst<asmstr> {
/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/clang/lib/AST/
DStmt.cpp688 StringLiteral *asmstr, unsigned numclobbers, in GCCAsmStmt() argument
691 numinputs, numclobbers), RParenLoc(rparenloc), AsmStr(asmstr) { in GCCAsmStmt()
713 StringRef asmstr, ArrayRef<StringRef> clobbers, in MSAsmStmt() argument
719 initialize(C, asmstr, asmtoks, constraints, exprs, clobbers); in MSAsmStmt()
726 void MSAsmStmt::initialize(const ASTContext &C, StringRef asmstr, in initialize() argument
737 AsmStr = copyIntoContext(C, asmstr); in initialize()

12