Searched refs:LastDef (Results 1 – 8 of 8) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | LiveVariables.cpp | 193 MachineInstr *LastDef = nullptr; in FindLastPartialDef() local 201 LastDef = Def; in FindLastPartialDef() 206 if (!LastDef) in FindLastPartialDef() 219 return LastDef; in FindLastPartialDef() 226 MachineInstr *LastDef = PhysRegDef[Reg]; in HandlePhysRegUse() local 228 if (!LastDef && !PhysRegUse[Reg]) { in HandlePhysRegUse() 274 MachineInstr *LastDef = PhysRegDef[Reg]; in FindLastRefOrPartRef() local 276 if (!LastDef && !LastUse) in FindLastRefOrPartRef() 284 if (Def && Def != LastDef) { in FindLastRefOrPartRef() 305 if (!LastDef && !LastUse) in HandlePhysRegKill() [all …]
|
| H A D | ReachingDefAnalysis.cpp | 252 int LastDef = ReachingDefDefaultVal; in traverse() local 254 assert(Def > LastDef && "Defs must be sorted and unique"); in traverse() 255 LastDef = Def; in traverse()
|
| H A D | TwoAddressInstructionPass.cpp | 123 bool noUseAfterLastDef(Register Reg, unsigned Dist, unsigned &LastDef); 267 unsigned &LastDef) { in noUseAfterLastDef() argument 268 LastDef = 0; in noUseAfterLastDef() 279 if (MO.isDef() && DI->second > LastDef) in noUseAfterLastDef() 280 LastDef = DI->second; in noUseAfterLastDef() 283 return !(LastUse > LastDef && LastUse < Dist); in noUseAfterLastDef()
|
| H A D | ModuloSchedule.cpp | 1024 bool LastDef, in updateInstruction() argument 1038 if (LastDef) in updateInstruction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonBlockRanges.cpp | 291 std::map<RegisterRef,IndexType> LastDef, LastUse; in computeInitialLiveRanges() local 300 LastDef[R] = IndexType::Entry; in computeInitialLiveRanges() 302 auto closeRange = [&LastUse,&LastDef,&LiveMap] (RegisterRef R) -> void { in computeInitialLiveRanges() 303 auto LD = LastDef[R], LU = LastUse[R]; in computeInitialLiveRanges() 309 LastUse[R] = LastDef[R] = IndexType::None; in computeInitialLiveRanges() 377 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) in computeInitialLiveRanges() 379 LastDef[S] = Index; in computeInitialLiveRanges() 385 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) in computeInitialLiveRanges() 388 LastDef[S] = LastUse[S] = Index; in computeInitialLiveRanges() 407 for (auto &I : LastDef) in computeInitialLiveRanges()
|
| H A D | HexagonCopyToCombine.cpp | 391 DenseMap<unsigned, MachineInstr *> LastDef; in findPotentialNewifiableTFRs() local 406 MachineInstr *DefInst = LastDef[Reg]; in findPotentialNewifiableTFRs() 440 LastDef[SubReg] = &MI; in findPotentialNewifiableTFRs() 442 LastDef[Reg] = &MI; in findPotentialNewifiableTFRs() 446 LastDef[Reg] = &MI; in findPotentialNewifiableTFRs()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | MemCpyOptimizer.cpp | 697 auto *LastDef = in processStoreOfLoad() local 699 auto *NewAccess = MSSAU->createMemoryAccessAfter(M, nullptr, LastDef); in processStoreOfLoad() 1202 auto *LastDef = cast<MemoryDef>(MSSAU->getMemorySSA()->getMemoryAccess(M)); in processMemCpyMemCpyDependence() local 1203 auto *NewAccess = MSSAU->createMemoryAccessAfter(NewM, nullptr, LastDef); in processMemCpyMemCpyDependence() 1308 auto *LastDef = in processMemSetMemCpyDependence() local 1311 NewMemSet, nullptr, LastDef); in processMemSetMemCpyDependence() 1414 auto *LastDef = in performMemCpyToMemSetOptzn() local 1416 auto *NewAccess = MSSAU->createMemoryAccessAfter(NewM, nullptr, LastDef); in performMemCpyToMemSetOptzn() 1688 auto *LastDef = cast<MemoryDef>(MA); in processMemCpy() local 1690 MSSAU->createMemoryAccessAfter(NewM, nullptr, LastDef); in processMemCpy()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | ModuloSchedule.h | 221 void updateInstruction(MachineInstr *NewMI, bool LastDef,
|