Searched defs:FBB (Results 1 - 25 of 28) sorted by relevance

12

/external/llvm/lib/Target/MSP430/
H A DMSP430InstrInfo.cpp174 MachineBasicBlock *&FBB,
211 FBB = nullptr;
235 FBB = TBB;
264 MachineBasicBlock *FBB,
274 assert(!FBB && "Unconditional branch with multiple successors!");
284 if (FBB) {
286 BuildMI(&MBB, DL, get(MSP430::JMP)).addMBB(FBB);
172 AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
263 InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const argument
/external/llvm/lib/Target/NVPTX/
H A DNVPTXInstrInfo.cpp153 /// just return false, leaving TBB/FBB null.
163 /// in FBB, and a list of operands that evaluate the condition. These
171 MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB,
208 FBB = LastInst->getOperand(0).getMBB();
252 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB,
260 if (!FBB) {
271 BuildMI(&MBB, DL, get(NVPTX::GOTO)).addMBB(FBB);
170 AnalyzeBranch( MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
251 InsertBranch( MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const argument
/external/llvm/unittests/IR/
H A DIRBuilderTest.cpp83 BasicBlock *FBB = BasicBlock::Create(Ctx, "", F); local
85 BranchInst *BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB);
90 EXPECT_EQ(FBB, TI->getSuccessor(1));
94 BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB, Weights);
99 EXPECT_EQ(FBB, TI->getSuccessor(1));
/external/llvm/lib/Target/AArch64/
H A DAArch64BranchRelaxation.cpp406 MachineBasicBlock *TBB, *FBB; local
408 TII->AnalyzeBranch(*MBB, TBB, FBB, Cond, false);
420 MBB->replaceSuccessor(FBB, NewBB);
421 NewBB->addSuccessor(FBB);
H A DAArch64ConditionalCompares.cpp498 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; local
499 if (TII->AnalyzeBranch(*Head, TBB, FBB, HeadCond)) {
526 TBB = FBB = nullptr;
527 if (TII->AnalyzeBranch(*CmpBB, TBB, FBB, CmpBBCond)) {
H A DAArch64InstrInfo.cpp94 MachineBasicBlock *&FBB,
157 FBB = LastInst->getOperand(0).getMBB();
272 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB,
277 if (!FBB) {
287 BuildMI(&MBB, DL, get(AArch64::B)).addMBB(FBB);
92 AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
271 InsertBranch( MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const argument
H A DAArch64FastISel.cpp763 MachineBasicBlock *FBB = FuncInfo.MBBMap[BI->getSuccessor(1)]; local
782 FastEmitBranch(FBB, DbgLoc);
813 std::swap(TBB, FBB);
820 FastEmitBranch(FBB, DbgLoc);
826 MachineBasicBlock *Target = (Imm == 0) ? FBB : TBB;
852 std::swap(TBB, FBB);
860 FastEmitBranch(FBB, DbgLoc);
/external/llvm/lib/Target/Mips/
H A DMipsInstrInfo.cpp88 MachineBasicBlock *&FBB,
92 BranchType BT = AnalyzeBranch(MBB, TBB, FBB, Cond, AllowModify, BranchInstrs);
118 MachineBasicBlock *FBB,
133 if (FBB) {
135 BuildMI(&MBB, DL, get(UncondBrOpc)).addMBB(FBB);
185 MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond,
197 // Leave TBB/FBB null.
198 TBB = FBB = nullptr;
262 FBB = LastInst->getOperand(0).getMBB();
86 AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
117 InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const argument
184 AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify, SmallVectorImpl<MachineInstr*> &BranchInstrs) const argument
/external/llvm/lib/Target/Sparc/
H A DSparcInstrInfo.cpp130 MachineBasicBlock *&FBB,
164 FBB = nullptr;
218 FBB = TBB;
232 MachineBasicBlock *FBB,
240 assert(!FBB && "Unconditional branch with multiple successors!");
252 if (!FBB)
255 BuildMI(&MBB, DL, get(SP::BA)).addMBB(FBB);
128 AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
231 InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const argument
/external/llvm/lib/Target/XCore/
H A DXCoreInstrInfo.cpp176 /// just return false, leaving TBB/FBB null.
186 /// in FBB, and a list of operands that evaluate the condition. These
195 MachineBasicBlock *&FBB,
254 FBB = LastInst->getOperand(0).getMBB();
283 MachineBasicBlock *FBB,
291 if (!FBB) { // One way branch.
309 BuildMI(&MBB, DL, get(XCore::BRFU_lu6)).addMBB(FBB);
194 AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
282 InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const argument
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DR600InstrInfo.cpp179 MachineBasicBlock *&FBB,
239 FBB = LastInst->getOperand(0).getMBB();
263 MachineBasicBlock *FBB,
269 if (FBB == 0) {
292 BuildMI(&MBB, DL, get(AMDGPU::JUMP)).addMBB(FBB).addReg(0);
177 AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
261 InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const argument
/external/mesa3d/src/gallium/drivers/radeon/
H A DR600InstrInfo.cpp179 MachineBasicBlock *&FBB,
239 FBB = LastInst->getOperand(0).getMBB();
263 MachineBasicBlock *FBB,
269 if (FBB == 0) {
292 BuildMI(&MBB, DL, get(AMDGPU::JUMP)).addMBB(FBB).addReg(0);
177 AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
261 InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const argument
/external/llvm/lib/CodeGen/
H A DEarlyIfConversion.cpp72 // | [TF]BB FBB TBB
77 // Instructions in the conditional blocks TBB and/or FBB are spliced into the
97 MachineBasicBlock *FBB; member in class:__anon25739::SSAIfConv
99 /// isTriangle - When there is no 'else' block, either TBB or FBB will be
101 bool isTriangle() const { return TBB == Tail || FBB == Tail; }
107 MachineBasicBlock *getFPred() const { return FBB == Tail ? Head : FBB; }
137 /// and FBB.
342 TBB = FBB = Tail = nullptr;
389 if (TII->AnalyzeBranch(*Head, TBB, FBB, Con
[all...]
H A DMachineBlockPlacement.cpp887 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; // For AnalyzeBranch. local
888 if (!TII->AnalyzeBranch(*BB, TBB, FBB, Cond) || !FI->canFallThrough())
991 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; // For AnalyzeBranch. local
992 if (!TII->AnalyzeBranch(*PrevBB, TBB, FBB, Cond)) {
998 // AnalyzeBranch() may return erroneous value for FBB when these two
999 // situations take place. For the first scenario FBB is mistakenly set
1000 // NULL; for the 2nd scenario, the FBB, which is expected to be NULL,
1004 if (!Cond.empty() && (!FBB || FBB == *BI)) {
1008 TBB = FBB
1036 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; // For AnalyzeBranch. local
[all...]
H A DBranchFolding.cpp205 MachineBasicBlock *MBB = I, *TBB = nullptr, *FBB = nullptr; local
207 if (!TII->AnalyzeBranch(*MBB, TBB, FBB, Cond, true))
208 MadeChange |= MBB->CorrectExtraCFGEdges(TBB, FBB, !Cond.empty());
470 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; local
474 !TII->AnalyzeBranch(*CurMBB, TBB, FBB, Cond, true)) {
476 if (TBB == NextBB && !Cond.empty() && !FBB) {
900 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; local
902 if (!TII->AnalyzeBranch(*PBB, TBB, FBB, Cond, true)) {
910 if (!FBB)
911 FBB
1593 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; local
[all...]
H A DMachineBasicBlock.cpp397 MachineBasicBlock *TBB = nullptr, *FBB = nullptr;
400 bool B = TII->AnalyzeBranch(*this, TBB, FBB, Cond);
431 if (FBB) {
439 TII->InsertBranch(*this, FBB, nullptr, Cond, dl);
440 } else if (isLayoutSuccessor(FBB)) {
646 MachineBasicBlock *TBB = nullptr, *FBB = nullptr;
649 if (TII->AnalyzeBranch(*this, TBB, FBB, Cond)) {
664 MachineFunction::iterator(FBB) == Fallthrough)
673 return FBB == nullptr;
694 MachineBasicBlock *TBB = nullptr, *FBB local
[all...]
H A DMachineLICM.cpp808 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; local
810 if (!TII->AnalyzeBranch(*BB, TBB, FBB, Cond, false) && Cond.empty())
H A DIfConversion.cpp88 /// TargetInstrInfo::AnalyzeBranch() (i.e. TBB, FBB, and Cond), and its
225 MachineBasicBlock &FBB,
229 TII->isProfitableToIfCvt(TBB, TCycle, TExtra, FBB, FCycle, FExtra,
823 // TBB FBB
842 // FBB
865 // FBB
965 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; local
967 if (!TII->AnalyzeBranch(*BBI.BB, TBB, FBB, Cond))
968 BBI.BB->CorrectExtraCFGEdges(TBB, FBB, !Cond.empty());
223 MeetIfcvtSizeLimit(MachineBasicBlock &TBB, unsigned TCycle, unsigned TExtra, MachineBasicBlock &FBB, unsigned FCycle, unsigned FExtra, const BranchProbability &Prediction) const argument
H A DMachineVerifier.cpp555 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; local
558 TBB, FBB, Cond)) {
561 if (!TBB && !FBB) {
589 } else if (TBB && !FBB && Cond.empty()) {
608 } else if (TBB && !FBB && !Cond.empty()) {
639 } else if (TBB && FBB) {
644 if (FBB != TBB)
653 } else if (!matchPair(MBB->succ_begin(), TBB, FBB)) {
/external/llvm/include/llvm/Target/
H A DTargetInstrInfo.h279 /// just return false, leaving TBB/FBB null.
288 /// 'false' destination in FBB, and a list of operands that evaluate the
299 MachineBasicBlock *&FBB,
323 MachineBasicBlock *FBB,
298 AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify = false) const argument
322 InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const argument
/external/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.cpp243 MachineBasicBlock *&FBB,
287 FBB = nullptr;
305 FBB = TBB;
364 MachineBasicBlock *FBB,
378 assert(!FBB && "Unconditional branch with multiple successors!");
391 if (FBB) {
393 BuildMI(&MBB, DL, get(SystemZ::J)).addMBB(FBB);
241 AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
363 InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const argument
/external/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.cpp123 MachineBasicBlock *FBB,
141 if (!FBB) {
169 BuildMI(&MBB, DL, get(BOpc)).addMBB(FBB);
177 MachineBasicBlock *&FBB,
181 FBB = nullptr;
282 FBB = LastInst->getOperand(0).getMBB();
301 FBB = LastInst->getOperand(0).getMBB();
122 InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const argument
175 AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
/external/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp686 MachineBasicBlock *FBB = FuncInfo.MBBMap[BI->getSuccessor(1)]; local
698 std::swap(TBB, FBB);
710 FastEmitBranch(FBB, DbgLoc);
717 MachineBasicBlock *Target = (Imm == 0) ? FBB : TBB;
H A DPPCInstrInfo.cpp338 MachineBasicBlock *&FBB,
435 FBB = LastInst->getOperand(0).getMBB();
445 FBB = LastInst->getOperand(0).getMBB();
455 FBB = LastInst->getOperand(0).getMBB();
469 FBB = LastInst->getOperand(0).getMBB();
483 FBB = LastInst->getOperand(0).getMBB();
539 MachineBasicBlock *FBB,
550 if (!FBB) {
579 BuildMI(&MBB, DL, get(PPC::B)).addMBB(FBB);
337 AnalyzeBranch(MachineBasicBlock &MBB,MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
538 InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const argument
/external/llvm/lib/Target/ARM/
H A DARMFastISel.cpp1250 MachineBasicBlock *FBB = FuncInfo.MBBMap[BI->getSuccessor(1)]; local
1263 std::swap(TBB, FBB);
1279 FastEmitBranch(FBB, DbgLoc);
1296 std::swap(TBB, FBB);
1304 FastEmitBranch(FBB, DbgLoc);
1311 MachineBasicBlock *Target = (Imm == 0) ? FBB : TBB;
1335 std::swap(TBB, FBB);
1342 FastEmitBranch(FBB, DbgLoc);

Completed in 1880 milliseconds

12