/external/llvm/lib/Target/NVPTX/ |
D | NVPTXInstrInfo.cpp | 179 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/ |
D | XCoreInstrInfo.cpp | 212 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/ |
D | MipsInstrInfo.cpp | 202 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/ |
D | PPCInstrInfo.cpp | 357 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/ |
D | R600InstrInfo.cpp | 200 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/ |
D | R600InstrInfo.cpp | 200 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/ |
D | AArch64InstrInfo.cpp | 60 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/ |
D | HexagonInstrInfo.cpp | 229 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/ |
D | R600InstrInfo.cpp | 729 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/ |
D | WritingAnLLVMBackend.rst | 1116 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/ |
D | SLPVectorizer.cpp | 1539 Instruction *LastInst = getLastInstruction(VL); in setInsertPointAfterBundle() local 1540 BasicBlock::iterator NextInst = LastInst; in setInsertPointAfterBundle()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 8311 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()
|