Home
last modified time | relevance | path

Searched refs:Inst (Results 1 – 25 of 719) sorted by relevance

12345678910>>...29

/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMicroMipsInstrFormats.td1 //===-- MicroMipsInstrFormats.td - microMIPS Inst Formats -*- tablegen -*--===//
47 field bits<16> Inst;
61 bits<16> Inst;
63 let Inst{15-10} = 0x01;
64 let Inst{9-7} = rd;
65 let Inst{6-4} = rt;
66 let Inst{3-1} = rs;
67 let Inst{0} = funct;
75 bits<16> Inst;
77 let Inst{15-10} = funct;
[all …]
H A DMicroMips32r6InstrFormats.td40 bits<16> Inst;
42 let Inst{15-10} = 0x33;
43 let Inst{9-0} = offset;
50 bits<16> Inst;
52 let Inst{15-10} = op;
53 let Inst{9-7} = rs;
54 let Inst{6-0} = offset;
60 bits<16> Inst;
62 let Inst{15-10} = 0x11;
63 let Inst{9-5} = rs;
[all …]
H A DMipsInstrFormats.td74 field bits<32> Inst;
84 let Inst{31-26} = Opcode;
164 let Inst{25-21} = rs;
165 let Inst{20-16} = rt;
166 let Inst{15-11} = rd;
167 let Inst{10-6} = shamt;
168 let Inst{5-0} = funct;
179 bits<32> Inst;
181 let Inst{31-26} = op;
182 let Inst{25-0} = target;
[all …]
H A DMipsMSAInstrFormats.td12 let Inst{31-26} = 0b011110;
16 let Inst{31-26} = 0b010001;
20 let Inst{31-26} = 0b000000;
35 let Inst{25-23} = major;
36 let Inst{22-19} = 0b1110;
37 let Inst{18-16} = m;
38 let Inst{15-11} = ws;
39 let Inst{10-6} = wd;
40 let Inst{5-0} = minor;
48 let Inst{25-23} = major;
[all …]
H A DMicroMipsDSPInstrFormats.td29 let Inst{31-26} = 0b000000;
30 let Inst{25-21} = rt;
31 let Inst{20-16} = rs;
32 let Inst{15-11} = rd;
33 let Inst{10-0} = op;
40 let Inst{31-26} = 0b000000;
41 let Inst{25-21} = rt;
42 let Inst{20-16} = rs;
43 let Inst{15-6} = op;
44 let Inst{5-0} = 0b111100;
[all …]
H A DMips32r6InstrFormats.td182 bits<32> Inst;
184 let Inst{31-26} = OPGROUP_AUI.Value;
185 let Inst{25-21} = rs;
186 let Inst{20-16} = rt;
187 let Inst{15-0} = imm;
191 let Inst{31-26} = OPGROUP_DAUI.Value;
197 bits<32> Inst;
199 let Inst{31-26} = OPGROUP_REGIMM.Value;
200 let Inst{25-21} = 0b00000;
201 let Inst{20-16} = OPCODE5_BGEZAL.Value;
[all …]
H A DMipsDSPInstrFormats.td72 let Inst{25-21} = rs;
73 let Inst{20-16} = rt;
74 let Inst{15-11} = rd;
75 let Inst{10-6} = op;
76 let Inst{5-0} = 0b010000;
85 let Inst{25-21} = rs;
86 let Inst{20-16} = 0;
87 let Inst{15-11} = rd;
88 let Inst{10-6} = op;
89 let Inst{5-0} = 0b010000;
[all …]
H A DMipsMTInstrFormats.td40 bits<32> Inst;
43 let Inst{31-26} = 0b010000; // COP0
44 let Inst{25-21} = 0b01011; // MFMC0
45 let Inst{20-16} = rt;
46 let Inst{15-11} = Op1.Value;
47 let Inst{10-6} = Op2.Value;
48 let Inst{5} = sc.Value;
49 let Inst{4-3} = 0b00;
50 let Inst{2-0} = 0b001;
54 bits<32> Inst;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonDepInstrFormats.td13 let Inst{12-8} = Vu32{4-0};
15 let Inst{20-16} = Rt32{4-0};
17 let Inst{4-0} = Vdd32{4-0};
21 let Inst{11-5} = Ii{6-0};
23 let Inst{20-16} = Rs32{4-0};
25 let Inst{1-0} = Pd4{1-0};
29 let Inst{20-16} = Rss32{4-0};
31 let Inst{12-8} = Rt32{4-0};
33 let Inst{1-0} = Pd4{1-0};
37 let Inst{2
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/Disassembler/
H A DXCoreDisassembler.cpp75 static DecodeStatus DecodeGRRegsRegisterClass(MCInst &Inst, unsigned RegNo,
79 static DecodeStatus DecodeRRegsRegisterClass(MCInst &Inst, unsigned RegNo,
83 static DecodeStatus DecodeBitpOperand(MCInst &Inst, unsigned Val,
87 static DecodeStatus DecodeNegImmOperand(MCInst &Inst, unsigned Val,
91 static DecodeStatus Decode2RInstruction(MCInst &Inst, unsigned Insn,
95 static DecodeStatus Decode2RImmInstruction(MCInst &Inst, unsigned Insn,
99 static DecodeStatus DecodeR2RInstruction(MCInst &Inst, unsigned Insn,
103 static DecodeStatus Decode2RSrcDstInstruction(MCInst &Inst, unsigned Insn,
107 static DecodeStatus DecodeRUSInstruction(MCInst &Inst, unsigned Insn,
111 static DecodeStatus DecodeRUSBitpInstruction(MCInst &Inst, unsigned Insn,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrFormatsV.td63 let Inst{31} = 1;
64 let Inst{30} = 1;
65 let Inst{29-20} = vtypei{9-0};
66 let Inst{19-15} = uimm;
67 let Inst{14-12} = OPCFG.Value;
68 let Inst{11-7} = rd;
69 let Inst{6-0} = OPC_OP_V.Value;
80 let Inst{31} = 0;
81 let Inst{30-20} = vtypei;
82 let Inst{19-15} = rs1;
[all …]
H A DRISCVInstrFormatsC.td16 field bits<16> Inst;
31 let Inst{15-12} = funct4;
32 let Inst{11-7} = rs1;
33 let Inst{6-2} = rs2;
34 let Inst{1-0} = opcode;
38 // is responsible for setting the appropriate bits in the Inst field.
39 // The bits Inst{12} and Inst{6-2} may need to be set differently for some
47 let Inst{15-13} = funct3;
48 let Inst{12} = imm{5};
49 let Inst{11-7} = rd;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrFormats.td15 field bits<32> Inst;
22 let Inst{0-5} = opcode;
97 field bits<64> Inst;
104 let Inst{0-5} = opcode1;
105 let Inst{32-37} = opcode2;
140 let Inst{6-29} = LI;
141 let Inst{30} = aa;
142 let Inst{31} = lk;
156 let Inst{6-10} = BIBO{4-0};
157 let Inst{11-15} = BI;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYInstrFormats16Instr.td13 let Inst{15} = 0;
14 let Inst{14 - 10} = sop;
15 let Inst{9 - 0} = offset;
22 let Inst{15} = 0;
23 let Inst{14 - 10} = sop;
24 let Inst{9 - 0} = offset;
33 let Inst{15 - 11} = 0b01011;
34 let Inst{10 - 8} = rx;
35 let Inst{7 - 5} = rz;
36 let Inst{4 - 2} = ry;
[all …]
H A DCSKYInstrFormats.td45 field bits<32> Inst;
46 let Inst{31 - 26} = opcode;
51 field bits<16> Inst;
61 let Inst{25 - 0} = offset;
72 let Inst{25 - 21} = rz;
73 let Inst{20 - 18} = sop;
74 let Inst{17 - 0} = offset;
86 let Inst{25 - 21} = rz;
87 let Inst{20 - 16} = rx;
88 let Inst{15 - 0} = imm16;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/Disassembler/
H A DSystemZDisassembler.cpp83 static DecodeStatus decodeRegisterClass(MCInst &Inst, uint64_t RegNo, in decodeRegisterClass() argument
94 Inst.addOperand(MCOperand::createReg(RegNo)); in decodeRegisterClass()
98 static DecodeStatus DecodeGR32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGR32BitRegisterClass() argument
101 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR32Regs, 16); in DecodeGR32BitRegisterClass()
104 static DecodeStatus DecodeGRH32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGRH32BitRegisterClass() argument
107 return decodeRegisterClass(Inst, RegNo, SystemZMC::GRH32Regs, 16); in DecodeGRH32BitRegisterClass()
110 static DecodeStatus DecodeGR64BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGR64BitRegisterClass() argument
113 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR64Regs, 16); in DecodeGR64BitRegisterClass()
116 static DecodeStatus DecodeGR128BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGR128BitRegisterClass() argument
119 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR128Regs, 16); in DecodeGR128BitRegisterClass()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Disassembler/
H A DAArch64Disassembler.cpp39 static DecodeStatus DecodeSimpleRegisterClass(MCInst &Inst, unsigned RegNo,
43 DecodeGPR64x8ClassRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address,
46 static DecodeStatus DecodeZPRMul2_MinMax(MCInst &Inst, unsigned RegNo,
49 static DecodeStatus DecodeZK(MCInst &Inst, unsigned RegNo, uint64_t Address,
52 static DecodeStatus DecodeZPR2Mul2RegisterClass(MCInst &Inst, unsigned RegNo,
55 static DecodeStatus DecodeZPR4Mul4RegisterClass(MCInst &Inst, unsigned RegNo,
59 static DecodeStatus DecodeMatrixTile(MCInst &Inst, unsigned RegNo,
63 DecodeMatrixTileListRegisterClass(MCInst &Inst, unsigned RegMask,
66 static DecodeStatus DecodePPR2Mul2RegisterClass(MCInst &Inst, unsigned RegNo,
70 static DecodeStatus DecodeFixedPointScaleImm32(MCInst &Inst, unsigned Imm,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchLASXInstrFormats.td27 let Inst{31-0} = op;
28 let Inst{17-5} = imm13;
29 let Inst{4-0} = xd;
40 let Inst{31-0} = op;
41 let Inst{9-5} = xj;
42 let Inst{4-0} = xd;
52 let Inst{31-0} = op;
53 let Inst{9-5} = rj;
54 let Inst{4-0} = xd;
64 let Inst{31-0} = op;
[all …]
H A DLoongArchLSXInstrFormats.td27 let Inst{31-0} = op;
28 let Inst{17-5} = imm13;
29 let Inst{4-0} = vd;
40 let Inst{31-0} = op;
41 let Inst{9-5} = vj;
42 let Inst{4-0} = vd;
52 let Inst{31-0} = op;
53 let Inst{9-5} = rj;
54 let Inst{4-0} = vd;
64 let Inst{31-0} = op;
[all …]
H A DLoongArchInstrFormats.td22 field bits<32> Inst;
65 let Inst{31-0} = op;
66 let Inst{9-5} = rj;
67 let Inst{4-0} = rd;
79 let Inst{31-0} = op;
80 let Inst{14-10} = rk;
81 let Inst{9-5} = rj;
82 let Inst{4-0} = rd;
95 let Inst{31-0} = op;
96 let Inst{16-15} = imm2;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/Disassembler/
H A DPPCDisassembler.cpp67 static DecodeStatus decodeCondBrTarget(MCInst &Inst, unsigned Imm, in decodeCondBrTarget() argument
70 Inst.addOperand(MCOperand::createImm(SignExtend32<14>(Imm))); in decodeCondBrTarget()
74 static DecodeStatus decodeDirectBrTarget(MCInst &Inst, unsigned Imm, in decodeDirectBrTarget() argument
78 Inst.addOperand(MCOperand::createImm(Offset)); in decodeDirectBrTarget()
86 static DecodeStatus decodeRegisterClass(MCInst &Inst, uint64_t RegNo, in decodeRegisterClass() argument
90 Inst.addOperand(MCOperand::createReg(Regs[RegNo])); in decodeRegisterClass()
94 static DecodeStatus DecodeCRRCRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeCRRCRegisterClass() argument
97 return decodeRegisterClass(Inst, RegNo, CRRegs); in DecodeCRRCRegisterClass()
100 static DecodeStatus DecodeCRBITRCRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeCRBITRCRegisterClass() argument
103 return decodeRegisterClass(Inst, RegNo, CRBITRegs); in DecodeCRBITRCRegisterClass()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/Disassembler/
H A DARMDisassembler.cpp176 static DecodeStatus DecodeGPRRegisterClass(MCInst &Inst, unsigned RegNo,
179 static DecodeStatus DecodeCLRMGPRRegisterClass(MCInst &Inst, unsigned RegNo,
182 static DecodeStatus DecodetGPROddRegisterClass(MCInst &Inst, unsigned RegNo,
185 static DecodeStatus DecodetGPREvenRegisterClass(MCInst &Inst, unsigned RegNo,
189 DecodeGPRwithAPSR_NZCVnospRegisterClass(MCInst &Inst, unsigned RegNo,
192 static DecodeStatus DecodeGPRnopcRegisterClass(MCInst &Inst, unsigned RegNo,
195 static DecodeStatus DecodeGPRnospRegisterClass(MCInst &Inst, unsigned RegNo,
199 DecodeGPRwithAPSRRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address,
201 static DecodeStatus DecodeGPRwithZRRegisterClass(MCInst &Inst, unsigned RegNo,
205 DecodeGPRwithZRnospRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaInstrFormats.td32 field bits<24> Inst;
40 field bits<16> Inst;
52 let Inst{23-20} = op2;
53 let Inst{19-16} = op1;
54 let Inst{15-12} = r;
55 let Inst{11-8} = s;
56 let Inst{7-4} = t;
57 let Inst{3-0} = op0;
68 let Inst{23-20} = imm4;
69 let Inst{19-16} = op1;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCInstrFormats.td14 field bits<64> Inst;
145 // A - Inst[5-0] = A[5-0], when the format has A. A is always a register.
146 // B - Inst[14-12] = B[5-3], Inst[26-24] = B[2-0], when the format has B.
148 // C - Inst[11-6] = C[5-0], when the format has C. C can either be a register,
160 let Inst{31-27} = major;
161 let Inst{16} = b16;
162 let Inst{5} = N;
170 let Inst{26-18} = S21{10-2};
171 let Inst{15-6} = S21{20-11};
172 let Inst{4-0} = cc;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/Disassembler/
H A DAVRDisassembler.cpp70 static DecodeStatus DecodeGPR8RegisterClass(MCInst &Inst, unsigned RegNo, in DecodeGPR8RegisterClass() argument
77 Inst.addOperand(MCOperand::createReg(Register)); in DecodeGPR8RegisterClass()
81 static DecodeStatus DecodeLD8RegisterClass(MCInst &Inst, unsigned RegNo, in DecodeLD8RegisterClass() argument
88 Inst.addOperand(MCOperand::createReg(Register)); in DecodeLD8RegisterClass()
92 static DecodeStatus decodeFIOARr(MCInst &Inst, unsigned Insn, uint64_t Address,
95 static DecodeStatus decodeFIORdA(MCInst &Inst, unsigned Insn, uint64_t Address,
98 static DecodeStatus decodeFIOBIT(MCInst &Inst, unsigned Insn, uint64_t Address,
101 static DecodeStatus decodeCallTarget(MCInst &Inst, unsigned Insn,
105 static DecodeStatus decodeFRd(MCInst &Inst, unsigned Insn, uint64_t Address,
108 static DecodeStatus decodeFLPMX(MCInst &Inst, unsigned Insn, uint64_t Address,
[all …]

12345678910>>...29