Home
last modified time | relevance | path

Searched refs:MI2 (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMicroMipsSizeReduction.cpp197 MachineInstr *MI2 = nullptr,
398 static bool ConsecutiveInstr(MachineInstr *MI1, MachineInstr *MI2) { in ConsecutiveInstr() argument
403 if (!GetImm(MI2, 2, Offset2)) in ConsecutiveInstr()
407 Register Reg2 = MI2->getOperand(0).getReg(); in ConsecutiveInstr()
465 MachineInstr *MI2 = &*NextMII; in ReduceXWtoXWP() local
475 if (!CheckXWPInstr(MI2, ReduceToLwp, Entry)) in ReduceXWtoXWP()
479 Register Reg2 = MI2->getOperand(1).getReg(); in ReduceXWtoXWP()
484 bool ConsecutiveForward = ConsecutiveInstr(MI1, MI2); in ReduceXWtoXWP()
485 bool ConsecutiveBackward = ConsecutiveInstr(MI2, MI1); in ReduceXWtoXWP()
491 return ReplaceInstruction(MI1, Entry, MI2, ConsecutiveForward); in ReduceXWtoXWP()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFMIPeephole.cpp413 MachineInstr *MI2 = nullptr; in eliminateTruncSeq() local
429 MI2 = MRI->getVRegDef(SrcReg); in eliminateTruncSeq()
432 if (!MI2 || in eliminateTruncSeq()
433 MI2->getOpcode() != BPF::SLL_ri || in eliminateTruncSeq()
434 MI2->getOperand(2).getImm() != 32) in eliminateTruncSeq()
438 SrcReg = MI2->getOperand(1).getReg(); in eliminateTruncSeq()
489 if (MI2) in eliminateTruncSeq()
490 MI2->eraseFromParent(); in eliminateTruncSeq()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIFixSGPRCopies.cpp460 MachineInstr *MI2 = *I2; in hoistAndMergeSGPRInits() local
495 if (MDT.dominates(MI1, MI2)) { in hoistAndMergeSGPRInits()
496 if (!interferes(MI2, MI1)) { in hoistAndMergeSGPRInits()
499 << printMBBReference(*MI2->getParent()) << " " << *MI2); in hoistAndMergeSGPRInits()
500 MergedInstrs.insert(MI2); in hoistAndMergeSGPRInits()
505 } else if (MDT.dominates(MI2, MI1)) { in hoistAndMergeSGPRInits()
506 if (!interferes(MI1, MI2)) { in hoistAndMergeSGPRInits()
517 MI2->getParent()); in hoistAndMergeSGPRInits()
524 if (!interferes(MI1, I) && !interferes(MI2, I)) { in hoistAndMergeSGPRInits()
529 << printMBBReference(*MI2->getParent()) << " to " in hoistAndMergeSGPRInits()
[all …]
DAMDGPUSubtarget.cpp769 MachineInstr &MI2 = *SU.getInstr(); in apply() local
770 if (!MI2.mayLoad() && !MI2.mayStore()) { in apply()
780 if ((TII->isVMEM(MI1) && TII->isVMEM(MI2)) || in apply()
781 (TII->isFLAT(MI1) && TII->isFLAT(MI2)) || in apply()
782 (TII->isSMRD(MI1) && TII->isSMRD(MI2)) || in apply()
783 (TII->isDS(MI1) && TII->isDS(MI2))) { in apply()
DSIInstrInfo.cpp403 const MachineInstr &MI2, in memOpsHaveSameBasePtr() argument
413 if (!MI1.hasOneMemOperand() || !MI2.hasOneMemOperand()) in memOpsHaveSameBasePtr()
417 auto MO2 = *MI2.memoperands_begin(); in memOpsHaveSameBasePtr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DDFAPacketizer.cpp302 const MachineInstr &MI2, in alias() argument
304 if (MI1.memoperands_empty() || MI2.memoperands_empty()) in alias()
308 for (const MachineMemOperand *Op2 : MI2.memoperands()) in alias()
DTargetInstrInfo.cpp677 MachineInstr *MI2 = nullptr; in hasReassociableOperands() local
681 MI2 = MRI.getUniqueVRegDef(Op2.getReg()); in hasReassociableOperands()
684 return MI1 && MI2 && MI1->getParent() == MBB && MI2->getParent() == MBB; in hasReassociableOperands()
692 MachineInstr *MI2 = MRI.getUniqueVRegDef(Inst.getOperand(2).getReg()); in hasReassociableSibling() local
697 Commuted = MI1->getOpcode() != AssocOpcode && MI2->getOpcode() == AssocOpcode; in hasReassociableSibling()
699 std::swap(MI1, MI2); in hasReassociableSibling()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonSubtarget.cpp155 MachineInstr &MI2 = *SI.getSUnit()->getInstr(); in apply() local
156 if (!QII->isHVXVec(MI2)) in apply()
158 if ((IsStoreMI1 && MI2.mayStore()) || (IsLoadMI1 && MI2.mayLoad())) { in apply()
DHexagonInstrInfo.h399 const MachineInstr &MI2) const;
411 const MachineInstr &MI2) const;
DHexagonVLIWPacketizer.h134 bool arePredicatesComplements(MachineInstr &MI1, MachineInstr &MI2);
DHexagonVLIWPacketizer.cpp960 MachineInstr &MI2) { in arePredicatesComplements() argument
964 getPredicateSense(MI2, HII) == PK_Unknown) in arePredicatesComplements()
1017 unsigned PReg2 = getPredicatedRegister(MI2, HII); in arePredicatesComplements()
1021 getPredicateSense(MI1, HII) != getPredicateSense(MI2, HII) && in arePredicatesComplements()
1022 HII->isDotNewInst(MI1) == HII->isDotNewInst(MI2); in arePredicatesComplements()
DHexagonInstrInfo.cpp2616 const MachineInstr &MI2) const { in isToBeScheduledASAP()
2620 int N = MI2.getNumOperands(); in isToBeScheduledASAP()
2622 if (MI2.getOperand(I).isReg() && DstReg == MI2.getOperand(I).getReg()) in isToBeScheduledASAP()
2625 if (mayBeNewStore(MI2)) in isToBeScheduledASAP()
2626 if (MI2.getOpcode() == Hexagon::V6_vS32b_pi) in isToBeScheduledASAP()
2627 if (MI1.getOperand(0).isReg() && MI2.getOperand(3).isReg() && in isToBeScheduledASAP()
2628 MI1.getOperand(0).getReg() == MI2.getOperand(3).getReg()) in isToBeScheduledASAP()
2935 const MachineInstr &MI2) const { in addLatencyToSchedule()
2936 if (isHVXVec(MI1) && isHVXVec(MI2)) in addLatencyToSchedule()
2937 if (!isVecUsableNextPacket(MI1, MI2)) in addLatencyToSchedule()
DHexagonPatterns.td772 class T3<InstHexagon MI1, InstHexagon MI2, InstHexagon MI3>
774 (MI1 (MI2 $Rs, $Rt), (MI3 $Rs, $Rt))>;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86OptimizeLEAs.cpp278 const MachineInstr &MI2, unsigned N2) const;
401 const MachineInstr &MI2, in getAddrDispShift() argument
404 const MachineOperand &Op2 = MI2.getOperand(N2 + X86::AddrDisp); in getAddrDispShift()
DX86ISelLowering.h1461 MachineInstr &MI2,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DMLxExpansionPass.cpp314 MachineInstr &MI2 = *MII; in ExpandFPMLxInstruction()
318 dbgs() << " " << MI2; in ExpandFPMLxInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DDFAPacketizer.h190 bool alias(const MachineInstr &MI1, const MachineInstr &MI2,