Searched refs:SecondLastInst (Results 1 – 10 of 10) sorted by relevance
218 MachineInstr *SecondLastInst = NULL; in AnalyzeBranch() local221 SecondLastInst = &*I; in AnalyzeBranch()222 SecondLastOpc = GetAnalyzableBrOpc(SecondLastInst->getOpcode()); in AnalyzeBranch()225 if (isUnpredicatedTerminator(SecondLastInst) && !SecondLastOpc) in AnalyzeBranch()247 BranchInstrs.insert(BranchInstrs.begin(), SecondLastInst); in AnalyzeBranch()256 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()267 AnalyzeCondBr(SecondLastInst, SecondLastOpc, TBB, Cond); in AnalyzeBranch()
228 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local231 if (SecondLastInst && I != MBB.begin() && in AnalyzeBranch()235 unsigned SecondLastOpc = SecondLastInst->getOpcode(); in AnalyzeBranch()243 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()245 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()253 if (IsBRU(SecondLastInst->getOpcode()) && in AnalyzeBranch()255 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()263 if (IsBR_JT(SecondLastInst->getOpcode()) && IsBRU(LastInst->getOpcode())) { in AnalyzeBranch()
208 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local211 if (SecondLastInst && I != MBB.begin() && in AnalyzeBranch()216 if (SecondLastInst->getOpcode() == NVPTX::CBranch && in AnalyzeBranch()218 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()219 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()226 if (SecondLastInst->getOpcode() == NVPTX::GOTO && in AnalyzeBranch()228 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
155 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local158 if (SecondLastInst && I != MBB.begin() && isUnpredicatedTerminator(--I)) in AnalyzeBranch()162 if (MBlaze::isCondBranchOpcode(SecondLastInst->getOpcode()) && in AnalyzeBranch()164 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()165 Cond.push_back(MachineOperand::CreateImm(SecondLastInst->getOpcode())); in AnalyzeBranch()166 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()173 if (MBlaze::isUncondBranchOpcode(SecondLastInst->getOpcode()) && in AnalyzeBranch()175 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
274 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local277 if (SecondLastInst && I != MBB.begin() && in AnalyzeBranch()282 if (SecondLastInst->getOpcode() == PPC::BCC && in AnalyzeBranch()284 if (!SecondLastInst->getOperand(2).isMBB() || in AnalyzeBranch()287 TBB = SecondLastInst->getOperand(2).getMBB(); in AnalyzeBranch()288 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()289 Cond.push_back(SecondLastInst->getOperand(1)); in AnalyzeBranch()292 } else if ((SecondLastInst->getOpcode() == PPC::BDNZ8 || in AnalyzeBranch()293 SecondLastInst->getOpcode() == PPC::BDNZ) && in AnalyzeBranch()295 if (!SecondLastInst->getOperand(0).isMBB() || in AnalyzeBranch()[all …]
210 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local211 unsigned SecondLastOpc = SecondLastInst->getOpcode(); in AnalyzeBranch()218 LastInst = SecondLastInst; in AnalyzeBranch()225 SecondLastInst = I; in AnalyzeBranch()226 SecondLastOpc = SecondLastInst->getOpcode(); in AnalyzeBranch()232 if (SecondLastInst && I != MBB.begin() && isUnpredicatedTerminator(--I)) in AnalyzeBranch()238 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()240 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()244 classifyCondBranch(SecondLastInst, TBB, Cond); in AnalyzeBranch()253 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
237 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local240 if (SecondLastInst && I != MBB.begin() && in AnalyzeBranch()245 if (((SecondLastInst->getOpcode() == Hexagon::BRCOND) || in AnalyzeBranch()246 (SecondLastInst->getOpcode() == Hexagon::JMP_c)) && in AnalyzeBranch()248 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()249 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()255 if ((SecondLastInst->getOpcode() == Hexagon::JMP_cNot) && in AnalyzeBranch()257 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()259 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()266 if (SecondLastInst->getOpcode() == Hexagon::JMP && in AnalyzeBranch()[all …]
277 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local278 unsigned SecondLastOpc = SecondLastInst->getOpcode(); in AnalyzeBranch()286 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
310 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local311 unsigned SecondLastOpc = SecondLastInst->getOpcode(); in AnalyzeBranch()318 LastInst = SecondLastInst; in AnalyzeBranch()325 SecondLastInst = I; in AnalyzeBranch()326 SecondLastOpc = SecondLastInst->getOpcode(); in AnalyzeBranch()332 if (SecondLastInst && I != MBB.begin() && isUnpredicatedTerminator(--I)) in AnalyzeBranch()337 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()338 Cond.push_back(SecondLastInst->getOperand(1)); in AnalyzeBranch()339 Cond.push_back(SecondLastInst->getOperand(2)); in AnalyzeBranch()347 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
1025 TBB = SecondLastInst->getOperand(0).getMBB();1057 unsigned SecondLastOpc = SecondLastInst->getOpcode();1061 TBB = SecondLastInst->getOperand(0).getMBB();1062 Cond.push_back(SecondLastInst->getOperand(1));1063 Cond.push_back(SecondLastInst->getOperand(2));