Lines Matching refs:Insn

44 				 SmallVectorImpl<ImmInsnModel> &Insn) {  in tryToreplicateChunks()  argument
67 Insn.push_back({ AArch64::ORRXri, 0, Encoding }); in tryToreplicateChunks()
80 Insn.push_back({ AArch64::MOVKXi, Imm16, in tryToreplicateChunks()
95 Insn.push_back({ AArch64::MOVKXi, Imm16, in tryToreplicateChunks()
151 SmallVectorImpl<ImmInsnModel> &Insn) { in trySequenceOfOnes() argument
223 Insn.push_back({ AArch64::ORRXri, 0, Encoding }); in trySequenceOfOnes()
226 Insn.push_back({ AArch64::MOVKXi, getChunk(UImm, FirstMovkIdx), in trySequenceOfOnes()
235 Insn.push_back({ AArch64::MOVKXi, getChunk(UImm, SecondMovkIdx), in trySequenceOfOnes()
317 SmallVectorImpl<ImmInsnModel> &Insn) { in tryOrrOfLogicalImmediates() argument
330 Insn.push_back({AArch64::ORRXri, 0, Encoding1}); in tryOrrOfLogicalImmediates()
331 Insn.push_back({AArch64::ORRXri, 1, Encoding2}); in tryOrrOfLogicalImmediates()
342 SmallVectorImpl<ImmInsnModel> &Insn) { in tryAndOfLogicalImmediates() argument
356 Insn.push_back({AArch64::ORRXri, 0, Encoding1}); in tryAndOfLogicalImmediates()
358 Insn.push_back({AArch64::ANDXri, 1, Encoding2}); in tryAndOfLogicalImmediates()
374 SmallVectorImpl<ImmInsnModel> &Insn) { in tryEorOfLogicalImmediates() argument
451 Insn.push_back({AArch64::ORRXri, 0, SmallEncoding}); in tryEorOfLogicalImmediates()
452 Insn.push_back({AArch64::EORXri, 1, BigEncoding}); in tryEorOfLogicalImmediates()
468 SmallVectorImpl<ImmInsnModel> &Insn) { in expandMOVImmSimple() argument
500 Insn.push_back({ FirstOpc, Imm16, in expandMOVImmSimple()
518 Insn.push_back({ Opc, Imm16, in expandMOVImmSimple()
524 if (Insn.size() > 2 && (Imm >> 32) == (Imm & 0xffffffffULL)) { in expandMOVImmSimple()
525 for (int Size = Insn.size(); Size > 2; Size--) in expandMOVImmSimple()
526 Insn.pop_back(); in expandMOVImmSimple()
527 Insn.push_back({AArch64::ORRXrs, 0, 32}); in expandMOVImmSimple()
534 SmallVectorImpl<ImmInsnModel> &Insn) { in expandMOVImm() argument
551 expandMOVImmSimple(Imm, BitSize, OneChunks, ZeroChunks, Insn); in expandMOVImm()
560 Insn.push_back({ Opc, 0, Encoding }); in expandMOVImm()
569 expandMOVImmSimple(Imm, BitSize, OneChunks, ZeroChunks, Insn); in expandMOVImm()
595 Insn.push_back({ AArch64::ORRXri, 0, Encoding }); in expandMOVImm()
599 Insn.push_back({ AArch64::MOVKXi, Imm16, in expandMOVImm()
606 if (tryOrrOfLogicalImmediates(Imm, Insn)) in expandMOVImm()
610 if (tryAndOfLogicalImmediates(Imm, Insn)) in expandMOVImm()
614 if (tryEorOfLogicalImmediates(UImm, Insn)) in expandMOVImm()
626 expandMOVImmSimple(Imm, BitSize, OneChunks, ZeroChunks, Insn); in expandMOVImm()
633 if (BitSize == 64 && tryToreplicateChunks(UImm, Insn)) in expandMOVImm()
641 if (BitSize == 64 && trySequenceOfOnes(UImm, Insn)) in expandMOVImm()
646 expandMOVImmSimple(Imm, BitSize, OneChunks, ZeroChunks, Insn); in expandMOVImm()