• Home
  • Raw
  • Download

Lines Matching refs:HMB

70   MCInst &HMB = const_cast<MCInst &>(MI);  in encodeInstruction()  local
72 assert(HexagonMCInstrInfo::isBundle(HMB)); in encodeInstruction()
78 size_t Last = HexagonMCInstrInfo::bundleSize(HMB) - 1; in encodeInstruction()
79 for (auto &I : HexagonMCInstrInfo::bundleInstructions(HMB)) { in encodeInstruction()
82 parseBits(Instruction, Last, HMB, HMI), in encodeInstruction()
108 MCInst HMB = MI; in EncodeSingleInstruction() local
109 assert(!HexagonMCInstrInfo::isBundle(HMB)); in EncodeSingleInstruction()
120 assert(!HexagonMCInstrInfo::getDesc(MCII, HMB).isPseudo() && in EncodeSingleInstruction()
123 " `" << HexagonMCInstrInfo::getName(MCII, HMB) << "'" in EncodeSingleInstruction()
126 if (llvm::HexagonMCInstrInfo::getType(MCII, HMB) == HexagonII::TypeCOMPOUND) { in EncodeSingleInstruction()
127 for (unsigned i = 0; i < HMB.getNumOperands(); ++i) in EncodeSingleInstruction()
128 if (HMB.getOperand(i).isReg()) { in EncodeSingleInstruction()
130 MCT.getRegisterInfo()->getEncodingValue(HMB.getOperand(i).getReg()); in EncodeSingleInstruction()
132 HMB.getOperand(i).setReg(RegMap[Reg - 16]); in EncodeSingleInstruction()
136 if (HexagonMCInstrInfo::isNewValue(MCII, HMB)) { in EncodeSingleInstruction()
139 HMB.getOperand(HexagonMCInstrInfo::getNewValueOp(MCII, HMB)); in EncodeSingleInstruction()
170 assert(HexagonMCInstrInfo::isPredicated(MCII, HMB) && in EncodeSingleInstruction()
173 HexagonMCInstrInfo::isPredicatedTrue(MCII, HMB)) in EncodeSingleInstruction()
179 HexagonMCInstrInfo::isVector(MCII, HMB) ? VOffset : SOffset; in EncodeSingleInstruction()
186 Binary = getBinaryCodeForInstr(HMB, Fixups, STI); in EncodeSingleInstruction()
190 ((HMB.getOpcode() != DuplexIClass0) && (HMB.getOpcode() != A4_ext) && in EncodeSingleInstruction()
191 (HMB.getOpcode() != A4_ext_b) && (HMB.getOpcode() != A4_ext_c) && in EncodeSingleInstruction()
192 (HMB.getOpcode() != A4_ext_g))) { in EncodeSingleInstruction()
194 " `" << HexagonMCInstrInfo::getName(MCII, HMB) << "'" in EncodeSingleInstruction()
201 if (HMB.getOpcode() >= Hexagon::DuplexIClass0 && in EncodeSingleInstruction()
202 HMB.getOpcode() <= Hexagon::DuplexIClassF) { in EncodeSingleInstruction()
206 switch (HMB.getOpcode()) { in EncodeSingleInstruction()
264 const MCInst *subInst0 = HMB.getOperand(0).getInst(); in EncodeSingleInstruction()
265 const MCInst *subInst1 = HMB.getOperand(1).getInst(); in EncodeSingleInstruction()