Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DLiveVariables.cpp196 MachineInstr *LastDef = nullptr; in FindLastPartialDef() local
205 LastDef = Def; in FindLastPartialDef()
210 if (!LastDef) in FindLastPartialDef()
214 for (unsigned i = 0, e = LastDef->getNumOperands(); i != e; ++i) { in FindLastPartialDef()
215 MachineOperand &MO = LastDef->getOperand(i); in FindLastPartialDef()
225 return LastDef; in FindLastPartialDef()
232 MachineInstr *LastDef = PhysRegDef[Reg]; in HandlePhysRegUse() local
234 if (!LastDef && !PhysRegUse[Reg]) { in HandlePhysRegUse()
267 } else if (LastDef && !PhysRegUse[Reg] && in HandlePhysRegUse()
268 !LastDef->findRegisterDefOperand(Reg)) in HandlePhysRegUse()
[all …]
DTwoAddressInstructionPass.cpp104 bool noUseAfterLastDef(unsigned Reg, unsigned Dist, unsigned &LastDef);
316 unsigned &LastDef) { in noUseAfterLastDef() argument
317 LastDef = 0; in noUseAfterLastDef()
328 if (MO.isDef() && DI->second > LastDef) in noUseAfterLastDef()
329 LastDef = DI->second; in noUseAfterLastDef()
332 return !(LastUse > LastDef && LastUse < Dist); in noUseAfterLastDef()
/external/llvm/lib/Target/Hexagon/
DHexagonCopyToCombine.cpp359 DenseMap<unsigned, MachineInstr *> LastDef; in findPotentialNewifiableTFRs() local
375 MachineInstr *DefInst = LastDef[Reg]; in findPotentialNewifiableTFRs()
405 LastDef[*SubRegs] = MI; in findPotentialNewifiableTFRs()
408 LastDef[Reg] = MI; in findPotentialNewifiableTFRs()