Lines Matching refs:MatchInfo
219 ShuffleVectorPseudo &MatchInfo) { in matchREV() argument
235 MatchInfo = ShuffleVectorPseudo(AArch64::G_REV64, Dst, {Src}); in matchREV()
248 ShuffleVectorPseudo &MatchInfo) { in matchTRN() argument
259 MatchInfo = ShuffleVectorPseudo(Opc, Dst, {V1, V2}); in matchTRN()
269 ShuffleVectorPseudo &MatchInfo) { in matchUZP() argument
280 MatchInfo = ShuffleVectorPseudo(Opc, Dst, {V1, V2}); in matchUZP()
285 ShuffleVectorPseudo &MatchInfo) { in matchZip() argument
296 MatchInfo = ShuffleVectorPseudo(Opc, Dst, {V1, V2}); in matchZip()
303 ShuffleVectorPseudo &MatchInfo) { in matchDupFromInsertVectorElt() argument
334 MatchInfo = ShuffleVectorPseudo(AArch64::G_DUP, MI.getOperand(0).getReg(), in matchDupFromInsertVectorElt()
342 ShuffleVectorPseudo &MatchInfo) { in matchDupFromBuildVector() argument
351 MatchInfo = in matchDupFromBuildVector()
357 ShuffleVectorPseudo &MatchInfo) { in matchDup() argument
366 if (matchDupFromInsertVectorElt(Lane, MI, MRI, MatchInfo)) in matchDup()
368 if (matchDupFromBuildVector(Lane, MI, MRI, MatchInfo)) in matchDup()
374 ShuffleVectorPseudo &MatchInfo) { in matchEXT() argument
390 MatchInfo = ShuffleVectorPseudo(AArch64::G_EXT, Dst, {V1, V2, Imm}); in matchEXT()
397 ShuffleVectorPseudo &MatchInfo) { in applyShuffleVectorPseudo() argument
399 MIRBuilder.buildInstr(MatchInfo.Opc, {MatchInfo.Dst}, MatchInfo.SrcOps); in applyShuffleVectorPseudo()
407 static bool applyEXT(MachineInstr &MI, ShuffleVectorPseudo &MatchInfo) { in applyEXT() argument
411 MIRBuilder.buildConstant(LLT::scalar(32), MatchInfo.SrcOps[2].getImm()); in applyEXT()
412 MIRBuilder.buildInstr(MatchInfo.Opc, {MatchInfo.Dst}, in applyEXT()
413 {MatchInfo.SrcOps[0], MatchInfo.SrcOps[1], Cst}); in applyEXT()
430 std::tuple<Register, int, Register, int> &MatchInfo) { in matchINS() argument
452 MatchInfo = std::make_tuple(DstVec, DstLane, SrcVec, SrcLane); in matchINS()
458 std::tuple<Register, int, Register, int> &MatchInfo) { in applyINS() argument
464 std::tie(DstVec, DstLane, SrcVec, SrcLane) = MatchInfo; in applyINS()
618 std::pair<uint64_t, CmpInst::Predicate> &MatchInfo) { in matchAdjustICmpImmAndPred() argument
623 MatchInfo = *MaybeNewImmAndPred; in matchAdjustICmpImmAndPred()
630 MachineInstr &MI, std::pair<uint64_t, CmpInst::Predicate> &MatchInfo, in applyAdjustICmpImmAndPred() argument
636 MatchInfo.first); in applyAdjustICmpImmAndPred()
639 MI.getOperand(1).setPredicate(MatchInfo.second); in applyAdjustICmpImmAndPred()
645 std::pair<unsigned, int> &MatchInfo) { in matchDupLane() argument
691 MatchInfo.first = Opc; in matchDupLane()
692 MatchInfo.second = *LaneIdx; in matchDupLane()
697 MachineIRBuilder &B, std::pair<unsigned, int> &MatchInfo) { in applyDupLane() argument
703 auto Lane = B.buildConstant(LLT::scalar(64), MatchInfo.second); in applyDupLane()
717 B.buildInstr(MatchInfo.first, {MI.getOperand(0).getReg()}, {DupSrc, Lane}); in applyDupLane()