Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveVariables.cpp194 MachineInstr *LastDef = nullptr; in FindLastPartialDef() local
203 LastDef = Def; in FindLastPartialDef()
208 if (!LastDef) in FindLastPartialDef()
223 return LastDef; in FindLastPartialDef()
230 MachineInstr *LastDef = PhysRegDef[Reg]; in HandlePhysRegUse() local
232 if (!LastDef && !PhysRegUse[Reg]) { in HandlePhysRegUse()
280 MachineInstr *LastDef = PhysRegDef[Reg]; in FindLastRefOrPartRef() local
282 if (!LastDef && !LastUse) in FindLastRefOrPartRef()
291 if (Def && Def != LastDef) { in FindLastRefOrPartRef()
312 if (!LastDef && !LastUse) in HandlePhysRegKill()
[all …]
H A DTwoAddressInstructionPass.cpp123 bool noUseAfterLastDef(Register Reg, unsigned Dist, unsigned &LastDef);
245 unsigned &LastDef) { in noUseAfterLastDef() argument
246 LastDef = 0; in noUseAfterLastDef()
257 if (MO.isDef() && DI->second > LastDef) in noUseAfterLastDef()
258 LastDef = DI->second; in noUseAfterLastDef()
261 return !(LastUse > LastDef && LastUse < Dist); in noUseAfterLastDef()
H A DReachingDefAnalysis.cpp247 int LastDef = ReachingDefDefaultVal; in traverse() local
249 assert(Def > LastDef && "Defs must be sorted and unique"); in traverse()
250 LastDef = Def; in traverse()
H A DModuloSchedule.cpp1026 bool LastDef, in updateInstruction() argument
1041 if (LastDef) in updateInstruction()
/freebsd-13.1/contrib/llvm-project/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.cpp398 DenseMap<unsigned, MachineInstr *> LastDef; in findPotentialNewifiableTFRs() local
416 MachineInstr *DefInst = LastDef[Reg]; in findPotentialNewifiableTFRs()
450 LastDef[*SubRegs] = &MI; in findPotentialNewifiableTFRs()
452 LastDef[Reg] = &MI; in findPotentialNewifiableTFRs()
456 LastDef[Reg] = &MI; in findPotentialNewifiableTFRs()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp737 auto *LastDef = in processStore() local
740 MSSAU->createMemoryAccessAfter(M, LastDef, LastDef); in processStore()
836 auto *LastDef = in processStore() local
838 auto *NewAccess = MSSAU->createMemoryAccessAfter(M, LastDef, LastDef); in processStore()
1140 auto *NewAccess = MSSAU->createMemoryAccessAfter(NewM, LastDef, LastDef); in processMemCpyMemCpyDependence()
1251 auto *LastDef = in processMemSetMemCpyDependence() local
1254 NewMemSet, LastDef->getDefiningAccess(), LastDef); in processMemSetMemCpyDependence()
1379 auto *LastDef = in performMemCpyToMemSetOptzn() local
1381 auto *NewAccess = MSSAU->createMemoryAccessAfter(NewM, LastDef, LastDef); in performMemCpyToMemSetOptzn()
1414 auto *LastDef = in processMemCpy() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DModuloSchedule.h217 void updateInstruction(MachineInstr *NewMI, bool LastDef,