Searched refs:SecondLastInst (Results 1 – 9 of 9) sorted by relevance
175 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local178 if (SecondLastInst && I != MBB.begin() && isUnpredicatedTerminator(--I)) in AnalyzeBranch()182 if (SecondLastInst->getOpcode() == NVPTX::CBranch && in AnalyzeBranch()184 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()185 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()192 if (SecondLastInst->getOpcode() == NVPTX::GOTO && in AnalyzeBranch()194 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
205 MachineInstr *SecondLastInst = nullptr; in AnalyzeBranch() local208 SecondLastInst = &*I; in AnalyzeBranch()209 SecondLastOpc = getAnalyzableBrOpc(SecondLastInst->getOpcode()); in AnalyzeBranch()212 if (isUnpredicatedTerminator(SecondLastInst) && !SecondLastOpc) in AnalyzeBranch()234 BranchInstrs.insert(BranchInstrs.begin(), SecondLastInst); in AnalyzeBranch()243 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()254 AnalyzeCondBr(SecondLastInst, SecondLastOpc, TBB, Cond); in AnalyzeBranch()
230 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local233 if (SecondLastInst && I != MBB.begin() && in AnalyzeBranch()237 unsigned SecondLastOpc = SecondLastInst->getOpcode(); in AnalyzeBranch()245 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()247 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()255 if (IsBRU(SecondLastInst->getOpcode()) && in AnalyzeBranch()257 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()265 if (IsBR_JT(SecondLastInst->getOpcode()) && IsBRU(LastInst->getOpcode())) { in AnalyzeBranch()
522 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local525 if (SecondLastInst && I != MBB.begin() && in AnalyzeBranch()530 if (SecondLastInst->getOpcode() == PPC::BCC && in AnalyzeBranch()532 if (!SecondLastInst->getOperand(2).isMBB() || in AnalyzeBranch()535 TBB = SecondLastInst->getOperand(2).getMBB(); in AnalyzeBranch()536 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()537 Cond.push_back(SecondLastInst->getOperand(1)); in AnalyzeBranch()540 } else if (SecondLastInst->getOpcode() == PPC::BC && in AnalyzeBranch()542 if (!SecondLastInst->getOperand(1).isMBB() || in AnalyzeBranch()545 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()[all …]
226 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local227 unsigned SecondLastOpc = SecondLastInst->getOpcode(); in AnalyzeBranch()231 isPredicated(SecondLastInst) && in AnalyzeBranch()238 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
352 MachineInstr *SecondLastInst = nullptr; in AnalyzeBranch() local356 if (!SecondLastInst) in AnalyzeBranch()357 SecondLastInst = &*I; in AnalyzeBranch()368 int SecLastOpcode = SecondLastInst ? SecondLastInst->getOpcode() : 0; in AnalyzeBranch()374 !SecondLastInst->getOperand(0).isMBB()) in AnalyzeBranch()381 if (LastInst && !SecondLastInst) { in AnalyzeBranch()413 bool SecLastOpcodeHasNVJump = isNewValueJump(SecondLastInst); in AnalyzeBranch()415 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()416 Cond.push_back(MachineOperand::CreateImm(SecondLastInst->getOpcode())); in AnalyzeBranch()417 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()[all …]
124 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local125 unsigned SecondLastOpc = SecondLastInst->getOpcode(); in AnalyzeBranch()132 LastInst = SecondLastInst; in AnalyzeBranch()139 SecondLastInst = I; in AnalyzeBranch()140 SecondLastOpc = SecondLastInst->getOpcode(); in AnalyzeBranch()146 if (SecondLastInst && I != MBB.begin() && isUnpredicatedTerminator(--I)) in AnalyzeBranch()151 parseCondBranch(SecondLastInst, TBB, Cond); in AnalyzeBranch()159 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
743 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local744 unsigned SecondLastOpc = SecondLastInst->getOpcode(); in AnalyzeBranch()752 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
1128 TBB = SecondLastInst->getOperand(0).getMBB();1160 unsigned SecondLastOpc = SecondLastInst->getOpcode();1164 TBB = SecondLastInst->getOperand(0).getMBB();1165 Cond.push_back(SecondLastInst->getOperand(1));1166 Cond.push_back(SecondLastInst->getOperand(2));