Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DLiveVariables.cpp193 MachineInstr *LastDef = nullptr; in FindLastPartialDef() local
202 LastDef = Def; in FindLastPartialDef()
207 if (!LastDef) in FindLastPartialDef()
222 return LastDef; in FindLastPartialDef()
229 MachineInstr *LastDef = PhysRegDef[Reg]; in HandlePhysRegUse() local
231 if (!LastDef && !PhysRegUse[Reg]) { in HandlePhysRegUse()
279 MachineInstr *LastDef = PhysRegDef[Reg]; in FindLastRefOrPartRef() local
281 if (!LastDef && !LastUse) in FindLastRefOrPartRef()
290 if (Def && Def != LastDef) { in FindLastRefOrPartRef()
311 if (!LastDef && !LastUse) in HandlePhysRegKill()
[all …]
H A DReachingDefAnalysis.cpp253 int LastDef = ReachingDefDefaultVal; in traverse() local
255 assert(Def > LastDef && "Defs must be sorted and unique"); in traverse()
256 LastDef = Def; in traverse()
H A DTwoAddressInstructionPass.cpp123 bool noUseAfterLastDef(Register Reg, unsigned Dist, unsigned &LastDef);
246 unsigned &LastDef) { in noUseAfterLastDef() argument
247 LastDef = 0; in noUseAfterLastDef()
258 if (MO.isDef() && DI->second > LastDef) in noUseAfterLastDef()
259 LastDef = DI->second; in noUseAfterLastDef()
262 return !(LastUse > LastDef && LastUse < Dist); in noUseAfterLastDef()
H A DModuloSchedule.cpp1008 bool LastDef, in updateInstruction() argument
1022 if (LastDef) in updateInstruction()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonBlockRanges.cpp292 std::map<RegisterRef,IndexType> LastDef, LastUse; in computeInitialLiveRanges() local
301 LastDef[R] = IndexType::Entry; in computeInitialLiveRanges()
303 auto closeRange = [&LastUse,&LastDef,&LiveMap] (RegisterRef R) -> void { in computeInitialLiveRanges()
304 auto LD = LastDef[R], LU = LastUse[R]; in computeInitialLiveRanges()
310 LastUse[R] = LastDef[R] = IndexType::None; in computeInitialLiveRanges()
379 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) in computeInitialLiveRanges()
381 LastDef[S] = Index; in computeInitialLiveRanges()
388 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) in computeInitialLiveRanges()
391 LastDef[S] = LastUse[S] = Index; in computeInitialLiveRanges()
410 for (auto &I : LastDef) in computeInitialLiveRanges()
H A DHexagonCopyToCombine.cpp391 DenseMap<unsigned, MachineInstr *> LastDef; in findPotentialNewifiableTFRs() local
406 MachineInstr *DefInst = LastDef[Reg]; in findPotentialNewifiableTFRs()
440 LastDef[*SubRegs] = &MI; in findPotentialNewifiableTFRs()
442 LastDef[Reg] = &MI; in findPotentialNewifiableTFRs()
446 LastDef[Reg] = &MI; in findPotentialNewifiableTFRs()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp745 auto *LastDef = in processStore() local
747 auto *NewAccess = MSSAU->createMemoryAccessAfter(M, LastDef, LastDef); in processStore()
1183 auto *LastDef = cast<MemoryDef>(MSSAU->getMemorySSA()->getMemoryAccess(M)); in processMemCpyMemCpyDependence() local
1184 auto *NewAccess = MSSAU->createMemoryAccessAfter(NewM, LastDef, LastDef); in processMemCpyMemCpyDependence()
1279 auto *LastDef = in processMemSetMemCpyDependence() local
1282 NewMemSet, LastDef->getDefiningAccess(), LastDef); in processMemSetMemCpyDependence()
1384 auto *LastDef = in performMemCpyToMemSetOptzn() local
1386 auto *NewAccess = MSSAU->createMemoryAccessAfter(NewM, LastDef, LastDef); in performMemCpyToMemSetOptzn()
1417 auto *LastDef = in processMemCpy() local
1420 MSSAU->createMemoryAccessAfter(NewM, LastDef, LastDef); in processMemCpy()
H A DDeadStoreElimination.cpp1784 auto *LastDef = in tryFoldIntoCalloc() local
1787 Updater.createMemoryAccessAfter(cast<Instruction>(Calloc), LastDef, in tryFoldIntoCalloc()
1788 LastDef); in tryFoldIntoCalloc()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DModuloSchedule.h218 void updateInstruction(MachineInstr *NewMI, bool LastDef,
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryFunction.cpp2558 const MCCFIInstruction &LastDef = in isRedundant() local
2560 return LastDef == Instr; in isRedundant()