Searched refs:LastDef (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | LiveVariables.cpp | 223 MachineInstr *LastDef = nullptr; in FindLastPartialDef() local 231 LastDef = Def; in FindLastPartialDef() 236 if (!LastDef) in FindLastPartialDef() 240 for (MachineOperand &MO : LastDef->all_defs()) { in FindLastPartialDef() 249 return LastDef; in FindLastPartialDef() 256 MachineInstr *LastDef = PhysRegDef[Reg]; in HandlePhysRegUse() local 258 if (!LastDef && !PhysRegUse[Reg]) { in HandlePhysRegUse() 290 } else if (LastDef && !PhysRegUse[Reg] && in HandlePhysRegUse() 291 !LastDef->findRegisterDefOperand(Reg, /*TRI=*/nullptr)) in HandlePhysRegUse() 293 LastDef->addOperand(MachineOperand::CreateReg(Reg, true/*IsDef*/, in HandlePhysRegUse() [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 | 126 bool noUseAfterLastDef(Register Reg, unsigned Dist, unsigned &LastDef); 340 unsigned &LastDef) { in noUseAfterLastDef() argument 341 LastDef = 0; in noUseAfterLastDef() 352 if (MO.isDef() && DI->second > LastDef) in noUseAfterLastDef() 353 LastDef = DI->second; in noUseAfterLastDef() 356 return !(LastUse > LastDef && LastUse < Dist); in noUseAfterLastDef()
|
H A D | ModuloSchedule.cpp | 1031 bool LastDef, in updateInstruction() argument 1045 if (LastDef) in updateInstruction() 2669 bool LastDef) { in updateInstrDef() argument 2678 if (LastDef) in updateInstrDef()
|
/freebsd/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 | 392 DenseMap<unsigned, MachineInstr *> LastDef; in findPotentialNewifiableTFRs() local 407 MachineInstr *DefInst = LastDef[Reg]; in findPotentialNewifiableTFRs() 441 LastDef[SubReg] = &MI; in findPotentialNewifiableTFRs() 443 LastDef[Reg] = &MI; in findPotentialNewifiableTFRs() 447 LastDef[Reg] = &MI; in findPotentialNewifiableTFRs()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | MemCpyOptimizer.cpp | 700 auto *LastDef = in processStoreOfLoad() local 702 auto *NewAccess = MSSAU->createMemoryAccessAfter(M, nullptr, LastDef); in processStoreOfLoad() 1263 auto *LastDef = cast<MemoryDef>(MSSAU->getMemorySSA()->getMemoryAccess(M)); in processMemCpyMemCpyDependence() local 1264 auto *NewAccess = MSSAU->createMemoryAccessAfter(NewM, nullptr, LastDef); in processMemCpyMemCpyDependence() 1377 auto *LastDef = in processMemSetMemCpyDependence() local 1380 MSSAU->createMemoryAccessBefore(NewMemSet, nullptr, LastDef); in processMemSetMemCpyDependence() 1483 auto *LastDef = in performMemCpyToMemSetOptzn() local 1485 auto *NewAccess = MSSAU->createMemoryAccessAfter(NewM, nullptr, LastDef); in performMemCpyToMemSetOptzn() 1757 auto *LastDef = cast<MemoryDef>(MA); in processMemCpy() local 1759 MSSAU->createMemoryAccessAfter(NewM, nullptr, LastDef); in processMemCpy()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | ModuloSchedule.h | 221 void updateInstruction(MachineInstr *NewMI, bool LastDef, 420 void updateInstrDef(MachineInstr *NewMI, ValueMapTy &VRMap, bool LastDef);
|