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.cpp107 bool noUseAfterLastDef(unsigned Reg, unsigned Dist, unsigned &LastDef);
357 unsigned &LastDef) { in noUseAfterLastDef() argument
358 LastDef = 0; in noUseAfterLastDef()
369 if (MO.isDef() && DI->second > LastDef) in noUseAfterLastDef()
370 LastDef = DI->second; in noUseAfterLastDef()
373 return !(LastUse > LastDef && LastUse < Dist); in noUseAfterLastDef()
/external/llvm/lib/Target/Hexagon/
DHexagonCopyToCombine.cpp344 DenseMap<unsigned, MachineInstr *> LastDef; in findPotentialNewifiableTFRs() local
360 MachineInstr *DefInst = LastDef[Reg]; in findPotentialNewifiableTFRs()
390 LastDef[*SubRegs] = MI; in findPotentialNewifiableTFRs()
393 LastDef[Reg] = MI; in findPotentialNewifiableTFRs()