Lines Matching defs:CTX
43 const MCContext &CTX;
47 ARMMCCodeEmitter(const MCInstrInfo &mcii, MCContext &ctx, bool IsLittle)
48 : MCII(mcii), CTX(ctx), IsLittleEndian(IsLittle) {
444 MCContext &Ctx) {
445 return new ARMMCCodeEmitter(MCII, Ctx, true);
450 MCContext &Ctx) {
451 return new ARMMCCodeEmitter(MCII, Ctx, false);
534 unsigned RegNo = CTX.getRegisterInfo()->getEncodingValue(Reg);
564 Reg = CTX.getRegisterInfo()->getEncodingValue(MO.getReg());
873 unsigned Rn = CTX.getRegisterInfo()->getEncodingValue(MO1.getReg());
874 unsigned Rm = CTX.getRegisterInfo()->getEncodingValue(MO2.getReg());
891 Reg = CTX.getRegisterInfo()->getEncodingValue(ARM::PC); // Rn is PC.
975 Reg = CTX.getRegisterInfo()->getEncodingValue(ARM::PC); // Rn is PC.
1012 unsigned Reg = CTX.getRegisterInfo()->getEncodingValue(MO.getReg());
1080 unsigned Rn = CTX.getRegisterInfo()->getEncodingValue(MO.getReg());
1081 unsigned Rm = CTX.getRegisterInfo()->getEncodingValue(MO1.getReg());
1116 unsigned Rn = CTX.getRegisterInfo()->getEncodingValue(MO.getReg());
1140 Binary |= CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); // Rm is bits [3:0]
1154 return CTX.getRegisterInfo()->getEncodingValue(MO.getReg()) | (isAdd << 4);
1173 Imm8 = CTX.getRegisterInfo()->getEncodingValue(MO.getReg());
1192 unsigned Rn = CTX.getRegisterInfo()->getEncodingValue(ARM::PC); // Rn is PC.
1202 unsigned Rn = CTX.getRegisterInfo()->getEncodingValue(MO.getReg());
1209 Imm8 = CTX.getRegisterInfo()->getEncodingValue(MO1.getReg());
1239 unsigned Rn = CTX.getRegisterInfo()->getEncodingValue(MO.getReg());
1268 Reg = CTX.getRegisterInfo()->getEncodingValue(ARM::PC); // Rn is PC.
1315 unsigned Binary = CTX.getRegisterInfo()->getEncodingValue(MO.getReg());
1340 return Binary | (CTX.getRegisterInfo()->getEncodingValue(Rs) << ARMII::RegRsShift);
1360 unsigned Binary = CTX.getRegisterInfo()->getEncodingValue(MO.getReg());
1400 unsigned Value = CTX.getRegisterInfo()->getEncodingValue(MO1.getReg());
1402 Value |= CTX.getRegisterInfo()->getEncodingValue(MO2.getReg());
1417 unsigned Value = CTX.getRegisterInfo()->getEncodingValue(MO1.getReg());
1482 unsigned Binary = CTX.getRegisterInfo()->getEncodingValue(MO.getReg());
1540 unsigned RegNo = CTX.getRegisterInfo()->getEncodingValue(Reg);
1549 unsigned RegNo = CTX.getRegisterInfo()->getEncodingValue(MI.getOperand(I).getReg());
1566 unsigned RegNo = CTX.getRegisterInfo()->getEncodingValue(Reg.getReg());
1590 unsigned RegNo = CTX.getRegisterInfo()->getEncodingValue(Reg.getReg());
1617 unsigned RegNo = CTX.getRegisterInfo()->getEncodingValue(Reg.getReg());
1637 return CTX.getRegisterInfo()->getEncodingValue(MO.getReg());