Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLiveVariables.cpp196 MachineInstr *LastDef = nullptr; in FindLastPartialDef() local
205 LastDef = Def; in FindLastPartialDef()
210 if (!LastDef) in FindLastPartialDef()
214 for (unsigned i = 0, e = LastDef->getNumOperands(); i != e; ++i) { in FindLastPartialDef()
215 MachineOperand &MO = LastDef->getOperand(i); in FindLastPartialDef()
225 return LastDef; in FindLastPartialDef()
232 MachineInstr *LastDef = PhysRegDef[Reg]; in HandlePhysRegUse() local
234 if (!LastDef && !PhysRegUse[Reg]) { in HandlePhysRegUse()
267 } else if (LastDef && !PhysRegUse[Reg] && in HandlePhysRegUse()
268 !LastDef->findRegisterDefOperand(Reg)) in HandlePhysRegUse()
[all …]
DTwoAddressInstructionPass.cpp131 bool noUseAfterLastDef(unsigned Reg, unsigned Dist, unsigned &LastDef);
385 unsigned &LastDef) { in noUseAfterLastDef() argument
386 LastDef = 0; in noUseAfterLastDef()
397 if (MO.isDef() && DI->second > LastDef) in noUseAfterLastDef()
398 LastDef = DI->second; in noUseAfterLastDef()
401 return !(LastUse > LastDef && LastUse < Dist); in noUseAfterLastDef()
DModuloSchedule.cpp1022 bool LastDef, in updateInstruction() argument
1037 if (LastDef) in updateInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
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()
DHexagonCopyToCombine.cpp396 DenseMap<unsigned, MachineInstr *> LastDef; in findPotentialNewifiableTFRs() local
414 MachineInstr *DefInst = LastDef[Reg]; in findPotentialNewifiableTFRs()
448 LastDef[*SubRegs] = &MI; in findPotentialNewifiableTFRs()
450 LastDef[Reg] = &MI; in findPotentialNewifiableTFRs()
454 LastDef[Reg] = &MI; in findPotentialNewifiableTFRs()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceTargetLowering.cpp557 Inst *LastDef = nullptr; in postRegallocSplitting() member
585 Info.LastDef = Instr; in postRegallocSplitting()
594 if (!Info.FirstUse && !Info.LastDef) { in postRegallocSplitting()
654 assert(Info.FirstUse != Info.LastDef); in postRegallocSplitting()
655 assert(Info.FirstUse || Info.LastDef); in postRegallocSplitting()
663 if (Info.LastDef != nullptr) { in postRegallocSplitting()
666 Node->getInsts().insertAfter(instToIterator(Info.LastDef), NewInst); in postRegallocSplitting()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DModuloSchedule.h211 void updateInstruction(MachineInstr *NewMI, bool LastDef,