Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DLiveVariables.cpp194 MachineInstr *LastDef = nullptr; in FindLastPartialDef() local
203 LastDef = Def; in FindLastPartialDef()
208 if (!LastDef) in FindLastPartialDef()
212 for (unsigned i = 0, e = LastDef->getNumOperands(); i != e; ++i) { in FindLastPartialDef()
213 MachineOperand &MO = LastDef->getOperand(i); in FindLastPartialDef()
223 return LastDef; in FindLastPartialDef()
230 MachineInstr *LastDef = PhysRegDef[Reg]; in HandlePhysRegUse() local
232 if (!LastDef && !PhysRegUse[Reg]) { in HandlePhysRegUse()
265 } else if (LastDef && !PhysRegUse[Reg] && in HandlePhysRegUse()
266 !LastDef->findRegisterDefOperand(Reg)) in HandlePhysRegUse()
[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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp728 auto *LastDef = in processStore() local
731 MSSAU->createMemoryAccessAfter(M, LastDef, LastDef); in processStore()
827 auto *LastDef = in processStore() local
829 auto *NewAccess = MSSAU->createMemoryAccessAfter(M, LastDef, LastDef); in processStore()
1119 auto *LastDef = cast<MemoryDef>(MSSAU->getMemorySSA()->getMemoryAccess(M)); in processMemCpyMemCpyDependence() local
1120 auto *NewAccess = MSSAU->createMemoryAccessAfter(NewM, LastDef, LastDef); in processMemCpyMemCpyDependence()
1228 auto *LastDef = in processMemSetMemCpyDependence() local
1231 NewMemSet, LastDef->getDefiningAccess(), LastDef); in processMemSetMemCpyDependence()
1356 auto *LastDef = in performMemCpyToMemSetOptzn() local
1358 auto *NewAccess = MSSAU->createMemoryAccessAfter(NewM, LastDef, LastDef); in performMemCpyToMemSetOptzn()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DModuloSchedule.h217 void updateInstruction(MachineInstr *NewMI, bool LastDef,