Lines Matching refs:CurInst
308 MachineBasicBlock::iterator CurInst;
311 CurInst = I;
313 Found = getPreviousInstr(CurInst, MBB);
314 while (Found && I != CurInst) {
315 if (CurInst->isCall() || CurInst->isInlineAsm())
319 if (usesRegister(p, CurInst) == RU_Write) {
320 return CurInst;
322 InstrDistance += TSM.computeInstrLatency(&*CurInst);
323 Found = getPreviousInstr(CurInst, MBB);
402 MachineBasicBlock::iterator CurInst = std::next(I);
409 while (CurInst != MBB.end()) {
410 if (CurInst->isCall() || CurInst->isInlineAsm())
416 for (unsigned I = 0, E = CurInst->getNumOperands(); I != E; ++I) {
417 MachineOperand &Opnd = CurInst->getOperand(I);
423 unsigned AluOpcode = CurInst->getOpcode();
427 MachineOperand &Opnd2 = CurInst->getOperand(3 - I);
428 MachineOperand AluDest = CurInst->getOperand(0);
435 if (!CurInst->registerDefIsDead(X86::EFLAGS, TRI))
438 return CurInst;
446 ++CurInst;
462 for (MachineInstr &CurInst : llvm::make_range(std::next(LeaI), AluI)) {
463 for (MachineOperand &Opnd : CurInst.operands()) {