Searched refs:TBB (Results 1 - 25 of 42) sorted by relevance

12

/freebsd-10-stable/contrib/llvm/lib/Target/Mips/
H A DMipsInstrInfo.cpp87 MachineBasicBlock *&TBB,
92 BranchType BT = AnalyzeBranch(MBB, TBB, FBB, Cond, AllowModify, BranchInstrs);
98 MachineBasicBlock *TBB, DebugLoc DL,
113 MIB.addMBB(TBB);
117 InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, argument
122 assert(TBB && "InsertBranch must not be told to insert a fallthrough");
134 BuildCondBr(MBB, TBB, DL, Cond);
142 BuildMI(&MBB, DL, get(UncondBrOpc)).addMBB(TBB);
144 BuildCondBr(MBB, TBB, DL, Cond);
184 AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, argument
86 AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
97 BuildCondBr(MachineBasicBlock &MBB, MachineBasicBlock *TBB, DebugLoc DL, const SmallVectorImpl<MachineOperand>& Cond) const argument
[all...]
H A DMipsInstrInfo.h50 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
57 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
65 BranchType AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
134 void BuildCondBr(MachineBasicBlock &MBB, MachineBasicBlock *TBB, DebugLoc DL,
/freebsd-10-stable/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXInstrInfo.cpp152 /// just return false, leaving TBB/FBB null.
153 /// 2. If this block ends with only an unconditional branch, it sets TBB to be
156 /// an successor block, it sets TBB to be the branch destination block and a
161 /// block, it returns the 'true' destination in TBB, the 'false' destination
170 MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB,
183 TBB = LastInst->getOperand(0).getMBB();
187 TBB = LastInst->getOperand(1).getMBB();
205 TBB = SecondLastInst->getOperand(1).getMBB();
215 TBB = SecondLastInst->getOperand(0).getMBB();
251 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBloc
169 AnalyzeBranch( MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
250 InsertBranch( MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const argument
[all...]
H A DNVPTXInstrInfo.h65 MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB,
69 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB,
/freebsd-10-stable/contrib/llvm/lib/CodeGen/
H A DEarlyIfConversion.cpp71 // | [TF]BB FBB TBB
76 // Instructions in the conditional blocks TBB and/or FBB are spliced into the
93 MachineBasicBlock *TBB; member in class:__anon2255::SSAIfConv
98 /// isTriangle - When there is no 'else' block, either TBB or FBB will be
100 bool isTriangle() const { return TBB == Tail || FBB == Tail; }
103 MachineBasicBlock *getTPred() const { return TBB == Tail ? Head : TBB; }
135 /// Insertion point in Head for speculatively executed instructions form TBB
341 TBB = FBB = Tail = 0;
388 if (TII->AnalyzeBranch(*Head, TBB, FB
[all...]
H A DMachineBasicBlock.cpp391 MachineBasicBlock *TBB = 0, *FBB = 0;
394 bool B = TII->AnalyzeBranch(*this, TBB, FBB, Cond);
398 if (TBB) {
401 if (isLayoutSuccessor(TBB))
410 assert(!TBB && "Found more than one non-landing-pad successor!");
411 TBB = *SI;
416 if (!TBB)
421 if (!isLayoutSuccessor(TBB))
422 TII->InsertBranch(*this, TBB, 0, Cond, dl);
429 if (isLayoutSuccessor(TBB)) {
683 MachineBasicBlock *TBB = 0, *FBB = 0; local
[all...]
H A DBranchFolding.cpp197 MachineBasicBlock *MBB = I, *TBB = 0, *FBB = 0; local
199 if (!TII->AnalyzeBranch(*MBB, TBB, FBB, Cond, true))
200 MadeChange |= MBB->CorrectExtraCFGEdges(TBB, FBB, !Cond.empty());
462 MachineBasicBlock *TBB = 0, *FBB = 0; local
466 !TII->AnalyzeBranch(*CurMBB, TBB, FBB, Cond, true)) {
468 if (TBB == NextBB && !Cond.empty() && !FBB) {
893 MachineBasicBlock *TBB = 0, *FBB = 0; local
895 if (!TII->AnalyzeBranch(*PBB, TBB, FBB, Cond, true)) {
899 if (!Cond.empty() && TBB == IBB) {
915 if (TBB
1577 MachineBasicBlock *TBB = 0, *FBB = 0; local
[all...]
H A DMachineBlockPlacement.cpp890 MachineBasicBlock *TBB = 0, *FBB = 0; // For AnalyzeBranch. local
891 if (!TII->AnalyzeBranch(*BB, TBB, FBB, Cond) || !FI->canFallThrough())
992 MachineBasicBlock *TBB = 0, *FBB = 0; // For AnalyzeBranch. local
993 if (!TII->AnalyzeBranch(*PrevBB, TBB, FBB, Cond)) {
1009 TBB = FBB = 0;
1010 if (TII->AnalyzeBranch(*PrevBB, TBB, FBB, Cond)) {
1012 TBB = FBB = 0;
1018 if (TBB && !Cond.empty() && FBB &&
1019 MBPI->getEdgeWeight(PrevBB, FBB) > MBPI->getEdgeWeight(PrevBB, TBB) &&
1024 << " vs " << MBPI->getEdgeWeight(PrevBB, TBB) << "\
1037 MachineBasicBlock *TBB = 0, *FBB = 0; // For AnalyzeBranch. local
[all...]
/freebsd-10-stable/contrib/gcc/
H A Ddominance.c57 /* Type of Basic Block aka. TBB */
58 typedef unsigned int TBB; typedef
63 TBB and are also indexed by TBB. */
68 TBB *dfs_parent;
72 TBB *key;
75 TBB *path_min;
77 TBB *bucket;
79 TBB *next_bucket;
82 TBB *do
[all...]
/freebsd-10-stable/contrib/llvm/lib/Target/MSP430/
H A DMSP430InstrInfo.cpp173 MachineBasicBlock *&TBB,
203 TBB = I->getOperand(0).getMBB();
215 TBB = 0;
221 // TBB is used to indicate the unconditinal destination.
222 TBB = I->getOperand(0).getMBB();
235 FBB = TBB;
236 TBB = I->getOperand(0).getMBB();
244 assert(TBB);
248 if (TBB != I->getOperand(0).getMBB())
263 MSP430InstrInfo::InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, argument
172 AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
[all...]
H A DMSP430InstrInfo.h78 MachineBasicBlock *&TBB, MachineBasicBlock *&FBB,
83 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
/freebsd-10-stable/contrib/llvm/lib/Target/Sparc/
H A DSparcInstrInfo.h66 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
73 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
H A DSparcInstrInfo.cpp126 MachineBasicBlock *&TBB,
153 TBB = I->getOperand(0).getMBB();
164 TBB = 0;
171 TBB = I->getOperand(0).getMBB();
215 FBB = TBB;
216 TBB = I->getOperand(0).getMBB();
228 SparcInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB, argument
232 assert(TBB && "InsertBranch must not be told to insert a fallthrough");
238 BuildMI(&MBB, DL, get(SP::BA)).addMBB(TBB);
246 BuildMI(&MBB, DL, get(SP::BCOND)).addMBB(TBB)
125 AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
[all...]
/freebsd-10-stable/contrib/llvm/lib/Target/XCore/
H A DXCoreInstrInfo.h53 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
58 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
H A DXCoreInstrInfo.cpp173 /// just return false, leaving TBB/FBB null.
174 /// 2. If this block ends with only an unconditional branch, it sets TBB to be
177 /// an successor block, it sets TBB to be the branch destination block and a
182 /// block, it returns the 'true' destination in TBB, the 'false' destination
191 XCoreInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, argument
214 TBB = LastInst->getOperand(0).getMBB();
225 TBB = LastInst->getOperand(1).getMBB();
247 TBB = SecondLastInst->getOperand(1).getMBB();
259 TBB = SecondLastInst->getOperand(0).getMBB();
279 XCoreInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB, argument
[all...]
/freebsd-10-stable/contrib/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.h57 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
61 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
H A DAArch64InstrInfo.cpp157 /// setting TBB to the destination basic block and populating the Cond vector
161 static void classifyCondBranch(MachineInstr *I, MachineBasicBlock *&TBB, argument
173 TBB = I->getOperand(1).getMBB();
183 TBB = I->getOperand(2).getMBB();
192 AArch64InstrInfo::AnalyzeBranch(MachineBasicBlock &MBB,MachineBasicBlock *&TBB, argument
216 TBB = LastInst->getOperand(0).getMBB();
220 classifyCondBranch(LastInst, TBB, Cond);
239 TBB = LastInst->getOperand(0).getMBB();
255 TBB = SecondLastInst->getOperand(1).getMBB();
261 classifyCondBranch(SecondLastInst, TBB, Con
321 InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const argument
[all...]
/freebsd-10-stable/contrib/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.h115 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
120 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
H A DPPCInstrInfo.cpp229 bool PPCInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB,MachineBasicBlock *&TBB, argument
256 TBB = LastInst->getOperand(0).getMBB();
262 TBB = LastInst->getOperand(2).getMBB();
272 TBB = LastInst->getOperand(0).getMBB();
283 TBB = LastInst->getOperand(0).getMBB();
308 TBB = SecondLastInst->getOperand(2).getMBB();
321 TBB = SecondLastInst->getOperand(0).getMBB();
335 TBB = SecondLastInst->getOperand(0).getMBB();
349 TBB = SecondLastInst->getOperand(0).getMBB();
392 PPCInstrInfo::InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, argument
[all...]
/freebsd-10-stable/contrib/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.cpp242 MachineBasicBlock *&TBB,
278 TBB = Branch.Target->getMBB();
291 TBB = 0;
297 // TBB is used to indicate the unconditinal destination.
298 TBB = Branch.Target->getMBB();
305 FBB = TBB;
306 TBB = Branch.Target->getMBB();
313 assert(Cond.size() == 2 && TBB && "Should have seen a conditional branch");
317 if (TBB != Branch.Target->getMBB())
363 SystemZInstrInfo::InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, argument
241 AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
[all...]
H A DSystemZInstrInfo.h143 MachineBasicBlock *&TBB,
148 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
/freebsd-10-stable/contrib/llvm/lib/Transforms/Utils/
H A DFlattenCFG.cpp221 TerminatorInst *TBB = LastCondBlock->getTerminator();
222 BasicBlock *PS1 = TBB->getSuccessor(0);
223 BasicBlock *PS2 = TBB->getSuccessor(1);
/freebsd-10-stable/contrib/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.h60 virtual bool AnalyzeBranch(MachineBasicBlock &MBB,MachineBasicBlock *&TBB,
67 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
H A DHexagonInstrInfo.cpp119 HexagonInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB, argument
127 assert(TBB && "InsertBranch must not be told to insert a fallthrough");
154 return InsertBranch(MBB, TBB, 0, Cond, DL);
157 BuildMI(&MBB, DL, get(BOpc)).addMBB(TBB);
160 get(BccOpc)).addReg(Cond[regPos].getReg()).addMBB(TBB);
165 BuildMI(&MBB, DL, get(BccOpc)).addReg(Cond[regPos].getReg()).addMBB(TBB);
173 MachineBasicBlock *&TBB,
177 TBB = NULL;
250 TBB = LastInst->getOperand(0).getMBB();
254 TBB
172 AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
[all...]
/freebsd-10-stable/contrib/llvm/lib/Target/R600/
H A DR600InstrInfo.h153 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB,
156 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const;

Completed in 222 milliseconds

12