Lines Matching refs:LastInst
64 static void parseCondBranch(MachineInstr *LastInst, MachineBasicBlock *&Target, in parseCondBranch() argument
67 switch (LastInst->getOpcode()) { in parseCondBranch()
71 Target = LastInst->getOperand(1).getMBB(); in parseCondBranch()
72 Cond.push_back(LastInst->getOperand(0)); in parseCondBranch()
78 Target = LastInst->getOperand(1).getMBB(); in parseCondBranch()
80 Cond.push_back(MachineOperand::CreateImm(LastInst->getOpcode())); in parseCondBranch()
81 Cond.push_back(LastInst->getOperand(0)); in parseCondBranch()
87 Target = LastInst->getOperand(2).getMBB(); in parseCondBranch()
89 Cond.push_back(MachineOperand::CreateImm(LastInst->getOpcode())); in parseCondBranch()
90 Cond.push_back(LastInst->getOperand(0)); in parseCondBranch()
91 Cond.push_back(LastInst->getOperand(1)); in parseCondBranch()
110 MachineInstr *LastInst = &*I; in analyzeBranch() local
113 unsigned LastOpc = LastInst->getOpcode(); in analyzeBranch()
116 TBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
121 parseCondBranch(LastInst, TBB, Cond); in analyzeBranch()
135 LastInst->eraseFromParent(); in analyzeBranch()
136 LastInst = SecondLastInst; in analyzeBranch()
137 LastOpc = LastInst->getOpcode(); in analyzeBranch()
140 TBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
156 FBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
164 I = LastInst; in analyzeBranch()
173 I = LastInst; in analyzeBranch()