Lines Matching defs:Binary
65 // binary encoding for an instruction.
69 /// getMachineOpValue - Return binary encoding of operand. If the machine
227 unsigned Binary = (ARM_AM::getSOImmValRot((unsigned)SoImmVal) >> 1)
231 Binary |= ARM_AM::getSOImmValImm((unsigned)SoImmVal);
232 return Binary;
399 /// getMachineOpValue - Return binary encoding of operand. If the machine
652 uint32_t Binary = Imm12 & 0xfff;
655 Binary |= (1 << 12);
656 Binary |= (Reg << 13);
657 return Binary;
686 uint32_t Binary = (Imm8 >> 2) & 0xff;
689 Binary |= (1 << 8);
690 Binary |= (Reg << 9);
691 return Binary;
694 // FIXME: This routine assumes that a binary
703 case MCExpr::Binary: return true;
775 uint32_t Binary = Rm;
776 Binary |= Rn << 13;
777 Binary |= SBits << 5;
778 Binary |= ShImm << 7;
780 Binary |= 1 << 12;
781 return Binary;
793 uint32_t Binary = getAddrMode2OffsetOpValue(MI, OpIdx + 1, Fixups);
794 Binary |= Rn << 14;
795 return Binary;
809 uint32_t Binary = ARM_AM::getAM2Offset(Imm);
813 Binary <<= 7; // Shift amount is bits [11:7]
814 Binary |= getShiftOp(ShOp) << 5; // Shift type is bits [6:5]
815 Binary |= getARMRegisterNumbering(MO.getReg()); // Rm is bits [3:0]
817 return Binary | (isAdd << 12) | (isReg << 13);
928 uint32_t Binary = ARM_AM::getAM5Offset(Imm8);
931 Binary |= (1 << 8);
932 Binary |= (Reg << 9);
933 return Binary;
958 unsigned Binary = getARMRegisterNumbering(MO.getReg());
993 Binary |= SBits << 4;
995 return Binary;
1001 return Binary | (getARMRegisterNumbering(Rs) << ARMII::RegRsShift);
1005 return Binary | ARM_AM::getSORegOffset(MO2.getImm()) << 7;
1095 unsigned Binary = getARMRegisterNumbering(MO.getReg());
1112 Binary |= SBits << 4;
1114 return Binary;
1117 return Binary | ARM_AM::getSORegOffset(MO1.getImm()) << 7;
1164 unsigned Binary = 0;
1170 Binary |= (RegNo & 0x1f) << 8;
1172 Binary |= NumRegs;
1174 Binary |= NumRegs * 2;
1178 Binary |= 1 << RegNo;
1182 return Binary;
1303 uint32_t Binary = getBinaryCodeForInstr(MI, Fixups);
1307 EmitConstant(Binary >> 16, 2, OS);
1308 EmitConstant(Binary & 0xffff, 2, OS);
1310 EmitConstant(Binary, Size, OS);