Lines Matching refs:MCI

177 unsigned HexagonMCInstrInfo::getDuplexCandidateGroup(MCInst const &MCI) {  in getDuplexCandidateGroup()  argument
180 switch (MCI.getOpcode()) { in getDuplexCandidateGroup()
189 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
190 SrcReg = MCI.getOperand(1).getReg(); in getDuplexCandidateGroup()
195 Hexagon::R29 == SrcReg && inRange<5, 2>(MCI, 2)) { in getDuplexCandidateGroup()
200 inRange<4, 2>(MCI, 2)) { in getDuplexCandidateGroup()
207 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
208 SrcReg = MCI.getOperand(1).getReg(); in getDuplexCandidateGroup()
211 inRange<4>(MCI, 2)) { in getDuplexCandidateGroup()
228 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
229 SrcReg = MCI.getOperand(1).getReg(); in getDuplexCandidateGroup()
232 inRange<3, 1>(MCI, 2)) { in getDuplexCandidateGroup()
238 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
239 SrcReg = MCI.getOperand(1).getReg(); in getDuplexCandidateGroup()
242 inRange<3>(MCI, 2)) { in getDuplexCandidateGroup()
248 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
249 SrcReg = MCI.getOperand(1).getReg(); in getDuplexCandidateGroup()
252 inRange<5, 3>(MCI, 2)) { in getDuplexCandidateGroup()
268 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
284 DstReg = MCI.getOperand(1).getReg(); in getDuplexCandidateGroup()
285 SrcReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
304 SrcReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
317 Src1Reg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
318 Src2Reg = MCI.getOperand(2).getReg(); in getDuplexCandidateGroup()
321 Hexagon::R29 == Src1Reg && inRange<5, 2>(MCI, 1)) { in getDuplexCandidateGroup()
327 inRange<4, 2>(MCI, 1)) { in getDuplexCandidateGroup()
333 Src1Reg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
334 Src2Reg = MCI.getOperand(2).getReg(); in getDuplexCandidateGroup()
337 inRange<4>(MCI, 1)) { in getDuplexCandidateGroup()
352 Src1Reg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
353 Src2Reg = MCI.getOperand(2).getReg(); in getDuplexCandidateGroup()
356 inRange<3, 1>(MCI, 1)) { in getDuplexCandidateGroup()
362 Src1Reg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
363 Src2Reg = MCI.getOperand(2).getReg(); in getDuplexCandidateGroup()
366 inSRange<6, 3>(MCI, 1)) { in getDuplexCandidateGroup()
372 Src1Reg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
374 inRange<4, 2>(MCI, 1) && inRange<1>(MCI, 2)) { in getDuplexCandidateGroup()
380 Src1Reg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
382 inRange<4>(MCI, 1) && inRange<1>(MCI, 2)) { in getDuplexCandidateGroup()
387 if (inRange<5, 3>(MCI, 0)) in getDuplexCandidateGroup()
409 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
410 SrcReg = MCI.getOperand(1).getReg(); in getDuplexCandidateGroup()
414 inRange<6, 2>(MCI, 2)) { in getDuplexCandidateGroup()
424 (minConstant(MCI, 2) == 1 || minConstant(MCI, 2) == -1)) { in getDuplexCandidateGroup()
431 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
432 Src1Reg = MCI.getOperand(1).getReg(); in getDuplexCandidateGroup()
433 Src2Reg = MCI.getOperand(2).getReg(); in getDuplexCandidateGroup()
440 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
441 SrcReg = MCI.getOperand(1).getReg(); in getDuplexCandidateGroup()
444 (minConstant(MCI, 2) == 1 || minConstant(MCI, 2) == 255)) { in getDuplexCandidateGroup()
450 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
451 SrcReg = MCI.getOperand(1).getReg(); in getDuplexCandidateGroup()
458 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
471 DstReg = MCI.getOperand(0).getReg(); // Rd in getDuplexCandidateGroup()
472 PredReg = MCI.getOperand(1).getReg(); // P0 in getDuplexCandidateGroup()
474 Hexagon::P0 == PredReg && minConstant(MCI, 2) == 0) { in getDuplexCandidateGroup()
480 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
481 SrcReg = MCI.getOperand(1).getReg(); in getDuplexCandidateGroup()
484 inRange<2>(MCI, 2)) { in getDuplexCandidateGroup()
491 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
493 inRange<2>(MCI, 1) && inRange<2>(MCI, 2)) { in getDuplexCandidateGroup()
499 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
500 SrcReg = MCI.getOperand(1).getReg(); in getDuplexCandidateGroup()
503 minConstant(MCI, 2) == 0) { in getDuplexCandidateGroup()
509 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
510 SrcReg = MCI.getOperand(2).getReg(); in getDuplexCandidateGroup()
513 minConstant(MCI, 1) == 0) { in getDuplexCandidateGroup()
522 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
523 SrcReg = MCI.getOperand(1).getReg(); in getDuplexCandidateGroup()