HomeSort by relevance Sort by last modified time
    Searched refs:TBB (Results 1 - 25 of 42) sorted by null

1 2

  /external/llvm/lib/Target/MSP430/
MSP430InstrInfo.cpp 176 MachineBasicBlock *&TBB,
206 TBB = I->getOperand(0).getMBB();
218 TBB = 0;
224 // TBB is used to indicate the unconditinal destination.
225 TBB = I->getOperand(0).getMBB();
238 FBB = TBB;
239 TBB = I->getOperand(0).getMBB();
247 assert(TBB);
251 if (TBB != I->getOperand(0).getMBB())
266 MSP430InstrInfo::InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
    [all...]
MSP430InstrInfo.h 78 MachineBasicBlock *&TBB, MachineBasicBlock *&FBB,
83 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
  /external/llvm/lib/Target/Mips/
MipsInstrInfo.h 143 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
150 void BuildCondBr(MachineBasicBlock &MBB, MachineBasicBlock *TBB, DebugLoc DL,
154 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
MipsInstrInfo.cpp 276 MachineBasicBlock *&TBB,
289 // just return false, leaving TBB/FBB null.
290 TBB = FBB = NULL;
318 TBB = LastInst->getOperand(0).getMBB();
323 AnalyzeCondBr(LastInst, LastOpc, TBB, Cond);
339 TBB = SecondLastInst->getOperand(0).getMBB();
349 AnalyzeCondBr(SecondLastInst, SecondLastOpc, TBB, Cond);
356 MachineBasicBlock *TBB, DebugLoc DL,
366 MIB.addMBB(TBB);
370 InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
    [all...]
  /external/llvm/lib/Target/Alpha/
AlphaInstrInfo.h 41 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
61 bool AnalyzeBranch(MachineBasicBlock &MBB,MachineBasicBlock *&TBB,
AlphaInstrInfo.cpp 88 MachineBasicBlock *TBB,
92 assert(TBB && "InsertBranch must not be told to insert a fallthrough");
99 BuildMI(&MBB, DL, get(Alpha::BR)).addMBB(TBB);
103 .addImm(Cond[0].getImm()).addReg(Cond[1].getReg()).addMBB(TBB);
106 .addImm(Cond[0].getImm()).addReg(Cond[1].getReg()).addMBB(TBB);
113 .addImm(Cond[0].getImm()).addReg(Cond[1].getReg()).addMBB(TBB);
116 .addImm(Cond[0].getImm()).addReg(Cond[1].getReg()).addMBB(TBB);
218 bool AlphaInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB,MachineBasicBlock *&TBB,
241 TBB = LastInst->getOperand(0).getMBB();
246 TBB = LastInst->getOperand(2).getMBB()
    [all...]
  /external/llvm/lib/Target/CellSPU/
SPUInstrInfo.h 70 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
77 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
SPUInstrInfo.cpp 213 SPUInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
239 TBB = LastInst->getOperand(0).getMBB();
243 TBB = LastInst->getOperand(1).getMBB();
264 TBB = SecondLastInst->getOperand(1).getMBB();
276 TBB = SecondLastInst->getOperand(0).getMBB();
351 SPUInstrInfo::InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
356 assert(TBB && "InsertBranch must not be told to insert a fallthrough");
375 MIB.addMBB(TBB);
384 MIB.addMBB(TBB);
389 MIB.addReg(Cond[1].getReg()).addMBB(TBB);
    [all...]
  /external/llvm/lib/Target/Sparc/
SparcInstrInfo.h 66 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
73 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
SparcInstrInfo.cpp 117 MachineBasicBlock *&TBB,
144 TBB = I->getOperand(0).getMBB();
155 TBB = 0;
162 TBB = I->getOperand(0).getMBB();
206 FBB = TBB;
207 TBB = I->getOperand(0).getMBB();
219 SparcInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB,
223 assert(TBB && "InsertBranch must not be told to insert a fallthrough");
229 BuildMI(&MBB, DL, get(SP::BA)).addMBB(TBB);
237 BuildMI(&MBB, DL, get(SP::BCOND)).addMBB(TBB).addImm(CC)
    [all...]
  /external/llvm/lib/Target/SystemZ/
SystemZInstrInfo.h 88 MachineBasicBlock *&TBB,
92 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
SystemZInstrInfo.cpp 218 MachineBasicBlock *&TBB,
242 TBB = I->getOperand(0).getMBB();
254 TBB = 0;
260 // TBB is used to indicate the unconditinal destination.
261 TBB = I->getOperand(0).getMBB();
272 FBB = TBB;
273 TBB = I->getOperand(0).getMBB();
281 assert(TBB);
285 if (TBB != I->getOperand(0).getMBB())
320 SystemZInstrInfo::InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
    [all...]
  /external/llvm/lib/Target/XCore/
XCoreInstrInfo.h 52 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
57 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
XCoreInstrInfo.cpp 169 /// just return false, leaving TBB/FBB null.
170 /// 2. If this block ends with only an unconditional branch, it sets TBB to be
173 /// an successor block, it sets TBB to be the branch destination block and a
178 /// block, it returns the 'true' destination in TBB, the 'false' destination
187 XCoreInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
210 TBB = LastInst->getOperand(0).getMBB();
221 TBB = LastInst->getOperand(1).getMBB();
243 TBB = SecondLastInst->getOperand(1).getMBB();
255 TBB = SecondLastInst->getOperand(0).getMBB();
275 XCoreInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB,
    [all...]
  /external/llvm/lib/Target/MBlaze/
MBlazeInstrInfo.cpp 116 MachineBasicBlock *&TBB,
140 TBB = LastInst->getOperand(0).getMBB();
145 TBB = LastInst->getOperand(1).getMBB();
164 TBB = SecondLastInst->getOperand(1).getMBB();
175 TBB = SecondLastInst->getOperand(0).getMBB();
187 InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
192 assert(TBB && "InsertBranch must not be told to insert a fallthrough");
202 BuildMI(&MBB, DL, get(Opc)).addMBB(TBB);
204 BuildMI(&MBB, DL, get(Opc)).addReg(Cond[1].getReg()).addMBB(TBB);
208 BuildMI(&MBB, DL, get(Opc)).addReg(Cond[1].getReg()).addMBB(TBB);
    [all...]
MBlazeInstrInfo.h 198 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
202 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
  /external/llvm/lib/Target/PTX/
PTXInstrInfo.cpp 178 MachineBasicBlock *&TBB,
200 DEBUG(dbgs() << "AnalyzeBranch: TBB: " << TBB << "\n");
214 TBB = GetBranchTarget(instLast1);
223 TBB = GetBranchTarget(instLast1);
239 TBB = GetBranchTarget(instLast2);
267 MachineBasicBlock *TBB,
272 DEBUG(if (TBB) dbgs() << "InsertBranch: TBB: " << TBB->getName().str(
    [all...]
PTXInstrInfo.h 78 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
85 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
  /external/llvm/lib/CodeGen/
MachineBasicBlock.cpp 286 MachineBasicBlock *TBB = 0, *FBB = 0;
289 bool B = TII->AnalyzeBranch(*this, TBB, FBB, Cond);
293 if (TBB) {
296 if (isLayoutSuccessor(TBB))
301 TBB = *succ_begin();
302 if (!isLayoutSuccessor(TBB))
303 TII->InsertBranch(*this, TBB, 0, Cond, dl);
310 if (isLayoutSuccessor(TBB)) {
317 TII->InsertBranch(*this, TBB, 0, Cond, dl);
323 if (MBBA == TBB) std::swap(MBBB, MBBA)
    [all...]
BranchFolding.cpp 188 MachineBasicBlock *MBB = I, *TBB = 0, *FBB = 0;
190 if (!TII->AnalyzeBranch(*MBB, TBB, FBB, Cond, true))
191 MadeChange |= MBB->CorrectExtraCFGEdges(TBB, FBB, !Cond.empty());
454 MachineBasicBlock *TBB = 0, *FBB = 0;
458 !TII->AnalyzeBranch(*CurMBB, TBB, FBB, Cond, true)) {
460 if (TBB == NextBB && !Cond.empty() && !FBB) {
873 MachineBasicBlock *TBB = 0, *FBB = 0;
    [all...]
CodePlacementOpt.cpp 80 MachineBasicBlock *TBB = 0, *FBB = 0;
82 if (TII->AnalyzeBranch(*MBB, TBB, FBB, Cond))
88 if (Cond.empty() && TBB)
109 MachineBasicBlock *TBB = 0, *FBB = 0;
112 if (TII->AnalyzeBranch(*MBB, TBB, FBB, Cond))
  /external/llvm/lib/Target/PowerPC/
PPCInstrInfo.h 106 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
111 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
PPCInstrInfo.cpp 178 bool PPCInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB,MachineBasicBlock *&TBB,
203 TBB = LastInst->getOperand(0).getMBB();
209 TBB = LastInst->getOperand(2).getMBB();
232 TBB = SecondLastInst->getOperand(2).getMBB();
245 TBB = SecondLastInst->getOperand(0).getMBB();
284 PPCInstrInfo::InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
289 assert(TBB && "InsertBranch must not be told to insert a fallthrough");
296 BuildMI(&MBB, DL, get(PPC::B)).addMBB(TBB);
299 .addImm(Cond[0].getImm()).addReg(Cond[1].getReg()).addMBB(TBB);
305 .addImm(Cond[0].getImm()).addReg(Cond[1].getReg()).addMBB(TBB);
    [all...]
  /external/llvm/lib/Target/Blackfin/
BlackfinInstrInfo.h 44 MachineBasicBlock *TBB,
BlackfinInstrInfo.cpp 80 MachineBasicBlock *TBB,
85 assert(TBB && "InsertBranch must not be told to insert a fallthrough");
92 BuildMI(&MBB, DL, get(BF::JUMPa)).addMBB(TBB);

Completed in 662 milliseconds

1 2