Lines Matching refs:Binary

312     unsigned Binary = (ARM_AM::getSOImmValRot((unsigned)SoImmVal) >> 1)  in getSOImmOpValue()  local
316 Binary |= ARM_AM::getSOImmValImm((unsigned)SoImmVal); in getSOImmOpValue()
317 return Binary; in getSOImmOpValue()
924 uint32_t Binary = Imm12 & 0xfff; in getAddrModeImm12OpValue() local
927 Binary |= (1 << 12); in getAddrModeImm12OpValue()
928 Binary |= (Reg << 13); in getAddrModeImm12OpValue()
929 return Binary; in getAddrModeImm12OpValue()
957 uint32_t Binary = Imm8 & 0xff; in getT2Imm8s4OpValue() local
960 Binary |= (1 << 8); in getT2Imm8s4OpValue()
961 return Binary; in getT2Imm8s4OpValue()
997 uint32_t Binary = (Imm8 >> 2) & 0xff; in getT2AddrModeImm8s4OpValue() local
1000 Binary |= (1 << 8); in getT2AddrModeImm8s4OpValue()
1001 Binary |= (Reg << 9); in getT2AddrModeImm8s4OpValue()
1002 return Binary; in getT2AddrModeImm8s4OpValue()
1101 uint32_t Binary = Rm; in getLdStSORegOpValue() local
1102 Binary |= Rn << 13; in getLdStSORegOpValue()
1103 Binary |= SBits << 5; in getLdStSORegOpValue()
1104 Binary |= ShImm << 7; in getLdStSORegOpValue()
1106 Binary |= 1 << 12; in getLdStSORegOpValue()
1107 return Binary; in getLdStSORegOpValue()
1122 uint32_t Binary = ARM_AM::getAM2Offset(Imm); in getAddrMode2OffsetOpValue() local
1126 Binary <<= 7; // Shift amount is bits [11:7] in getAddrMode2OffsetOpValue()
1127 Binary |= getShiftOp(ShOp) << 5; // Shift type is bits [6:5] in getAddrMode2OffsetOpValue()
1128 Binary |= CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); // Rm is bits [3:0] in getAddrMode2OffsetOpValue()
1130 return Binary | (isAdd << 12) | (isReg << 13); in getAddrMode2OffsetOpValue()
1275 uint32_t Binary = ARM_AM::getAM5Offset(Imm8); in getAddrMode5OpValue() local
1278 Binary |= (1 << 8); in getAddrMode5OpValue()
1279 Binary |= (Reg << 9); in getAddrMode5OpValue()
1280 return Binary; in getAddrMode5OpValue()
1315 uint32_t Binary = ARM_AM::getAM5Offset(Imm8); in getAddrMode5FP16OpValue() local
1318 Binary |= (1 << 8); in getAddrMode5FP16OpValue()
1319 Binary |= (Reg << 9); in getAddrMode5FP16OpValue()
1320 return Binary; in getAddrMode5FP16OpValue()
1343 unsigned Binary = CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); in getSORegRegOpValue() local
1363 Binary |= SBits << 4; in getSORegRegOpValue()
1368 return Binary | (CTX.getRegisterInfo()->getEncodingValue(Rs) << ARMII::RegRsShift); in getSORegRegOpValue()
1388 unsigned Binary = CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); in getSORegImmOpValue() local
1406 Binary |= 0x60; in getSORegImmOpValue()
1407 return Binary; in getSORegImmOpValue()
1411 Binary |= SBits << 4; in getSORegImmOpValue()
1414 return Binary | (Offset << 7); in getSORegImmOpValue()
1493 unsigned Binary = CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); in getT2SORegOpValue() local
1511 Binary |= SBits << 4; in getT2SORegOpValue()
1513 return Binary; in getT2SORegOpValue()
1516 return Binary | ARM_AM::getSORegOffset(MO1.getImm()) << 7; in getT2SORegOpValue()
1547 unsigned Binary = 0; in getRegisterListOpValue() local
1553 Binary |= (RegNo & 0x1f) << 8; in getRegisterListOpValue()
1555 Binary |= NumRegs; in getRegisterListOpValue()
1557 Binary |= NumRegs * 2; in getRegisterListOpValue()
1568 Binary |= 1 << RegNo; in getRegisterListOpValue()
1572 return Binary; in getRegisterListOpValue()
1702 uint32_t Binary = getBinaryCodeForInstr(MI, Fixups, STI); in encodeInstruction() local
1706 EmitConstant(Binary >> 16, 2, OS); in encodeInstruction()
1707 EmitConstant(Binary & 0xffff, 2, OS); in encodeInstruction()
1709 EmitConstant(Binary, Size, OS); in encodeInstruction()