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()
1142 uint32_t Binary = (Imm8 >> 2) & 0xff; in getT2AddrModeImm8s4OpValue() local
1145 Binary |= (1 << 8); in getT2AddrModeImm8s4OpValue()
1146 Binary |= (Reg << 9); in getT2AddrModeImm8s4OpValue()
1147 return Binary; in getT2AddrModeImm8s4OpValue()
1169 uint32_t Binary = (Imm7 >> 2) & 0xff; in getT2AddrModeImm7s4OpValue() local
1172 Binary |= (1 << 7); in getT2AddrModeImm7s4OpValue()
1173 Binary |= (Reg << 8); in getT2AddrModeImm7s4OpValue()
1174 return Binary; in getT2AddrModeImm7s4OpValue()
1273 uint32_t Binary = Rm; in getLdStSORegOpValue() local
1274 Binary |= Rn << 13; in getLdStSORegOpValue()
1275 Binary |= SBits << 5; in getLdStSORegOpValue()
1276 Binary |= ShImm << 7; in getLdStSORegOpValue()
1278 Binary |= 1 << 12; in getLdStSORegOpValue()
1279 return Binary; in getLdStSORegOpValue()
1294 uint32_t Binary = ARM_AM::getAM2Offset(Imm); in getAddrMode2OffsetOpValue() local
1298 Binary <<= 7; // Shift amount is bits [11:7] in getAddrMode2OffsetOpValue()
1299 Binary |= getShiftOp(ShOp) << 5; // Shift type is bits [6:5] in getAddrMode2OffsetOpValue()
1300 Binary |= CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); // Rm is bits [3:0] in getAddrMode2OffsetOpValue()
1302 return Binary | (isAdd << 12) | (isReg << 13); in getAddrMode2OffsetOpValue()
1447 uint32_t Binary = ARM_AM::getAM5Offset(Imm8); in getAddrMode5OpValue() local
1450 Binary |= (1 << 8); in getAddrMode5OpValue()
1451 Binary |= (Reg << 9); in getAddrMode5OpValue()
1452 return Binary; in getAddrMode5OpValue()
1487 uint32_t Binary = ARM_AM::getAM5Offset(Imm8); in getAddrMode5FP16OpValue() local
1490 Binary |= (1 << 8); in getAddrMode5FP16OpValue()
1491 Binary |= (Reg << 9); in getAddrMode5FP16OpValue()
1492 return Binary; in getAddrMode5FP16OpValue()
1515 unsigned Binary = CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); in getSORegRegOpValue() local
1535 Binary |= SBits << 4; in getSORegRegOpValue()
1540 return Binary | (CTX.getRegisterInfo()->getEncodingValue(Rs) << ARMII::RegRsShift); in getSORegRegOpValue()
1560 unsigned Binary = CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); in getSORegImmOpValue() local
1578 Binary |= 0x60; in getSORegImmOpValue()
1579 return Binary; in getSORegImmOpValue()
1583 Binary |= SBits << 4; in getSORegImmOpValue()
1586 return Binary | (Offset << 7); in getSORegImmOpValue()
1669 unsigned Binary = CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); in getT2SORegOpValue() local
1687 Binary |= SBits << 4; in getT2SORegOpValue()
1689 return Binary; in getT2SORegOpValue()
1692 return Binary | ARM_AM::getSORegOffset(MO1.getImm()) << 7; in getT2SORegOpValue()
1723 unsigned Binary = 0; in getRegisterListOpValue() local
1729 Binary |= (RegNo & 0x1f) << 8; in getRegisterListOpValue()
1735 Binary |= NumRegs; in getRegisterListOpValue()
1737 Binary |= NumRegs * 2; in getRegisterListOpValue()
1747 Binary |= 1 << RegNo; in getRegisterListOpValue()
1751 return Binary; in getRegisterListOpValue()
1881 uint32_t Binary = getBinaryCodeForInstr(MI, Fixups, STI); in encodeInstruction() local
1885 EmitConstant(Binary >> 16, 2, OS); in encodeInstruction()
1886 EmitConstant(Binary & 0xffff, 2, OS); in encodeInstruction()
1888 EmitConstant(Binary, Size, OS); in encodeInstruction()