HomeSort by relevance Sort by last modified time
    Searched refs:SecondLastInst (Results 1 - 7 of 7) sorted by null

  /external/llvm/lib/Target/MBlaze/
MBlazeInstrInfo.cpp 155 MachineInstr *SecondLastInst = I;
158 if (SecondLastInst && I != MBB.begin() && isUnpredicatedTerminator(--I))
162 if (MBlaze::isCondBranchOpcode(SecondLastInst->getOpcode()) &&
164 TBB = SecondLastInst->getOperand(1).getMBB();
165 Cond.push_back(MachineOperand::CreateImm(SecondLastInst->getOpcode()));
166 Cond.push_back(SecondLastInst->getOperand(0));
173 if (MBlaze::isUncondBranchOpcode(SecondLastInst->getOpcode()) &&
175 TBB = SecondLastInst->getOperand(0).getMBB();
  /external/llvm/lib/Target/XCore/
XCoreInstrInfo.cpp 228 MachineInstr *SecondLastInst = I;
231 if (SecondLastInst && I != MBB.begin() &&
235 unsigned SecondLastOpc = SecondLastInst->getOpcode();
243 TBB = SecondLastInst->getOperand(1).getMBB();
245 Cond.push_back(SecondLastInst->getOperand(0));
253 if (IsBRU(SecondLastInst->getOpcode()) &&
255 TBB = SecondLastInst->getOperand(0).getMBB();
263 if (IsBR_JT(SecondLastInst->getOpcode()) && IsBRU(LastInst->getOpcode())) {
  /external/llvm/lib/Target/Alpha/
AlphaInstrInfo.cpp 257 MachineInstr *SecondLastInst = I;
260 if (SecondLastInst && I != MBB.begin() &&
265 if ((SecondLastInst->getOpcode() == Alpha::COND_BRANCH_I ||
266 SecondLastInst->getOpcode() == Alpha::COND_BRANCH_F) &&
268 TBB = SecondLastInst->getOperand(2).getMBB();
269 Cond.push_back(SecondLastInst->getOperand(0));
270 Cond.push_back(SecondLastInst->getOperand(1));
277 if (SecondLastInst->getOpcode() == Alpha::BR &&
279 TBB = SecondLastInst->getOperand(0).getMBB();
  /external/llvm/lib/Target/CellSPU/
SPUInstrInfo.cpp 255 MachineInstr *SecondLastInst = I;
258 if (SecondLastInst && I != MBB.begin() &&
263 if (isCondBranch(SecondLastInst) && isUncondBranch(LastInst)) {
264 TBB = SecondLastInst->getOperand(1).getMBB();
265 DEBUG(errs() << "Pushing SecondLastInst: ");
266 DEBUG(SecondLastInst->dump());
267 Cond.push_back(MachineOperand::CreateImm(SecondLastInst->getOpcode()));
268 Cond.push_back(SecondLastInst->getOperand(0));
275 if (isUncondBranch(SecondLastInst) && isUncondBranch(LastInst)) {
276 TBB = SecondLastInst->getOperand(0).getMBB()
    [all...]
  /external/llvm/lib/Target/PowerPC/
PPCInstrInfo.cpp 211 MachineInstr *SecondLastInst = I;
214 if (SecondLastInst && I != MBB.begin() &&
219 if (SecondLastInst->getOpcode() == PPC::BCC &&
221 if (!SecondLastInst->getOperand(2).isMBB() ||
224 TBB = SecondLastInst->getOperand(2).getMBB();
225 Cond.push_back(SecondLastInst->getOperand(0));
226 Cond.push_back(SecondLastInst->getOperand(1));
233 if (SecondLastInst->getOpcode() == PPC::B &&
235 if (!SecondLastInst->getOperand(0).isMBB())
237 TBB = SecondLastInst->getOperand(0).getMBB()
    [all...]
  /external/llvm/lib/Target/Mips/
MipsInstrInfo.cpp 305 MachineInstr *SecondLastInst = NULL;
308 SecondLastInst = &*I;
309 SecondLastOpc = GetAnalyzableBrOpc(SecondLastInst->getOpcode());
312 if (isUnpredicatedTerminator(SecondLastInst) && !SecondLastOpc)
341 TBB = SecondLastInst->getOperand(0).getMBB();
351 AnalyzeCondBr(SecondLastInst, SecondLastOpc, TBB, Cond);
  /external/llvm/lib/Target/ARM/
ARMBaseInstrInfo.cpp 303 MachineInstr *SecondLastInst = I;
304 unsigned SecondLastOpc = SecondLastInst->getOpcode();
311 LastInst = SecondLastInst;
318 SecondLastInst = I;
319 SecondLastOpc = SecondLastInst->getOpcode();
325 if (SecondLastInst && I != MBB.begin() && isUnpredicatedTerminator(--I))
330 TBB = SecondLastInst->getOperand(0).getMBB();
331 Cond.push_back(SecondLastInst->getOperand(1));
332 Cond.push_back(SecondLastInst->getOperand(2));
340 TBB = SecondLastInst->getOperand(0).getMBB()
    [all...]

Completed in 92 milliseconds