Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DLiveVariables.cpp196 MachineInstr *LastDef = nullptr; in FindLastPartialDef() local
205 LastDef = Def; in FindLastPartialDef()
210 if (!LastDef) in FindLastPartialDef()
225 return LastDef; in FindLastPartialDef()
232 MachineInstr *LastDef = PhysRegDef[Reg]; in HandlePhysRegUse() local
234 if (!LastDef && !PhysRegUse[Reg]) { in HandlePhysRegUse()
282 MachineInstr *LastDef = PhysRegDef[Reg]; in FindLastRefOrPartRef() local
284 if (!LastDef && !LastUse) in FindLastRefOrPartRef()
293 if (Def && Def != LastDef) { in FindLastRefOrPartRef()
314 if (!LastDef && !LastUse) in HandlePhysRegKill()
[all …]
H A DTwoAddressInstructionPass.cpp132 bool noUseAfterLastDef(unsigned Reg, unsigned Dist, unsigned &LastDef);
386 unsigned &LastDef) { in noUseAfterLastDef() argument
387 LastDef = 0; in noUseAfterLastDef()
398 if (MO.isDef() && DI->second > LastDef) in noUseAfterLastDef()
399 LastDef = DI->second; in noUseAfterLastDef()
402 return !(LastUse > LastDef && LastUse < Dist); in noUseAfterLastDef()
H A DMachinePipeliner.cpp2767 void SwingSchedulerDAG::updateInstruction(MachineInstr *NewMI, bool LastDef, in updateInstruction() argument
2783 if (LastDef) in updateInstruction()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonBlockRanges.cpp293 std::map<RegisterRef,IndexType> LastDef, LastUse; in computeInitialLiveRanges() local
302 LastDef[R] = IndexType::Entry; in computeInitialLiveRanges()
304 auto closeRange = [&LastUse,&LastDef,&LiveMap] (RegisterRef R) -> void { in computeInitialLiveRanges()
305 auto LD = LastDef[R], LU = LastUse[R]; in computeInitialLiveRanges()
311 LastUse[R] = LastDef[R] = IndexType::None; in computeInitialLiveRanges()
380 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) in computeInitialLiveRanges()
382 LastDef[S] = Index; in computeInitialLiveRanges()
389 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) in computeInitialLiveRanges()
392 LastDef[S] = LastUse[S] = Index; in computeInitialLiveRanges()
411 for (auto &I : LastDef) in computeInitialLiveRanges()
H A DHexagonCopyToCombine.cpp397 DenseMap<unsigned, MachineInstr *> LastDef; in findPotentialNewifiableTFRs() local
415 MachineInstr *DefInst = LastDef[Reg]; in findPotentialNewifiableTFRs()
449 LastDef[*SubRegs] = &MI; in findPotentialNewifiableTFRs()
451 LastDef[Reg] = &MI; in findPotentialNewifiableTFRs()
455 LastDef[Reg] = &MI; in findPotentialNewifiableTFRs()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DMachinePipeliner.h330 void updateInstruction(MachineInstr *NewMI, bool LastDef,