Home
last modified time | relevance | path

Searched refs:MOUse (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLocalizer.cpp53 bool Localizer::isLocalUse(MachineOperand &MOUse, const MachineInstr &Def, in isLocalUse()
55 MachineInstr &MIUse = *MOUse.getParent(); in isLocalUse()
58 InsertMBB = MIUse.getOperand(MOUse.getOperandNo() + 1).getMBB(); in isLocalUse()
97 for (MachineOperand &MOUse : in localizeInterBlock()
101 LLVM_DEBUG(MachineInstr &MIUse = *MOUse.getParent(); in localizeInterBlock()
103 << " #Opd: " << MOUse.getOperandNo() << '\n'); in localizeInterBlock()
104 if (isLocalUse(MOUse, MI, InsertMBB)) { in localizeInterBlock()
115 unsigned NumPhiUses = getNumPhiUses(MOUse); in localizeInterBlock()
128 MachineInstr &UseMI = *MOUse.getParent(); in localizeInterBlock()
145 MOUse in localizeInterBlock()
52 isLocalUse(MachineOperand & MOUse,const MachineInstr & Def,MachineBasicBlock * & InsertMBB) isLocalUse() argument
[all...]
H A DUtils.cpp1676 for (auto &MOUse : MRI.use_operands(Def.getReg())) { in salvageDebugInfo() local
1677 MachineInstr *DbgValue = MOUse.getParent(); in salvageDebugInfo()
1680 DbgUsers.push_back(&MOUse); in salvageDebugInfo()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCopyPropagation.cpp681 MachineOperand &MOUse = MI.getOperand(OpIdx); in forwardUses() local
687 if (!MOUse.isReg() || MOUse.isTied() || MOUse.isUndef() || MOUse.isDef() || in forwardUses()
688 MOUse.isImplicit()) in forwardUses()
691 if (!MOUse.getReg()) in forwardUses()
697 if (!MOUse.isRenamable()) in forwardUses()
700 MachineInstr *Copy = Tracker.findAvailCopy(MI, MOUse.getReg().asMCReg(), in forwardUses()
714 if (MOUse.getReg() != CopyDstReg) { in forwardUses()
715 unsigned SubRegIdx = TRI->getSubRegIndex(CopyDstReg, MOUse.getReg()); in forwardUses()
733 if (hasImplicitOverlap(MI, MOUse)) in forwardUses()
752 LLVM_DEBUG(dbgs() << "MCP: Replacing " << printReg(MOUse.getReg(), TRI) in forwardUses()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLocalizer.h58 /// Check if \p MOUse is used in the same basic block as \p Def.
62 static bool isLocalUse(MachineOperand &MOUse, const MachineInstr &Def,