Home
last modified time | relevance | path

Searched refs:LastInst (Results 1 – 12 of 12) sorted by relevance

/external/llvm/lib/Target/NVPTX/
DNVPTXInstrInfo.cpp179 MachineInstr *LastInst = I; in AnalyzeBranch() local
183 if (LastInst->getOpcode() == NVPTX::GOTO) { in AnalyzeBranch()
184 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
186 } else if (LastInst->getOpcode() == NVPTX::CBranch) { in AnalyzeBranch()
188 TBB = LastInst->getOperand(1).getMBB(); in AnalyzeBranch()
189 Cond.push_back(LastInst->getOperand(0)); in AnalyzeBranch()
205 LastInst->getOpcode() == NVPTX::GOTO) { in AnalyzeBranch()
208 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
215 LastInst->getOpcode() == NVPTX::GOTO) { in AnalyzeBranch()
217 I = LastInst; in AnalyzeBranch()
/external/llvm/lib/Target/XCore/
DXCoreInstrInfo.cpp212 MachineInstr *LastInst = I; in AnalyzeBranch() local
216 if (IsBRU(LastInst->getOpcode())) { in AnalyzeBranch()
217 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
221 XCore::CondCode BranchCode = GetCondFromBranchOpc(LastInst->getOpcode()); in AnalyzeBranch()
228 TBB = LastInst->getOperand(1).getMBB(); in AnalyzeBranch()
230 Cond.push_back(LastInst->getOperand(0)); in AnalyzeBranch()
248 && IsBRU(LastInst->getOpcode())) { in AnalyzeBranch()
254 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
261 IsBRU(LastInst->getOpcode())) { in AnalyzeBranch()
263 I = LastInst; in AnalyzeBranch()
[all …]
/external/llvm/lib/Target/Mips/
DMipsInstrInfo.cpp202 MachineInstr *LastInst = &*I; in AnalyzeBranch() local
203 unsigned LastOpc = LastInst->getOpcode(); in AnalyzeBranch()
204 BranchInstrs.push_back(LastInst); in AnalyzeBranch()
208 return LastInst->isIndirectBranch() ? BT_Indirect : BT_None; in AnalyzeBranch()
227 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
232 AnalyzeCondBr(LastInst, LastOpc, TBB, Cond); in AnalyzeBranch()
251 LastInst->eraseFromParent(); in AnalyzeBranch()
262 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp357 MachineInstr *LastInst = I; in AnalyzeBranch() local
361 if (LastInst->getOpcode() == PPC::B) { in AnalyzeBranch()
362 if (!LastInst->getOperand(0).isMBB()) in AnalyzeBranch()
364 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
366 } else if (LastInst->getOpcode() == PPC::BCC) { in AnalyzeBranch()
367 if (!LastInst->getOperand(2).isMBB()) in AnalyzeBranch()
370 TBB = LastInst->getOperand(2).getMBB(); in AnalyzeBranch()
371 Cond.push_back(LastInst->getOperand(0)); in AnalyzeBranch()
372 Cond.push_back(LastInst->getOperand(1)); in AnalyzeBranch()
374 } else if (LastInst->getOpcode() == PPC::BC) { in AnalyzeBranch()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
DR600InstrInfo.cpp200 MachineInstr *LastInst = I; in AnalyzeBranch() local
203 unsigned LastOpc = LastInst->getOpcode(); in AnalyzeBranch()
207 if(!isPredicated(LastInst)) { in AnalyzeBranch()
208 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
215 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
233 !isPredicated(LastInst)) { in AnalyzeBranch()
239 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
/external/mesa3d/src/gallium/drivers/radeon/
DR600InstrInfo.cpp200 MachineInstr *LastInst = I; in AnalyzeBranch() local
203 unsigned LastOpc = LastInst->getOpcode(); in AnalyzeBranch()
207 if(!isPredicated(LastInst)) { in AnalyzeBranch()
208 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
215 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
233 !isPredicated(LastInst)) { in AnalyzeBranch()
239 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
/external/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp60 static void parseCondBranch(MachineInstr *LastInst, MachineBasicBlock *&Target, in parseCondBranch() argument
63 switch (LastInst->getOpcode()) { in parseCondBranch()
67 Target = LastInst->getOperand(1).getMBB(); in parseCondBranch()
68 Cond.push_back(LastInst->getOperand(0)); in parseCondBranch()
74 Target = LastInst->getOperand(1).getMBB(); in parseCondBranch()
76 Cond.push_back(MachineOperand::CreateImm(LastInst->getOpcode())); in parseCondBranch()
77 Cond.push_back(LastInst->getOperand(0)); in parseCondBranch()
83 Target = LastInst->getOperand(2).getMBB(); in parseCondBranch()
85 Cond.push_back(MachineOperand::CreateImm(LastInst->getOpcode())); in parseCondBranch()
86 Cond.push_back(LastInst->getOperand(0)); in parseCondBranch()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.cpp229 MachineInstr *LastInst = I; in AnalyzeBranch() local
233 if (&*I != LastInst && !I->isBundle() && isUnpredicatedTerminator(I)) { in AnalyzeBranch()
245 int LastOpcode = LastInst->getOpcode(); in AnalyzeBranch()
251 if (LastInst && !SecondLastInst) { in AnalyzeBranch()
253 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
257 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
258 Cond.push_back(LastInst->getOperand(0)); in AnalyzeBranch()
262 TBB = LastInst->getOperand(1).getMBB(); in AnalyzeBranch()
266 Cond.push_back(LastInst->getOperand(0)); in AnalyzeBranch()
282 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
[all …]
/external/llvm/lib/Target/R600/
DR600InstrInfo.cpp729 MachineInstr *LastInst = I; in AnalyzeBranch() local
732 unsigned LastOpc = LastInst->getOpcode(); in AnalyzeBranch()
736 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
743 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
763 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
/external/llvm/docs/
DWritingAnLLVMBackend.rst1116 TBB = LastInst->getOperand(0).getMBB();
1129 I = LastInst;
1144 TBB = LastInst->getOperand(0).getMBB();
1145 Cond.push_back(LastInst->getOperand(1));
1146 Cond.push_back(LastInst->getOperand(2));
1167 FBB = LastInst->getOperand(0).getMBB();
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp1539 Instruction *LastInst = getLastInstruction(VL); in setInsertPointAfterBundle() local
1540 BasicBlock::iterator NextInst = LastInst; in setInsertPointAfterBundle()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp8311 SDValue LastInst = DAG->getLoad( in loadSlice() local
8319 LastInst = in loadSlice()
8320 DAG->getNode(ISD::ZERO_EXTEND, SDLoc(LastInst), FinalType, LastInst); in loadSlice()
8321 return LastInst; in loadSlice()