Lines Matching defs:CondBr
92 bool knownRegValInBlock(MachineInstr &CondBr, MachineBasicBlock *MBB,
113 /// is the target of a conditional branch \p CondBr with an equality comparison.
124 MachineInstr &CondBr, MachineBasicBlock *MBB,
126 unsigned Opc = CondBr.getOpcode();
131 MBB == CondBr.getOperand(1).getMBB()) ||
133 MBB != CondBr.getOperand(1).getMBB())) {
134 FirstUse = CondBr;
135 KnownRegs.push_back(RegImm(CondBr.getOperand(0).getReg(), 0));
144 AArch64CC::CondCode CC = (AArch64CC::CondCode)CondBr.getOperand(0).getImm();
148 MachineBasicBlock *BrTarget = CondBr.getOperand(1).getMBB();
155 assert(PredMBB == CondBr.getParent() &&
157 if (CondBr == PredMBB->begin())
160 // Registers clobbered in PredMBB between CondBr instruction and current
165 // Find compare instruction that sets NZCV used by CondBr.
166 MachineBasicBlock::reverse_iterator RIt = CondBr.getReverseIterator();
289 MachineBasicBlock::iterator CondBr = PredMBB->getLastNonDebugInstr();
290 if (CondBr == PredMBB->end())
305 MachineBasicBlock::iterator Itr = std::next(CondBr);