/external/llvm/lib/Target/NVPTX/ |
D | NVPTXInstrInfo.cpp | 157 MachineInstr *LastInst = I; in AnalyzeBranch() local 161 if (LastInst->getOpcode() == NVPTX::GOTO) { in AnalyzeBranch() 162 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch() 164 } else if (LastInst->getOpcode() == NVPTX::CBranch) { in AnalyzeBranch() 166 TBB = LastInst->getOperand(1).getMBB(); in AnalyzeBranch() 167 Cond.push_back(LastInst->getOperand(0)); in AnalyzeBranch() 183 LastInst->getOpcode() == NVPTX::GOTO) { in AnalyzeBranch() 186 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch() 193 LastInst->getOpcode() == NVPTX::GOTO) { in AnalyzeBranch() 195 I = LastInst; in AnalyzeBranch()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreInstrInfo.cpp | 207 MachineInstr *LastInst = I; in AnalyzeBranch() local 211 if (IsBRU(LastInst->getOpcode())) { in AnalyzeBranch() 212 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch() 216 XCore::CondCode BranchCode = GetCondFromBranchOpc(LastInst->getOpcode()); in AnalyzeBranch() 223 TBB = LastInst->getOperand(1).getMBB(); in AnalyzeBranch() 225 Cond.push_back(LastInst->getOperand(0)); in AnalyzeBranch() 243 && IsBRU(LastInst->getOpcode())) { in AnalyzeBranch() 249 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch() 256 IsBRU(LastInst->getOpcode())) { in AnalyzeBranch() 258 I = LastInst; in AnalyzeBranch() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsInstrInfo.cpp | 195 MachineInstr *LastInst = &*I; in AnalyzeBranch() local 196 unsigned LastOpc = LastInst->getOpcode(); in AnalyzeBranch() 197 BranchInstrs.push_back(LastInst); in AnalyzeBranch() 201 return LastInst->isIndirectBranch() ? BT_Indirect : BT_None; in AnalyzeBranch() 220 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch() 225 AnalyzeCondBr(LastInst, LastOpc, TBB, Cond); in AnalyzeBranch() 244 LastInst->eraseFromParent(); in AnalyzeBranch() 255 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.cpp | 460 MachineInstr *LastInst = I; in AnalyzeBranch() local 464 if (LastInst->getOpcode() == PPC::B) { in AnalyzeBranch() 465 if (!LastInst->getOperand(0).isMBB()) in AnalyzeBranch() 467 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch() 469 } else if (LastInst->getOpcode() == PPC::BCC) { in AnalyzeBranch() 470 if (!LastInst->getOperand(2).isMBB()) in AnalyzeBranch() 473 TBB = LastInst->getOperand(2).getMBB(); in AnalyzeBranch() 474 Cond.push_back(LastInst->getOperand(0)); in AnalyzeBranch() 475 Cond.push_back(LastInst->getOperand(1)); in AnalyzeBranch() 477 } else if (LastInst->getOpcode() == PPC::BC) { in AnalyzeBranch() [all …]
|
/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 | AArch64A57FPLoadBalancing.cpp | 189 MachineInstr *StartInst, *LastInst, *KillInst; member in __anon32224d0b0211::Chain 205 : StartInst(MI), LastInst(MI), KillInst(nullptr), in Chain() 214 LastInst = MI; in add() 246 MachineInstr *getLast() const { return LastInst; } in getLast() 252 return ++MachineBasicBlock::iterator(KillInst ? KillInst : LastInst); in getEnd() 292 LastInst->print(OS, /* SkipOpers= */true); in str()
|
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 | 351 MachineInstr *LastInst = &*I; in AnalyzeBranch() local 355 if (&*I != LastInst && !I->isBundle() && isUnpredicatedTerminator(&*I)) { in AnalyzeBranch() 367 int LastOpcode = LastInst->getOpcode(); in AnalyzeBranch() 371 if (LastOpcode == Hexagon::J2_jump && !LastInst->getOperand(0).isMBB()) in AnalyzeBranch() 378 bool LastOpcodeHasNVJump = isNewValueJump(LastInst); in AnalyzeBranch() 381 if (LastInst && !SecondLastInst) { in AnalyzeBranch() 383 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch() 387 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch() 388 Cond.push_back(MachineOperand::CreateImm(LastInst->getOpcode())); in AnalyzeBranch() 389 Cond.push_back(LastInst->getOperand(0)); in AnalyzeBranch() [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600InstrInfo.cpp | 719 MachineInstr *LastInst = I; in AnalyzeBranch() local 722 unsigned LastOpc = LastInst->getOpcode(); in AnalyzeBranch() 726 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch() 733 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch() 753 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/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 10300 SDValue LastInst = DAG->getLoad( in loadSlice() local 10308 LastInst = in loadSlice() 10309 DAG->getNode(ISD::ZERO_EXTEND, SDLoc(LastInst), FinalType, LastInst); in loadSlice() 10310 return LastInst; in loadSlice()
|