/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
HexagonBlockRanges.cpp | 293 std::map<RegisterRef,IndexType> LastDef, LastUse; 304 auto closeRange = [&LastUse,&LastDef,&LiveMap] (RegisterRef R) -> void { 305 auto LD = LastDef[R], LU = LastUse[R]; 311 LastUse[R] = LastDef[R] = IndexType::None; 329 LastUse[S] = Index; 380 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) 389 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) 392 LastDef[S] = LastUse[S] = Index; 404 LastUse[R] = IndexType::Exit; 408 for (auto &I : LastUse) [all...] |
/external/llvm/lib/CodeGen/ |
RegAllocFast.cpp | 70 MachineInstr *LastUse; // Last instr to use reg. 73 unsigned short LastOpNum; // OpNum on LastUse. 77 : LastUse(nullptr), VirtReg(v), PhysReg(0), LastOpNum(0), Dirty(false){} 238 if (!LR.LastUse) return; 239 MachineOperand &MO = LR.LastUse->getOperand(LR.LastOpNum); 240 if (MO.isUse() && !LR.LastUse->isRegTiedToDefOperand(LR.LastOpNum)) { 244 LR.LastUse->addRegisterKilled(LR.PhysReg, TRI, true); 287 bool SpillKill = MachineBasicBlock::iterator(LR.LastUse) != MI; 326 LR.LastUse = nullptr; // Don't kill register again 617 } else if (LRI->LastUse) { [all...] |
LiveVariables.cpp | 283 MachineInstr *LastUse = PhysRegUse[Reg]; 284 if (!LastDef && !LastUse) 287 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; 313 MachineInstr *LastUse = PhysRegUse[Reg]; 314 if (!LastDef && !LastUse) 317 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef;
|
TwoAddressInstructionPass.cpp | 359 unsigned LastUse = Dist; 367 if (MO.isUse() && DI->second < LastUse) 368 LastUse = DI->second; 373 return !(LastUse > LastDef && LastUse < Dist); [all...] |
LiveIntervalAnalysis.cpp | [all...] |
SplitKit.cpp | [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
RegAllocFast.cpp | 73 MachineInstr *LastUse; // Last instr to use reg. 75 unsigned short LastOpNum; // OpNum on LastUse. 78 LiveReg(unsigned p=0) : LastUse(0), PhysReg(p), LastOpNum(0), 213 if (!LR.LastUse) return; 214 MachineOperand &MO = LR.LastUse->getOperand(LR.LastOpNum); 215 if (MO.isUse() && !LR.LastUse->isRegTiedToDefOperand(LR.LastOpNum)) { 219 LR.LastUse->addRegisterKilled(LR.PhysReg, TRI, true); 262 bool SpillKill = LR.LastUse != MI; 302 LR.LastUse = 0; // Don't kill register again 559 } else if (LR.LastUse) { [all...] |
LiveVariables.cpp | 282 MachineInstr *LastUse = PhysRegUse[Reg]; 283 if (!LastDef && !LastUse) 286 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; 312 MachineInstr *LastUse = PhysRegUse[Reg]; 313 if (!LastDef && !LastUse) 316 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef;
|
TwoAddressInstructionPass.cpp | 345 unsigned LastUse = Dist; 355 if (MO.isUse() && DI->second < LastUse) 356 LastUse = DI->second; 361 return !(LastUse > LastDef && LastUse < Dist); 368 MachineInstr *LastUse = 0; 382 LastUse = DI->first; 386 return LastUse; [all...] |
StrongPHIElimination.cpp | 390 MachineOperand *LastUse = findLastUse(MBB, SrcReg); 391 assert(LastUse); 392 SlotIndex LastUseIndex = LI->getInstructionIndex(LastUse->getParent()); 394 LastUse->setIsKill(true); [all...] |
SplitKit.cpp | [all...] |
LiveIntervalAnalysis.cpp | [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonBlockRanges.cpp | 285 std::map<RegisterRef,IndexType> LastDef, LastUse; 297 auto closeRange = [&LastUse,&LastDef,&LiveMap] (RegisterRef R) -> void { 298 auto LD = LastDef[R], LU = LastUse[R]; 304 LastUse[R] = LastDef[R] = IndexType::None; 320 LastUse[S] = Index; 333 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) 348 LastUse[R] = IndexType::Exit; 352 for (auto &I : LastUse)
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
RegAllocFast.cpp | 85 MachineInstr *LastUse = nullptr; ///< Last instr to use reg. 88 unsigned short LastOpNum = 0; ///< OpNum on LastUse. 266 if (!LR.LastUse) return; 267 MachineOperand &MO = LR.LastUse->getOperand(LR.LastOpNum); 268 if (MO.isUse() && !LR.LastUse->isRegTiedToDefOperand(LR.LastOpNum)) { 323 bool SpillKill = MachineBasicBlock::iterator(LR.LastUse) != MI; 351 LR.LastUse = nullptr; // Don't kill register again 631 } else if (LRI->LastUse) { 634 if (LRI->LastUse != &MI || LRI->LastUse->getOperand(LRI->LastOpNum).isUse() [all...] |
LiveVariables.cpp | 283 MachineInstr *LastUse = PhysRegUse[Reg]; 284 if (!LastDef && !LastUse) 287 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; 313 MachineInstr *LastUse = PhysRegUse[Reg]; 314 if (!LastDef && !LastUse) 317 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef;
|
TwoAddressInstructionPass.cpp | 388 unsigned LastUse = Dist; 396 if (MO.isUse() && DI->second < LastUse) 397 LastUse = DI->second; 402 return !(LastUse > LastDef && LastUse < Dist); [all...] |
LiveIntervals.cpp | [all...] |
SplitKit.cpp | [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
ObjCARC.cpp | [all...] |