Lines Matching refs:LiveCPSR
188 bool LiveCPSR, bool &HasCC, bool &CCDead);
194 const ReduceEntry &Entry, bool LiveCPSR, bool IsSelfLoop);
199 const ReduceEntry &Entry, bool LiveCPSR,
205 const ReduceEntry &Entry, bool LiveCPSR,
209 bool ReduceMI(MachineBasicBlock &MBB, MachineInstr *MI, bool LiveCPSR,
335 bool LiveCPSR, bool &HasCC, bool &CCDead) { in VerifyPredAndCC() argument
344 if (!LiveCPSR) { in VerifyPredAndCC()
635 bool LiveCPSR, bool IsSelfLoop) { in ReduceSpecial() argument
641 if (ReduceTo2Addr(MBB, MI, Entry, LiveCPSR, IsSelfLoop)) in ReduceSpecial()
643 return ReduceToNarrow(MBB, MI, Entry, LiveCPSR, IsSelfLoop); in ReduceSpecial()
695 if (ReduceTo2Addr(MBB, MI, Entry, LiveCPSR, IsSelfLoop)) in ReduceSpecial()
699 return ReduceToNarrow(MBB, MI, Entry, LiveCPSR, IsSelfLoop); in ReduceSpecial()
711 return ReduceToNarrow(MBB, MI, Entry, LiveCPSR, IsSelfLoop); in ReduceSpecial()
717 return ReduceToNarrow(MBB, MI, Entry, LiveCPSR, IsSelfLoop); in ReduceSpecial()
727 if (ReduceToNarrow(MBB, MI, NarrowEntry, LiveCPSR, IsSelfLoop)) in ReduceSpecial()
729 return ReduceToNarrow(MBB, MI, Entry, LiveCPSR, IsSelfLoop); in ReduceSpecial()
739 return ReduceToNarrow(MBB, MI, Entry, LiveCPSR, IsSelfLoop); in ReduceSpecial()
748 bool LiveCPSR, bool IsSelfLoop) { in ReduceTo2Addr() argument
823 if (!VerifyPredAndCC(MI, Entry, true, Pred, LiveCPSR, HasCC, CCDead)) in ReduceTo2Addr()
863 bool LiveCPSR, bool IsSelfLoop) { in ReduceToNarrow() argument
915 if (!VerifyPredAndCC(MI, Entry, false, Pred, LiveCPSR, HasCC, CCDead)) in ReduceToNarrow()
983 static bool UpdateCPSRDef(MachineInstr &MI, bool LiveCPSR, bool &DefCPSR) { in UpdateCPSRDef() argument
996 return HasDef || LiveCPSR; in UpdateCPSRDef()
999 static bool UpdateCPSRUse(MachineInstr &MI, bool LiveCPSR) { in UpdateCPSRUse() argument
1005 assert(LiveCPSR && "CPSR liveness tracking is wrong!"); in UpdateCPSRUse()
1007 LiveCPSR = false; in UpdateCPSRUse()
1012 return LiveCPSR; in UpdateCPSRUse()
1016 bool LiveCPSR, bool IsSelfLoop, in ReduceMI() argument
1029 return ReduceSpecial(MBB, MI, Entry, LiveCPSR, IsSelfLoop); in ReduceMI()
1033 ReduceTo2Addr(MBB, MI, Entry, LiveCPSR, IsSelfLoop)) in ReduceMI()
1038 ReduceToNarrow(MBB, MI, Entry, LiveCPSR, IsSelfLoop)) in ReduceMI()
1049 bool LiveCPSR = MBB.isLiveIn(ARM::CPSR); in ReduceMBB() local
1084 LiveCPSR = UpdateCPSRUse(*MI, LiveCPSR); in ReduceMBB()
1089 if (ReduceMI(MBB, MI, LiveCPSR, IsSelfLoop, SkipPrologueEpilogue)) { in ReduceMBB()
1105 LiveCPSR = false; in ReduceMBB()
1108 LiveCPSR = true; in ReduceMBB()
1111 LiveCPSR = true; in ReduceMBB()
1115 LiveCPSR = UpdateCPSRDef(*MI, LiveCPSR, DefCPSR); in ReduceMBB()