• Home
  • Raw
  • Download

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()
913 uint32_t Binary = Imm12 & 0xfff; in getAddrModeImm12OpValue() local
916 Binary |= (1 << 12); in getAddrModeImm12OpValue()
917 Binary |= (Reg << 13); in getAddrModeImm12OpValue()
918 return Binary; in getAddrModeImm12OpValue()
946 uint32_t Binary = Imm8 & 0xff; in getT2Imm8s4OpValue() local
949 Binary |= (1 << 8); in getT2Imm8s4OpValue()
950 return Binary; in getT2Imm8s4OpValue()
986 uint32_t Binary = (Imm8 >> 2) & 0xff; in getT2AddrModeImm8s4OpValue() local
989 Binary |= (1 << 8); in getT2AddrModeImm8s4OpValue()
990 Binary |= (Reg << 9); in getT2AddrModeImm8s4OpValue()
991 return Binary; in getT2AddrModeImm8s4OpValue()
1090 uint32_t Binary = Rm; in getLdStSORegOpValue() local
1091 Binary |= Rn << 13; in getLdStSORegOpValue()
1092 Binary |= SBits << 5; in getLdStSORegOpValue()
1093 Binary |= ShImm << 7; in getLdStSORegOpValue()
1095 Binary |= 1 << 12; in getLdStSORegOpValue()
1096 return Binary; in getLdStSORegOpValue()
1111 uint32_t Binary = ARM_AM::getAM2Offset(Imm); in getAddrMode2OffsetOpValue() local
1115 Binary <<= 7; // Shift amount is bits [11:7] in getAddrMode2OffsetOpValue()
1116 Binary |= getShiftOp(ShOp) << 5; // Shift type is bits [6:5] in getAddrMode2OffsetOpValue()
1117 Binary |= CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); // Rm is bits [3:0] in getAddrMode2OffsetOpValue()
1119 return Binary | (isAdd << 12) | (isReg << 13); in getAddrMode2OffsetOpValue()
1264 uint32_t Binary = ARM_AM::getAM5Offset(Imm8); in getAddrMode5OpValue() local
1267 Binary |= (1 << 8); in getAddrMode5OpValue()
1268 Binary |= (Reg << 9); in getAddrMode5OpValue()
1269 return Binary; in getAddrMode5OpValue()
1304 uint32_t Binary = ARM_AM::getAM5Offset(Imm8); in getAddrMode5FP16OpValue() local
1307 Binary |= (1 << 8); in getAddrMode5FP16OpValue()
1308 Binary |= (Reg << 9); in getAddrMode5FP16OpValue()
1309 return Binary; in getAddrMode5FP16OpValue()
1332 unsigned Binary = CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); in getSORegRegOpValue() local
1352 Binary |= SBits << 4; in getSORegRegOpValue()
1357 return Binary | (CTX.getRegisterInfo()->getEncodingValue(Rs) << ARMII::RegRsShift); in getSORegRegOpValue()
1377 unsigned Binary = CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); in getSORegImmOpValue() local
1395 Binary |= 0x60; in getSORegImmOpValue()
1396 return Binary; in getSORegImmOpValue()
1400 Binary |= SBits << 4; in getSORegImmOpValue()
1403 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()