Lines Matching refs:CmpInstr
4920 optimizeCompareInstr(MachineInstr *CmpInstr, unsigned SrcReg, unsigned SrcReg2, in optimizeCompareInstr() argument
4925 switch (CmpInstr->getOpcode()) { in optimizeCompareInstr()
4942 if (!MRI->use_nodbg_empty(CmpInstr->getOperand(0).getReg())) in optimizeCompareInstr()
4945 switch (CmpInstr->getOpcode()) { in optimizeCompareInstr()
4963 CmpInstr->setDesc(get(NewOpcode)); in optimizeCompareInstr()
4964 CmpInstr->RemoveOperand(0); in optimizeCompareInstr()
4977 MachineBasicBlock::iterator I = CmpInstr, Def = MI; in optimizeCompareInstr()
4982 if (IsCmpZero && MI->getParent() != CmpInstr->getParent()) in optimizeCompareInstr()
5023 RE = CmpInstr->getParent() == MI->getParent() ? in optimizeCompareInstr()
5025 CmpInstr->getParent()->rend(); in optimizeCompareInstr()
5031 isRedundantFlagInstr(CmpInstr, SrcReg, SrcReg2, CmpValue, Instr)) { in optimizeCompareInstr()
5067 MachineBasicBlock::iterator E = CmpInstr->getParent()->end(); in optimizeCompareInstr()
5158 MachineBasicBlock *MBB = CmpInstr->getParent(); in optimizeCompareInstr()
5199 CmpInstr->eraseFromParent(); in optimizeCompareInstr()