Searched refs:LastDef (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | LiveVariables.cpp | 222 MachineInstr *LastDef = nullptr; in FindLastPartialDef() local 230 LastDef = Def; in FindLastPartialDef() 235 if (!LastDef) in FindLastPartialDef() 239 for (MachineOperand &MO : LastDef->all_defs()) { in FindLastPartialDef() 246 return LastDef; in FindLastPartialDef() 253 MachineInstr *LastDef = PhysRegDef[Reg.id()]; in HandlePhysRegUse() local 255 if (!LastDef && !PhysRegUse[Reg.id()]) { in HandlePhysRegUse() 286 } else if (LastDef && !PhysRegUse[Reg.id()] && in HandlePhysRegUse() 287 !LastDef->findRegisterDefOperand(Reg, /*TRI=*/nullptr)) in HandlePhysRegUse() 289 LastDef->addOperand(MachineOperand::CreateReg(Reg, true/*IsDef*/, in HandlePhysRegUse() [all …]
|
| H A D | ReachingDefAnalysis.cpp | 325 int LastDef = ReachingDefDefaultVal; in traverse() local 327 assert(Def > LastDef && "Defs must be sorted and unique"); in traverse() 328 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 | 1049 bool LastDef, in updateInstruction() argument 1063 if (LastDef) in updateInstruction() 2706 bool LastDef) { in updateInstrDef() argument 2715 if (LastDef) in updateInstrDef()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonBlockRanges.cpp | 290 std::map<RegisterRef,IndexType> LastDef, LastUse; in computeInitialLiveRanges() local 299 LastDef[R] = IndexType::Entry; in computeInitialLiveRanges() 301 auto closeRange = [&LastUse,&LastDef,&LiveMap] (RegisterRef R) -> void { in computeInitialLiveRanges() 302 auto LD = LastDef[R], LU = LastUse[R]; in computeInitialLiveRanges() 308 LastUse[R] = LastDef[R] = IndexType::None; in computeInitialLiveRanges() 376 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) in computeInitialLiveRanges() 378 LastDef[S] = Index; in computeInitialLiveRanges() 384 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) in computeInitialLiveRanges() 387 LastDef[S] = LastUse[S] = Index; in computeInitialLiveRanges() 406 for (auto &I : LastDef) in computeInitialLiveRanges()
|
| H A D | HexagonCopyToCombine.cpp | 385 DenseMap<unsigned, MachineInstr *> LastDef; in findPotentialNewifiableTFRs() local 400 MachineInstr *DefInst = LastDef[Reg]; in findPotentialNewifiableTFRs() 434 LastDef[SubReg] = &MI; in findPotentialNewifiableTFRs() 436 LastDef[Reg] = &MI; in findPotentialNewifiableTFRs() 440 LastDef[Reg] = &MI; in findPotentialNewifiableTFRs()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | MemCpyOptimizer.cpp | 687 auto *LastDef = cast<MemoryDef>(MSSA->getMemoryAccess(SI)); in processStoreOfLoad() local 688 auto *NewAccess = MSSAU->createMemoryAccessAfter(M, nullptr, LastDef); in processStoreOfLoad() 1264 auto *LastDef = cast<MemoryDef>(MSSA->getMemoryAccess(M)); in processMemCpyMemCpyDependence() local 1265 auto *NewAccess = MSSAU->createMemoryAccessAfter(NewM, nullptr, LastDef); in processMemCpyMemCpyDependence() 1378 auto *LastDef = cast<MemoryDef>(MSSA->getMemoryAccess(MemCpy)); in processMemSetMemCpyDependence() local 1380 MSSAU->createMemoryAccessBefore(NewMemSet, nullptr, LastDef); in processMemSetMemCpyDependence() 1503 auto *LastDef = cast<MemoryDef>(MSSA->getMemoryAccess(MemCpy)); in performMemCpyToMemSetOptzn() local 1504 auto *NewAccess = MSSAU->createMemoryAccessAfter(NewM, nullptr, LastDef); in performMemCpyToMemSetOptzn() 1775 auto *LastDef = cast<MemoryDef>(MA); in processMemCpy() local 1777 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);
|