Lines Matching refs:EFLAGS

977   bool ClobbersEFLAGS = Orig.modifiesRegister(X86::EFLAGS, &TRI);  in reMaterialize()
978 if (ClobbersEFLAGS && MBB.computeRegisterLiveness(&TRI, X86::EFLAGS, I) != in reMaterialize()
1013 if (MO.isReg() && MO.isDef() && MO.getReg() == X86::EFLAGS && in hasLiveCondCodeDef()
1129 if (Instr.modifiesRegister(X86::EFLAGS, TRI)) in findRedundantFlagInstr()
3812 if (I->findRegisterUseOperand(X86::EFLAGS, /*TRI=*/nullptr)->isUndef()) in analyzeBranchImpl()
3972 if (MI.modifiesRegister(X86::EFLAGS, TRI)) { in analyzeBranchPredicate()
3977 if (MI.readsRegister(X86::EFLAGS, TRI)) in analyzeBranchPredicate()
3986 if (Succ->isLiveIn(X86::EFLAGS)) in analyzeBranchPredicate()
4311 if (SrcReg == X86::EFLAGS || DestReg == X86::EFLAGS) { in copyPhysReg()
5322 if (Inst.modifiesRegister(X86::EFLAGS, TRI)) { in optimizeCompareInstr()
5355 Inst.registerDefIsDead(X86::EFLAGS, TRI)) { in optimizeCompareInstr()
5385 bool ModifyEFLAGS = Instr.modifiesRegister(X86::EFLAGS, TRI); in optimizeCompareInstr()
5386 bool UseEFLAGS = Instr.readsRegister(X86::EFLAGS, TRI); in optimizeCompareInstr()
5514 if (ModifyEFLAGS || Instr.killsRegister(X86::EFLAGS, TRI)) { in optimizeCompareInstr()
5525 if (Successor->isLiveIn(X86::EFLAGS)) in optimizeCompareInstr()
5544 if (!Instr->readsRegister(X86::EFLAGS, TRI) && in optimizeCompareInstr()
5545 Instr->modifiesRegister(X86::EFLAGS, TRI)) { in optimizeCompareInstr()
5558 Sub->findRegisterDefOperand(X86::EFLAGS, /*TRI=*/nullptr); in optimizeCompareInstr()
5573 if (!MBB->isLiveIn(X86::EFLAGS)) in optimizeCompareInstr()
5574 MBB->addLiveIn(X86::EFLAGS); in optimizeCompareInstr()
5754 TRI, X86::EFLAGS, UseMI) != MachineBasicBlock::LQR_Dead) in foldImmediateImpl()
5764 UseMI.addOperand(MachineOperand::CreateReg(X86::EFLAGS, /*isDef=*/true, in foldImmediateImpl()
5820 UseMI.registerDefIsDead(X86::EFLAGS, /*TRI=*/nullptr)) { in foldImmediateImpl()
5828 UseMI.findRegisterDefOperandIdx(X86::EFLAGS, /*TRI=*/nullptr)); in foldImmediateImpl()
6237 assert(NewMI->getOperand(2).getReg() == X86::EFLAGS && in expandPostRAPseudo()
9635 Inst.findRegisterDefOperand(X86::EFLAGS, /*TRI=*/nullptr); in hasReassociableOperands()
10158 OldMI1.findRegisterDefOperand(X86::EFLAGS, /*TRI=*/nullptr); in setSpecialOperandAttr()
10160 OldMI2.findRegisterDefOperand(X86::EFLAGS, /*TRI=*/nullptr); in setSpecialOperandAttr()
10172 NewMI1.findRegisterDefOperand(X86::EFLAGS, /*TRI=*/nullptr); in setSpecialOperandAttr()
10174 NewMI2.findRegisterDefOperand(X86::EFLAGS, /*TRI=*/nullptr); in setSpecialOperandAttr()