Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DLocalizer.cpp52 bool Localizer::isLocalUse(MachineOperand &MOUse, const MachineInstr &Def, in isLocalUse() argument
54 MachineInstr &MIUse = *MOUse.getParent(); in isLocalUse()
57 InsertMBB = MIUse.getOperand(MIUse.getOperandNo(&MOUse) + 1).getMBB(); in isLocalUse()
90 MachineOperand &MOUse = *MOIt++; in runOnMachineFunction() local
93 LLVM_DEBUG(MachineInstr &MIUse = *MOUse.getParent(); in runOnMachineFunction()
95 << " #Opd: " << MIUse.getOperandNo(&MOUse) << '\n'); in runOnMachineFunction()
96 if (isLocalUse(MOUse, MI, InsertMBB)) in runOnMachineFunction()
124 MOUse.setReg(NewVRegIt->second); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineCopyPropagation.cpp325 MachineOperand &MOUse = MI.getOperand(OpIdx); in forwardUses() local
331 if (!MOUse.isReg() || MOUse.isTied() || MOUse.isUndef() || MOUse.isDef() || in forwardUses()
332 MOUse.isImplicit()) in forwardUses()
335 if (!MOUse.getReg()) in forwardUses()
341 if (!MOUse.isRenamable()) in forwardUses()
344 auto CI = AvailCopyMap.find(MOUse.getReg()); in forwardUses()
354 if (MOUse.getReg() != CopyDstReg) { in forwardUses()
368 if (hasImplicitOverlap(MI, MOUse)) in forwardUses()
377 LLVM_DEBUG(dbgs() << "MCP: Replacing " << printReg(MOUse.getReg(), TRI) in forwardUses()
381 MOUse.setReg(CopySrcReg); in forwardUses()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DLocalizer.h55 static bool isLocalUse(MachineOperand &MOUse, const MachineInstr &Def,