reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
379 bool IsCopy = MI->isCopy(); 380 bool IsMoveImm = MI->isMoveImmediate(); 382 Register DefReg = MI->getOperand(0).getReg(); 383 Register SrcReg = IsCopy ? MI->getOperand(1).getReg() : Register(); 384 int64_t SrcImm = IsMoveImm ? MI->getOperand(1).getImm() : 0; 406 if (any_of(MI->implicit_operands(), [CmpReg](MachineOperand &O) { 414 LLVM_DEBUG(dbgs() << "Remove redundant Copy : " << *MI); 416 LLVM_DEBUG(dbgs() << "Remove redundant Move : " << *MI); 418 MI->eraseFromParent(); 435 if (MI->modifiesRegister(KnownRegs[RI].Reg, TRI)) {