• Home
  • Raw
  • Download

Lines Matching refs:MCB

31 void HexagonMCShuffler::init(MCInst &MCB) {  in init()  argument
32 if (HexagonMCInstrInfo::isBundle(MCB)) { in init()
35 for (const auto &I : HexagonMCInstrInfo::bundleInstructions(MCB)) { in init()
48 BundleFlags = MCB.getOperand(0).getImm(); in init()
51 void HexagonMCShuffler::init(MCInst &MCB, MCInst const *AddMI, in init() argument
53 if (HexagonMCInstrInfo::isBundle(MCB)) { in init()
59 for (auto const &I : HexagonMCInstrInfo::bundleInstructions(MCB)) { in init()
74 BundleFlags = MCB.getOperand(0).getImm(); in init()
77 void HexagonMCShuffler::copyTo(MCInst &MCB) { in copyTo() argument
78 MCB.clear(); in copyTo()
79 MCB.addOperand(MCOperand::createImm(BundleFlags)); in copyTo()
86 MCB.addOperand(MCOperand::createInst(Extender)); in copyTo()
87 MCB.addOperand(MCOperand::createInst(MI)); in copyTo()
91 bool HexagonMCShuffler::reshuffleTo(MCInst &MCB) { in reshuffleTo() argument
94 copyTo(MCB); in reshuffleTo()
96 DEBUG(MCB.dump()); in reshuffleTo()
102 MCInst &MCB) { in HexagonMCShuffle() argument
103 HexagonMCShuffler MCS(MCII, STI, MCB); in HexagonMCShuffle()
109 if (!HexagonMCInstrInfo::bundleSize(MCB)) { in HexagonMCShuffle()
118 } else if (!HexagonMCInstrInfo::isBundle(MCB)) { in HexagonMCShuffle()
124 if (!MCS.reshuffleTo(MCB)) { in HexagonMCShuffle()
152 MCContext &Context, MCInst &MCB, in HexagonMCShuffle() argument
158 if (!HexagonMCInstrInfo::bundleSize(MCB)) { in HexagonMCShuffle()
167 } else if (!HexagonMCInstrInfo::isBundle(MCB)) { in HexagonMCShuffle()
177 MCInst Attempt(MCB); in HexagonMCShuffle()
182 MCS.copyTo(MCB); in HexagonMCShuffle()
186 doneShuffling = MCS.reshuffleTo(MCB); in HexagonMCShuffle()
194 HexagonMCShuffler MCS(MCII, STI, MCB); in HexagonMCShuffle()
195 doneShuffling = MCS.reshuffleTo(MCB); // shuffle in HexagonMCShuffle()
205 MCInst &MCB, MCInst const *AddMI, int fixupCount) { in HexagonMCShuffle() argument
206 if (!HexagonMCInstrInfo::isBundle(MCB) || !AddMI) in HexagonMCShuffle()
211 unsigned int bundleSize = HexagonMCInstrInfo::bundleSize(MCB); in HexagonMCShuffle()
224 HexagonMCShuffler MCS(MCII, STI, MCB, AddMI); in HexagonMCShuffle()
225 if (!MCS.reshuffleTo(MCB)) { in HexagonMCShuffle()