/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/llvm-project/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 | ReachingDefAnalysis.cpp | 246 int LastDef = ReachingDefDefaultVal; in traverse() local 248 assert(Def > LastDef && "Defs must be sorted and unique"); in traverse() 249 LastDef = Def; in traverse()
|
D | TwoAddressInstructionPass.cpp | 123 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()
|
D | ModuloSchedule.cpp | 1026 bool LastDef, in updateInstruction() argument 1041 if (LastDef) in updateInstruction()
|
/external/swiftshader/third_party/llvm-10.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 | 131 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()
|
D | ModuloSchedule.cpp | 1022 bool LastDef, in updateInstruction() argument 1037 if (LastDef) in updateInstruction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonBlockRanges.cpp | 292 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()
|
D | HexagonCopyToCombine.cpp | 396 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()
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonBlockRanges.cpp | 292 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()
|
D | HexagonCopyToCombine.cpp | 398 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()
|
/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/llvm-project/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 720 auto *LastDef = in processStore() local 723 MSSAU->createMemoryAccessAfter(M, LastDef, LastDef); in processStore() 819 auto *LastDef = in processStore() local 821 auto *NewAccess = MSSAU->createMemoryAccessAfter(M, LastDef, LastDef); in processStore() 1112 auto *LastDef = cast<MemoryDef>(MSSAU->getMemorySSA()->getMemoryAccess(M)); in processMemCpyMemCpyDependence() local 1113 auto *NewAccess = MSSAU->createMemoryAccessAfter(NewM, LastDef, LastDef); in processMemCpyMemCpyDependence() 1214 auto *LastDef = in processMemSetMemCpyDependence() local 1217 NewMemSet, LastDef->getDefiningAccess(), LastDef); in processMemSetMemCpyDependence() 1318 auto *LastDef = in performMemCpyToMemSetOptzn() local 1320 auto *NewAccess = MSSAU->createMemoryAccessAfter(NewM, LastDef, LastDef); in performMemCpyToMemSetOptzn() [all …]
|
/external/swiftshader/third_party/subzero/src/ |
D | IceTargetLowering.cpp | 588 Inst *LastDef = nullptr; in postRegallocSplitting() member 616 Info.LastDef = Instr; in postRegallocSplitting() 625 if (!Info.FirstUse && !Info.LastDef) { in postRegallocSplitting() 685 assert(Info.FirstUse != Info.LastDef); in postRegallocSplitting() 686 assert(Info.FirstUse || Info.LastDef); in postRegallocSplitting() 694 if (Info.LastDef != nullptr) { in postRegallocSplitting() 697 Node->getInsts().insertAfter(instToIterator(Info.LastDef), NewInst); in postRegallocSplitting()
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | ModuloSchedule.h | 217 void updateInstruction(MachineInstr *NewMI, bool LastDef,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | ModuloSchedule.h | 211 void updateInstruction(MachineInstr *NewMI, bool LastDef,
|