Searched refs:LastDef (Results 1 – 9 of 9) sorted by relevance
/openbsd/gnu/llvm/llvm/lib/CodeGen/ |
H A D | LiveVariables.cpp | 193 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 D | ReachingDefAnalysis.cpp | 253 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 D | TwoAddressInstructionPass.cpp | 123 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 D | ModuloSchedule.cpp | 1029 bool LastDef, in updateInstruction() argument 1043 if (LastDef) in updateInstruction()
|
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/ |
H A D | HexagonBlockRanges.cpp | 292 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 D | HexagonCopyToCombine.cpp | 391 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()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/ |
H A D | MemCpyOptimizer.cpp | 744 auto *LastDef = in processStoreOfLoad() local 746 auto *NewAccess = MSSAU->createMemoryAccessAfter(M, LastDef, LastDef); in processStoreOfLoad() 1232 auto *LastDef = cast<MemoryDef>(MSSAU->getMemorySSA()->getMemoryAccess(M)); in processMemCpyMemCpyDependence() local 1233 auto *NewAccess = MSSAU->createMemoryAccessAfter(NewM, LastDef, LastDef); in processMemCpyMemCpyDependence() 1329 auto *LastDef = in processMemSetMemCpyDependence() local 1332 NewMemSet, LastDef->getDefiningAccess(), LastDef); in processMemSetMemCpyDependence() 1435 auto *LastDef = in performMemCpyToMemSetOptzn() local 1437 auto *NewAccess = MSSAU->createMemoryAccessAfter(NewM, LastDef, LastDef); in performMemCpyToMemSetOptzn() 1467 auto *LastDef = in processMemCpy() local 1470 MSSAU->createMemoryAccessAfter(NewM, LastDef, LastDef); in processMemCpy()
|
H A D | DeadStoreElimination.cpp | 1867 auto *LastDef = in tryFoldIntoCalloc() local 1870 Updater.createMemoryAccessAfter(cast<Instruction>(Calloc), LastDef, in tryFoldIntoCalloc() 1871 LastDef); in tryFoldIntoCalloc()
|
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/ |
H A D | ModuloSchedule.h | 220 void updateInstruction(MachineInstr *NewMI, bool LastDef,
|