Home
last modified time | relevance | path

Searched refs:NextMI (Results 1 – 22 of 22) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DGCNRegPressure.cpp359 NextMI = &MI; in reset()
360 NextMI = skipDebugInstructionsForward(NextMI, MBBEnd); in reset()
361 if (NextMI == MBBEnd) in reset()
363 GCNRPTracker::reset(*NextMI, LiveRegsCopy, false); in reset()
370 NextMI = skipDebugInstructionsForward(NextMI, MBBEnd); in advanceBeforeNext()
371 if (NextMI == MBBEnd) in advanceBeforeNext()
374 SlotIndex SI = LIS.getInstructionIndex(*NextMI).getBaseIndex(); in advanceBeforeNext()
403 LastTrackedMI = &*NextMI++; in advanceToNext()
423 if ((NextMI == MBBEnd) || (LastTrackedMI && !advanceBeforeNext())) in advance()
430 while (NextMI != End) in advance()
DSIShrinkInstructions.cpp592 if (auto *NextMI = matchSwap(MI, MRI, TII)) { in runOnMachineFunction() local
593 Next = NextMI->getIterator(); in runOnMachineFunction()
611 MachineInstr &NextMI = *Next; in runOnMachineFunction() local
616 uint8_t Nop1 = NextMI.getOperand(0).getImm() + 1; in runOnMachineFunction()
620 NextMI.getOperand(0).setImm(Nop0 + Nop1 - 1); in runOnMachineFunction()
DGCNRegPressure.h154 MachineBasicBlock::const_iterator NextMI; variable
161 const MachineBasicBlock::const_iterator getNext() const { return NextMI; } in getNext()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DGCNRegPressure.cpp361 NextMI = &MI; in reset()
362 NextMI = skipDebugInstructionsForward(NextMI, MBBEnd); in reset()
363 if (NextMI == MBBEnd) in reset()
365 GCNRPTracker::reset(*NextMI, LiveRegsCopy, false); in reset()
372 NextMI = skipDebugInstructionsForward(NextMI, MBBEnd); in advanceBeforeNext()
373 if (NextMI == MBBEnd) in advanceBeforeNext()
376 SlotIndex SI = LIS.getInstructionIndex(*NextMI).getBaseIndex(); in advanceBeforeNext()
405 LastTrackedMI = &*NextMI++; in advanceToNext()
425 if ((NextMI == MBBEnd) || (LastTrackedMI && !advanceBeforeNext())) in advance()
432 while (NextMI != End) in advance()
DGCNRegPressure.h162 MachineBasicBlock::const_iterator NextMI; variable
169 const MachineBasicBlock::const_iterator getNext() const { return NextMI; } in getNext()
DSIShrinkInstructions.cpp643 if (auto *NextMI = matchSwap(MI, MRI, TII)) { in runOnMachineFunction() local
644 Next = NextMI->getIterator(); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DStackSlotColoring.cpp443 MachineBasicBlock::iterator NextMI = std::next(I); in RemoveDeadStores() local
453 while ((NextMI != E) && NextMI->isDebugInstr()) { in RemoveDeadStores()
454 ++NextMI; in RemoveDeadStores()
457 if (NextMI == E) continue; in RemoveDeadStores()
458 if (!(StoreReg = TII->isStoreToStackSlot(*NextMI, SecondSS, StoreSize))) in RemoveDeadStores()
467 if (NextMI->findRegisterUseOperandIdx(LoadReg, true, nullptr) != -1) { in RemoveDeadStores()
472 toErase.push_back(&*NextMI); in RemoveDeadStores()
DSlotIndexes.cpp147 MachineInstr &NextMI = *Next; in removeSingleMachineInstrFromMaps() local
148 MIEntry.setInstr(&NextMI); in removeSingleMachineInstrFromMaps()
149 mi2iMap.insert(std::make_pair(&NextMI, MIIndex)); in removeSingleMachineInstrFromMaps()
/external/llvm-project/llvm/lib/CodeGen/
DStackSlotColoring.cpp444 MachineBasicBlock::iterator NextMI = std::next(I); in RemoveDeadStores() local
454 while ((NextMI != E) && NextMI->isDebugInstr()) { in RemoveDeadStores()
455 ++NextMI; in RemoveDeadStores()
458 if (NextMI == E) continue; in RemoveDeadStores()
459 if (!(StoreReg = TII->isStoreToStackSlot(*NextMI, SecondSS, StoreSize))) in RemoveDeadStores()
468 if (NextMI->findRegisterUseOperandIdx(LoadReg, true, nullptr) != -1) { in RemoveDeadStores()
473 toErase.push_back(&*NextMI); in RemoveDeadStores()
DSlotIndexes.cpp148 MachineInstr &NextMI = *Next; in removeSingleMachineInstrFromMaps() local
149 MIEntry.setInstr(&NextMI); in removeSingleMachineInstrFromMaps()
150 mi2iMap.insert(std::make_pair(&NextMI, MIIndex)); in removeSingleMachineInstrFromMaps()
/external/llvm/lib/CodeGen/
DStackSlotColoring.cpp394 MachineBasicBlock::iterator NextMI = std::next(I); in RemoveDeadStores() local
395 if (NextMI == MBB->end()) continue; in RemoveDeadStores()
401 if (!(StoreReg = TII->isStoreToStackSlot(*NextMI, SecondSS))) in RemoveDeadStores()
408 if (NextMI->findRegisterUseOperandIdx(LoadReg, true, nullptr) != -1) { in RemoveDeadStores()
413 toErase.push_back(&*NextMI); in RemoveDeadStores()
/external/llvm/lib/Target/ARM/
DMLxExpansionPass.cpp252 MachineInstr *NextMI = LastMIs[Idx]; in FindMLxHazard() local
253 if (!NextMI) in FindMLxHazard()
256 if (TII->canCauseFpMLxStall(NextMI->getOpcode())) { in FindMLxHazard()
262 if (i <= Limit2 && hasRAWHazard(getDefReg(MI), NextMI)) in FindMLxHazard()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DMLxExpansionPass.cpp249 MachineInstr *NextMI = LastMIs[Idx]; in FindMLxHazard() local
250 if (!NextMI) in FindMLxHazard()
253 if (TII->canCauseFpMLxStall(NextMI->getOpcode())) { in FindMLxHazard()
259 if (i <= Limit2 && hasRAWHazard(getDefReg(MI), NextMI)) in FindMLxHazard()
/external/llvm-project/llvm/lib/Target/ARM/
DMLxExpansionPass.cpp249 MachineInstr *NextMI = LastMIs[Idx]; in FindMLxHazard() local
250 if (!NextMI) in FindMLxHazard()
253 if (TII->canCauseFpMLxStall(NextMI->getOpcode())) { in FindMLxHazard()
259 if (i <= Limit2 && hasRAWHazard(getDefReg(MI), NextMI)) in FindMLxHazard()
/external/llvm/lib/Target/AMDGPU/
DSIShrinkInstructions.cpp252 MachineInstr &NextMI = *Next; in runOnMachineFunction() local
257 uint8_t Nop1 = NextMI.getOperand(0).getImm() + 1; in runOnMachineFunction()
261 NextMI.getOperand(0).setImm(Nop0 + Nop1 - 1); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRFrameLowering.cpp313 MachineBasicBlock::iterator NextMI = std::next(I); in fixStackStores() local
319 I = NextMI; in fixStackStores()
345 I = NextMI; in fixStackStores()
357 I = NextMI; in fixStackStores()
/external/llvm-project/llvm/lib/Target/AVR/
DAVRFrameLowering.cpp303 MachineBasicBlock::iterator NextMI = std::next(I); in fixStackStores() local
309 I = NextMI; in fixStackStores()
324 I = NextMI; in fixStackStores()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonVLIWPacketizer.cpp1358 MachineInstr &NextMI = *NextMII; in isLegalToPacketizeTogether() local
1361 const MachineOperand &NOp0 = NextMI.getOperand(0); in isLegalToPacketizeTogether()
1362 const MachineOperand &NOp1 = NextMI.getOperand(1); in isLegalToPacketizeTogether()
1795 MachineBasicBlock::instr_iterator NextMI = std::next(MI->getIterator()); in endPacket() local
1796 for (auto &I : make_range(HII->expandVGatherPseudo(*MI), NextMI)) in endPacket()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonVLIWPacketizer.cpp1351 MachineInstr &NextMI = *NextMII; in isLegalToPacketizeTogether() local
1354 const MachineOperand &NOp0 = NextMI.getOperand(0); in isLegalToPacketizeTogether()
1355 const MachineOperand &NOp1 = NextMI.getOperand(1); in isLegalToPacketizeTogether()
1788 MachineBasicBlock::instr_iterator NextMI = std::next(MI->getIterator()); in endPacket() local
1789 for (auto &I : make_range(HII->expandVGatherPseudo(*MI), NextMI)) in endPacket()
/external/llvm/lib/Target/Hexagon/
DHexagonVLIWPacketizer.cpp1168 MachineInstr &NextMI = *NextMII; in isLegalToPacketizeTogether() local
1171 const MachineOperand &NOp0 = NextMI.getOperand(0); in isLegalToPacketizeTogether()
1172 const MachineOperand &NOp1 = NextMI.getOperand(1); in isLegalToPacketizeTogether()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp2925 for (const auto &NextMI : *MI->getParent()) { in beginInstruction()
2926 if (NextMI.isDebugInstr()) in beginInstruction()
2928 DL = NextMI.getDebugLoc(); in beginInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp2895 for (const auto &NextMI : *MI->getParent()) { in beginInstruction()
2896 if (NextMI.isDebugInstr()) in beginInstruction()
2898 DL = NextMI.getDebugLoc(); in beginInstruction()