Lines Matching refs:Binary
299 unsigned Binary = (ARM_AM::getSOImmValRot((unsigned)SoImmVal) >> 1) in getSOImmOpValue() local
303 Binary |= ARM_AM::getSOImmValImm((unsigned)SoImmVal); in getSOImmOpValue()
304 return Binary; in getSOImmOpValue()
921 uint32_t Binary = Imm12 & 0xfff; in getAddrModeImm12OpValue() local
924 Binary |= (1 << 12); in getAddrModeImm12OpValue()
925 Binary |= (Reg << 13); in getAddrModeImm12OpValue()
926 return Binary; in getAddrModeImm12OpValue()
954 uint32_t Binary = Imm8 & 0xff; in getT2Imm8s4OpValue() local
957 Binary |= (1 << 8); in getT2Imm8s4OpValue()
958 return Binary; in getT2Imm8s4OpValue()
994 uint32_t Binary = (Imm8 >> 2) & 0xff; in getT2AddrModeImm8s4OpValue() local
997 Binary |= (1 << 8); in getT2AddrModeImm8s4OpValue()
998 Binary |= (Reg << 9); in getT2AddrModeImm8s4OpValue()
999 return Binary; in getT2AddrModeImm8s4OpValue()
1098 uint32_t Binary = Rm; in getLdStSORegOpValue() local
1099 Binary |= Rn << 13; in getLdStSORegOpValue()
1100 Binary |= SBits << 5; in getLdStSORegOpValue()
1101 Binary |= ShImm << 7; in getLdStSORegOpValue()
1103 Binary |= 1 << 12; in getLdStSORegOpValue()
1104 return Binary; in getLdStSORegOpValue()
1117 uint32_t Binary = getAddrMode2OffsetOpValue(MI, OpIdx + 1, Fixups, STI); in getAddrMode2OpValue() local
1118 Binary |= Rn << 14; in getAddrMode2OpValue()
1119 return Binary; in getAddrMode2OpValue()
1134 uint32_t Binary = ARM_AM::getAM2Offset(Imm); in getAddrMode2OffsetOpValue() local
1138 Binary <<= 7; // Shift amount is bits [11:7] in getAddrMode2OffsetOpValue()
1139 Binary |= getShiftOp(ShOp) << 5; // Shift type is bits [6:5] in getAddrMode2OffsetOpValue()
1140 Binary |= CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); // Rm is bits [3:0] in getAddrMode2OffsetOpValue()
1142 return Binary | (isAdd << 12) | (isReg << 13); in getAddrMode2OffsetOpValue()
1287 uint32_t Binary = ARM_AM::getAM5Offset(Imm8); in getAddrMode5OpValue() local
1290 Binary |= (1 << 8); in getAddrMode5OpValue()
1291 Binary |= (Reg << 9); in getAddrMode5OpValue()
1292 return Binary; in getAddrMode5OpValue()
1315 unsigned Binary = CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); in getSORegRegOpValue() local
1335 Binary |= SBits << 4; in getSORegRegOpValue()
1340 return Binary | (CTX.getRegisterInfo()->getEncodingValue(Rs) << ARMII::RegRsShift); in getSORegRegOpValue()
1360 unsigned Binary = CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); in getSORegImmOpValue() local
1378 Binary |= 0x60; in getSORegImmOpValue()
1379 return Binary; in getSORegImmOpValue()
1383 Binary |= SBits << 4; in getSORegImmOpValue()
1386 return Binary | (Offset << 7); in getSORegImmOpValue()
1482 unsigned Binary = CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); in getT2SORegOpValue() local
1500 Binary |= SBits << 4; in getT2SORegOpValue()
1502 return Binary; in getT2SORegOpValue()
1505 return Binary | ARM_AM::getSORegOffset(MO1.getImm()) << 7; in getT2SORegOpValue()
1536 unsigned Binary = 0; in getRegisterListOpValue() local
1542 Binary |= (RegNo & 0x1f) << 8; in getRegisterListOpValue()
1544 Binary |= NumRegs; in getRegisterListOpValue()
1546 Binary |= NumRegs * 2; in getRegisterListOpValue()
1550 Binary |= 1 << RegNo; in getRegisterListOpValue()
1554 return Binary; in getRegisterListOpValue()
1684 uint32_t Binary = getBinaryCodeForInstr(MI, Fixups, STI); in EncodeInstruction() local
1688 EmitConstant(Binary >> 16, 2, OS); in EncodeInstruction()
1689 EmitConstant(Binary & 0xffff, 2, OS); in EncodeInstruction()
1691 EmitConstant(Binary, Size, OS); in EncodeInstruction()