Lines Matching refs:LastInst
137 static void parseCondBranch(MachineInstr *LastInst, MachineBasicBlock *&Target, in parseCondBranch() argument
139 Cond.push_back(MachineOperand::CreateImm(LastInst->getOperand(0).getImm())); in parseCondBranch()
140 Cond.push_back(LastInst->getOperand(1)); in parseCondBranch()
141 Cond.push_back(LastInst->getOperand(2)); in parseCondBranch()
142 Target = LastInst->getOperand(3).getMBB(); in parseCondBranch()
157 MachineInstr *LastInst = &*I; in analyzeBranch() local
158 unsigned LastOpc = LastInst->getOpcode(); in analyzeBranch()
163 TBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
168 parseCondBranch(LastInst, TBB, Cond); in analyzeBranch()
182 LastInst->eraseFromParent(); in analyzeBranch()
183 LastInst = SecondLastInst; in analyzeBranch()
184 LastOpc = LastInst->getOpcode(); in analyzeBranch()
187 TBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
202 FBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
216 I = LastInst; in analyzeBranch()