Home
last modified time | relevance | path

Searched refs:SecondLastInst (Results 1 – 10 of 10) sorted by relevance

/external/llvm/lib/Target/NVPTX/
DNVPTXInstrInfo.cpp197 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local
200 if (SecondLastInst && I != MBB.begin() && isUnpredicatedTerminator(--I)) in AnalyzeBranch()
204 if (SecondLastInst->getOpcode() == NVPTX::CBranch && in AnalyzeBranch()
206 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()
207 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()
214 if (SecondLastInst->getOpcode() == NVPTX::GOTO && in AnalyzeBranch()
216 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
/external/llvm/lib/Target/Mips/
DMipsInstrInfo.cpp212 MachineInstr *SecondLastInst = nullptr; in AnalyzeBranch() local
215 SecondLastInst = &*I; in AnalyzeBranch()
216 SecondLastOpc = getAnalyzableBrOpc(SecondLastInst->getOpcode()); in AnalyzeBranch()
219 if (isUnpredicatedTerminator(SecondLastInst) && !SecondLastOpc) in AnalyzeBranch()
241 BranchInstrs.insert(BranchInstrs.begin(), SecondLastInst); in AnalyzeBranch()
250 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
261 AnalyzeCondBr(SecondLastInst, SecondLastOpc, TBB, Cond); in AnalyzeBranch()
/external/llvm/lib/Target/XCore/
DXCoreInstrInfo.cpp235 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local
238 if (SecondLastInst && I != MBB.begin() && in AnalyzeBranch()
242 unsigned SecondLastOpc = SecondLastInst->getOpcode(); in AnalyzeBranch()
250 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()
252 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()
260 if (IsBRU(SecondLastInst->getOpcode()) && in AnalyzeBranch()
262 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
270 if (IsBR_JT(SecondLastInst->getOpcode()) && IsBRU(LastInst->getOpcode())) { in AnalyzeBranch()
/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp419 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local
422 if (SecondLastInst && I != MBB.begin() && in AnalyzeBranch()
427 if (SecondLastInst->getOpcode() == PPC::BCC && in AnalyzeBranch()
429 if (!SecondLastInst->getOperand(2).isMBB() || in AnalyzeBranch()
432 TBB = SecondLastInst->getOperand(2).getMBB(); in AnalyzeBranch()
433 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()
434 Cond.push_back(SecondLastInst->getOperand(1)); in AnalyzeBranch()
437 } else if (SecondLastInst->getOpcode() == PPC::BC && in AnalyzeBranch()
439 if (!SecondLastInst->getOperand(1).isMBB() || in AnalyzeBranch()
442 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
DR600InstrInfo.cpp226 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local
227 unsigned SecondLastOpc = SecondLastInst->getOpcode(); in AnalyzeBranch()
231 isPredicated(SecondLastInst) && in AnalyzeBranch()
238 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
/external/mesa3d/src/gallium/drivers/radeon/
DR600InstrInfo.cpp226 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local
227 unsigned SecondLastOpc = SecondLastInst->getOpcode(); in AnalyzeBranch()
231 isPredicated(SecondLastInst) && in AnalyzeBranch()
238 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.cpp230 MachineInstr *SecondLastInst = nullptr; in AnalyzeBranch() local
234 if (!SecondLastInst) in AnalyzeBranch()
235 SecondLastInst = I; in AnalyzeBranch()
251 if (LastInst && !SecondLastInst) { in AnalyzeBranch()
273 int SecLastOpcode = SecondLastInst->getOpcode(); in AnalyzeBranch()
278 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()
281 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()
289 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
299 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
300 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()
/external/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp129 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local
130 unsigned SecondLastOpc = SecondLastInst->getOpcode(); in AnalyzeBranch()
137 LastInst = SecondLastInst; in AnalyzeBranch()
144 SecondLastInst = I; in AnalyzeBranch()
145 SecondLastOpc = SecondLastInst->getOpcode(); in AnalyzeBranch()
151 if (SecondLastInst && I != MBB.begin() && isUnpredicatedTerminator(--I)) in AnalyzeBranch()
156 parseCondBranch(SecondLastInst, TBB, Cond); in AnalyzeBranch()
164 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
/external/llvm/lib/Target/R600/
DR600InstrInfo.cpp753 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local
754 unsigned SecondLastOpc = SecondLastInst->getOpcode(); in AnalyzeBranch()
762 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
/external/llvm/docs/
DWritingAnLLVMBackend.rst1128 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));