/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | LiveVariables.cpp | 196 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 …]
|
D | TwoAddressInstructionPass.cpp | 132 bool noUseAfterLastDef(unsigned Reg, unsigned Dist, unsigned &LastDef); 386 unsigned &LastDef) { in noUseAfterLastDef() argument 387 LastDef = 0; in noUseAfterLastDef() 398 if (MO.isDef() && DI->second > LastDef) in noUseAfterLastDef() 399 LastDef = DI->second; in noUseAfterLastDef() 402 return !(LastUse > LastDef && LastUse < Dist); in noUseAfterLastDef()
|
D | MachinePipeliner.cpp | 436 void updateInstruction(MachineInstr *NewMI, bool LastDef, 3250 void SwingSchedulerDAG::updateInstruction(MachineInstr *NewMI, bool LastDef, in updateInstruction() argument 3266 if (LastDef) in updateInstruction()
|
/external/llvm/lib/CodeGen/ |
D | LiveVariables.cpp | 196 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 …]
|
D | TwoAddressInstructionPass.cpp | 107 bool noUseAfterLastDef(unsigned Reg, unsigned Dist, unsigned &LastDef); 357 unsigned &LastDef) { in noUseAfterLastDef() argument 358 LastDef = 0; in noUseAfterLastDef() 369 if (MO.isDef() && DI->second > LastDef) in noUseAfterLastDef() 370 LastDef = DI->second; in noUseAfterLastDef() 373 return !(LastUse > LastDef && LastUse < Dist); in noUseAfterLastDef()
|
D | MachinePipeliner.cpp | 398 void updateInstruction(MachineInstr *NewMI, bool LastDef, 3125 void SwingSchedulerDAG::updateInstruction(MachineInstr *NewMI, bool LastDef, in updateInstruction() argument 3141 if (LastDef) in updateInstruction()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | LiveVariables.cpp | 192 MachineInstr *LastDef = NULL; in FindLastPartialDef() local 201 LastDef = Def; in FindLastPartialDef() 206 if (!LastDef) in FindLastPartialDef() 210 for (unsigned i = 0, e = LastDef->getNumOperands(); i != e; ++i) { in FindLastPartialDef() 211 MachineOperand &MO = LastDef->getOperand(i); in FindLastPartialDef() 222 return LastDef; in FindLastPartialDef() 229 MachineInstr *LastDef = PhysRegDef[Reg]; in HandlePhysRegUse() local 231 if (!LastDef && !PhysRegUse[Reg]) { in HandlePhysRegUse() 265 else if (LastDef && !PhysRegUse[Reg] && in HandlePhysRegUse() 266 !LastDef->findRegisterDefOperand(Reg)) in HandlePhysRegUse() [all …]
|
D | TwoAddressInstructionPass.cpp | 95 unsigned &LastDef); 343 unsigned &LastDef) { in NoUseAfterLastDef() argument 344 LastDef = 0; in NoUseAfterLastDef() 357 if (MO.isDef() && DI->second > LastDef) in NoUseAfterLastDef() 358 LastDef = DI->second; in NoUseAfterLastDef() 361 return !(LastUse > LastDef && LastUse < Dist); in NoUseAfterLastDef()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonBlockRanges.cpp | 293 std::map<RegisterRef,IndexType> LastDef, LastUse; in computeInitialLiveRanges() local 302 LastDef[R] = IndexType::Entry; in computeInitialLiveRanges() 304 auto closeRange = [&LastUse,&LastDef,&LiveMap] (RegisterRef R) -> void { in computeInitialLiveRanges() 305 auto LD = LastDef[R], LU = LastUse[R]; in computeInitialLiveRanges() 311 LastUse[R] = LastDef[R] = IndexType::None; in computeInitialLiveRanges() 380 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) in computeInitialLiveRanges() 382 LastDef[S] = Index; in computeInitialLiveRanges() 389 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) in computeInitialLiveRanges() 392 LastDef[S] = LastUse[S] = Index; in computeInitialLiveRanges() 411 for (auto &I : LastDef) in computeInitialLiveRanges()
|
D | HexagonCopyToCombine.cpp | 397 DenseMap<unsigned, MachineInstr *> LastDef; in findPotentialNewifiableTFRs() local 415 MachineInstr *DefInst = LastDef[Reg]; in findPotentialNewifiableTFRs() 449 LastDef[*SubRegs] = &MI; in findPotentialNewifiableTFRs() 451 LastDef[Reg] = &MI; in findPotentialNewifiableTFRs() 455 LastDef[Reg] = &MI; in findPotentialNewifiableTFRs()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonBlockRanges.cpp | 285 std::map<RegisterRef,IndexType> LastDef, LastUse; in computeInitialLiveRanges() local 295 LastDef[R] = IndexType::Entry; in computeInitialLiveRanges() 297 auto closeRange = [&LastUse,&LastDef,&LiveMap] (RegisterRef R) -> void { in computeInitialLiveRanges() 298 auto LD = LastDef[R], LU = LastUse[R]; in computeInitialLiveRanges() 304 LastUse[R] = LastDef[R] = IndexType::None; in computeInitialLiveRanges() 333 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) in computeInitialLiveRanges() 335 LastDef[S] = Index; in computeInitialLiveRanges() 355 for (auto &I : LastDef) in computeInitialLiveRanges()
|
D | HexagonCopyToCombine.cpp | 382 DenseMap<unsigned, MachineInstr *> LastDef; in findPotentialNewifiableTFRs() local 400 MachineInstr *DefInst = LastDef[Reg]; in findPotentialNewifiableTFRs() 434 LastDef[*SubRegs] = &MI; in findPotentialNewifiableTFRs() 437 LastDef[Reg] = &MI; in findPotentialNewifiableTFRs()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceTargetLowering.cpp | 601 Inst *LastDef = nullptr; in postRegallocSplitting() member 629 Info.LastDef = Instr; in postRegallocSplitting() 638 if (!Info.FirstUse && !Info.LastDef) { in postRegallocSplitting() 698 assert(Info.FirstUse != Info.LastDef); in postRegallocSplitting() 699 assert(Info.FirstUse || Info.LastDef); in postRegallocSplitting() 707 if (Info.LastDef != nullptr) { in postRegallocSplitting() 710 Node->getInsts().insertAfter(instToIterator(Info.LastDef), NewInst); in postRegallocSplitting()
|