Searched refs:LastInst (Results 1 – 10 of 10) sorted by relevance
205 MachineInstr *LastInst = I; in AnalyzeBranch() local209 if (IsBRU(LastInst->getOpcode())) { in AnalyzeBranch()210 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()214 XCore::CondCode BranchCode = GetCondFromBranchOpc(LastInst->getOpcode()); in AnalyzeBranch()221 TBB = LastInst->getOperand(1).getMBB(); in AnalyzeBranch()223 Cond.push_back(LastInst->getOperand(0)); in AnalyzeBranch()241 && IsBRU(LastInst->getOpcode())) { in AnalyzeBranch()247 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()254 IsBRU(LastInst->getOpcode())) { in AnalyzeBranch()256 I = LastInst; in AnalyzeBranch()[all …]
228 MachineInstr *LastInst = I; in AnalyzeBranch() local232 if (LastInst->getOpcode() == PPC::B) { in AnalyzeBranch()233 if (!LastInst->getOperand(0).isMBB()) in AnalyzeBranch()235 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()237 } else if (LastInst->getOpcode() == PPC::BCC) { in AnalyzeBranch()238 if (!LastInst->getOperand(2).isMBB()) in AnalyzeBranch()241 TBB = LastInst->getOperand(2).getMBB(); in AnalyzeBranch()242 Cond.push_back(LastInst->getOperand(0)); in AnalyzeBranch()243 Cond.push_back(LastInst->getOperand(1)); in AnalyzeBranch()245 } else if (LastInst->getOpcode() == PPC::BDNZ8 || in AnalyzeBranch()[all …]
190 MachineInstr *LastInst = I; in AnalyzeBranch() local194 if (LastInst->getOpcode() == NVPTX::GOTO) { in AnalyzeBranch()195 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()197 } else if (LastInst->getOpcode() == NVPTX::CBranch) { in AnalyzeBranch()199 TBB = LastInst->getOperand(1).getMBB(); in AnalyzeBranch()200 Cond.push_back(LastInst->getOperand(0)); in AnalyzeBranch()217 LastInst->getOpcode() == NVPTX::GOTO) { in AnalyzeBranch()220 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()227 LastInst->getOpcode() == NVPTX::GOTO) { in AnalyzeBranch()229 I = LastInst; in AnalyzeBranch()
134 MachineInstr *LastInst = I; in AnalyzeBranch() local137 unsigned LastOpc = LastInst->getOpcode(); in AnalyzeBranch()140 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()145 TBB = LastInst->getOperand(1).getMBB(); in AnalyzeBranch()146 Cond.push_back(MachineOperand::CreateImm(LastInst->getOpcode())); in AnalyzeBranch()147 Cond.push_back(LastInst->getOperand(0)); in AnalyzeBranch()163 MBlaze::isUncondBranchOpcode(LastInst->getOpcode())) { in AnalyzeBranch()167 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()174 MBlaze::isUncondBranchOpcode(LastInst->getOpcode())) { in AnalyzeBranch()176 I = LastInst; in AnalyzeBranch()
208 MachineInstr *LastInst = &*I; in AnalyzeBranch() local209 unsigned LastOpc = LastInst->getOpcode(); in AnalyzeBranch()210 BranchInstrs.push_back(LastInst); in AnalyzeBranch()214 return LastInst->isIndirectBranch() ? BT_Indirect : BT_None; in AnalyzeBranch()233 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()238 AnalyzeCondBr(LastInst, LastOpc, TBB, Cond); in AnalyzeBranch()257 LastInst->eraseFromParent(); in AnalyzeBranch()268 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
193 MachineInstr *LastInst = I; in AnalyzeBranch() local196 unsigned LastOpc = LastInst->getOpcode(); in AnalyzeBranch()199 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()203 classifyCondBranch(LastInst, TBB, Cond); in AnalyzeBranch()217 LastInst->eraseFromParent(); in AnalyzeBranch()218 LastInst = SecondLastInst; in AnalyzeBranch()219 LastOpc = LastInst->getOpcode(); in AnalyzeBranch()222 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()241 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()245 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()[all …]
211 MachineInstr *LastInst = I; in AnalyzeBranch() local215 if (LastInst->getOpcode() == Hexagon::JMP) { in AnalyzeBranch()216 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()219 if (LastInst->getOpcode() == Hexagon::JMP_c) { in AnalyzeBranch()221 TBB = LastInst->getOperand(1).getMBB(); in AnalyzeBranch()222 Cond.push_back(LastInst->getOperand(0)); in AnalyzeBranch()225 if (LastInst->getOpcode() == Hexagon::JMP_cNot) { in AnalyzeBranch()227 TBB = LastInst->getOperand(1).getMBB(); in AnalyzeBranch()229 Cond.push_back(LastInst->getOperand(0)); in AnalyzeBranch()247 LastInst->getOpcode() == Hexagon::JMP) { in AnalyzeBranch()[all …]
253 MachineInstr *LastInst = I; in AnalyzeBranch() local256 unsigned LastOpc = LastInst->getOpcode(); in AnalyzeBranch()260 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()267 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()287 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
290 MachineInstr *LastInst = I; in AnalyzeBranch() local293 unsigned LastOpc = LastInst->getOpcode(); in AnalyzeBranch()296 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()301 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()302 Cond.push_back(LastInst->getOperand(1)); in AnalyzeBranch()303 Cond.push_back(LastInst->getOperand(2)); in AnalyzeBranch()317 LastInst->eraseFromParent(); in AnalyzeBranch()318 LastInst = SecondLastInst; in AnalyzeBranch()319 LastOpc = LastInst->getOpcode(); in AnalyzeBranch()322 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()[all …]
1013 TBB = LastInst->getOperand(0).getMBB();1026 I = LastInst;1041 TBB = LastInst->getOperand(0).getMBB();1042 Cond.push_back(LastInst->getOperand(1));1043 Cond.push_back(LastInst->getOperand(2));1064 FBB = LastInst->getOperand(0).getMBB();