Home | History | Annotate | Download | only in MCTargetDesc

Lines Matching refs:Encoding

48   // the binary encoding of instructions/opereands.
51 // binary encoding for an instruction.
56 // getMachineOpValue - Return binary encoding of operand. If the machine
110 // getMachineOpValue - Return binary encoding of operand. If the machine
178 // Get instruction encoding and emit it
191 unsigned Encoding;
202 Encoding = (getLanaiRegisterNumbering(Op1.getReg()) << 18);
207 Encoding |= (Op2.getImm() & 0xffff);
210 Encoding |= (0x3 << 16);
212 Encoding |= (0x1 << 16);
217 return Encoding;
223 unsigned Encoding;
229 Encoding = (getLanaiRegisterNumbering(Op1.getReg()) << 15);
231 Encoding |= (getLanaiRegisterNumbering(Op2.getReg()) << 10);
236 Encoding |= LPAC::encodeLanaiAluCode(AluOp) << 5;
239 Encoding |= (0x3 << 8);
241 Encoding |= (0x1 << 8);
246 Encoding |= 0x10;
249 Encoding |= 0x18;
255 return Encoding;
262 unsigned Encoding;
273 Encoding = (getLanaiRegisterNumbering(Op1.getReg()) << 12);
278 Encoding |= (Op2.getImm() & 0x3ff);
281 Encoding |= (0x3 << 10);
283 Encoding |= (0x1 << 10);
288 return Encoding;