Lines Matching refs:Binary

1019   uint32_t Binary = Imm12 & 0xfff;  in getAddrModeImm12OpValue()  local
1022 Binary |= (1 << 12); in getAddrModeImm12OpValue()
1023 Binary |= (Reg << 13); in getAddrModeImm12OpValue()
1024 return Binary; in getAddrModeImm12OpValue()
1050 uint32_t Binary = Imm & ((1U << Bits) - 1); in getT2ScaledImmOpValue() local
1053 Binary |= (1U << Bits); in getT2ScaledImmOpValue()
1054 return Binary; in getT2ScaledImmOpValue()
1141 uint32_t Binary = (Imm8 >> 2) & 0xff; in getT2AddrModeImm8s4OpValue() local
1144 Binary |= (1 << 8); in getT2AddrModeImm8s4OpValue()
1145 Binary |= (Reg << 9); in getT2AddrModeImm8s4OpValue()
1146 return Binary; in getT2AddrModeImm8s4OpValue()
1168 uint32_t Binary = (Imm7 >> 2) & 0xff; in getT2AddrModeImm7s4OpValue() local
1171 Binary |= (1 << 7); in getT2AddrModeImm7s4OpValue()
1172 Binary |= (Reg << 8); in getT2AddrModeImm7s4OpValue()
1173 return Binary; in getT2AddrModeImm7s4OpValue()
1272 uint32_t Binary = Rm; in getLdStSORegOpValue() local
1273 Binary |= Rn << 13; in getLdStSORegOpValue()
1274 Binary |= SBits << 5; in getLdStSORegOpValue()
1275 Binary |= ShImm << 7; in getLdStSORegOpValue()
1277 Binary |= 1 << 12; in getLdStSORegOpValue()
1278 return Binary; in getLdStSORegOpValue()
1293 uint32_t Binary = ARM_AM::getAM2Offset(Imm); in getAddrMode2OffsetOpValue() local
1297 Binary <<= 7; // Shift amount is bits [11:7] in getAddrMode2OffsetOpValue()
1298 Binary |= getShiftOp(ShOp) << 5; // Shift type is bits [6:5] in getAddrMode2OffsetOpValue()
1299 Binary |= CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); // Rm is bits [3:0] in getAddrMode2OffsetOpValue()
1301 return Binary | (isAdd << 12) | (isReg << 13); in getAddrMode2OffsetOpValue()
1446 uint32_t Binary = ARM_AM::getAM5Offset(Imm8); in getAddrMode5OpValue() local
1449 Binary |= (1 << 8); in getAddrMode5OpValue()
1450 Binary |= (Reg << 9); in getAddrMode5OpValue()
1451 return Binary; in getAddrMode5OpValue()
1486 uint32_t Binary = ARM_AM::getAM5Offset(Imm8); in getAddrMode5FP16OpValue() local
1489 Binary |= (1 << 8); in getAddrMode5FP16OpValue()
1490 Binary |= (Reg << 9); in getAddrMode5FP16OpValue()
1491 return Binary; in getAddrMode5FP16OpValue()
1514 unsigned Binary = CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); in getSORegRegOpValue() local
1534 Binary |= SBits << 4; in getSORegRegOpValue()
1539 return Binary | (CTX.getRegisterInfo()->getEncodingValue(Rs) << ARMII::RegRsShift); in getSORegRegOpValue()
1559 unsigned Binary = CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); in getSORegImmOpValue() local
1577 Binary |= 0x60; in getSORegImmOpValue()
1578 return Binary; in getSORegImmOpValue()
1582 Binary |= SBits << 4; in getSORegImmOpValue()
1585 return Binary | (Offset << 7); in getSORegImmOpValue()
1668 unsigned Binary = CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); in getT2SORegOpValue() local
1686 Binary |= SBits << 4; in getT2SORegOpValue()
1688 return Binary; in getT2SORegOpValue()
1691 return Binary | ARM_AM::getSORegOffset(MO1.getImm()) << 7; in getT2SORegOpValue()
1722 unsigned Binary = 0; in getRegisterListOpValue() local
1728 Binary |= (RegNo & 0x1f) << 8; in getRegisterListOpValue()
1734 Binary |= NumRegs; in getRegisterListOpValue()
1736 Binary |= NumRegs * 2; in getRegisterListOpValue()
1746 Binary |= 1 << RegNo; in getRegisterListOpValue()
1750 return Binary; in getRegisterListOpValue()
1880 uint32_t Binary = getBinaryCodeForInstr(MI, Fixups, STI); in encodeInstruction() local
1884 EmitConstant(Binary >> 16, 2, OS); in encodeInstruction()
1885 EmitConstant(Binary & 0xffff, 2, OS); in encodeInstruction()
1887 EmitConstant(Binary, Size, OS); in encodeInstruction()