HomeSort by relevance Sort by last modified time
    Searched defs:TBB (Results 1 - 14 of 14) sorted by null

  /external/llvm/unittests/IR/
IRBuilderTest.cpp 82 BasicBlock *TBB = BasicBlock::Create(Ctx, "", F);
85 BranchInst *BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB);
89 EXPECT_EQ(TBB, TI->getSuccessor(0));
94 BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB, Weights);
98 EXPECT_EQ(TBB, TI->getSuccessor(0));
  /external/llvm/lib/Target/AArch64/
AArch64BranchRelaxation.cpp 406 MachineBasicBlock *TBB, *FBB;
408 TII->AnalyzeBranch(*MBB, TBB, FBB, Cond, false);
AArch64ConditionalCompares.cpp 270 // corresponding to TBB.
498 MachineBasicBlock *TBB = nullptr, *FBB = nullptr;
499 if (TII->AnalyzeBranch(*Head, TBB, FBB, HeadCond)) {
507 if (!TBB || HeadCond.empty()) {
520 if (TBB != CmpBB) {
521 assert(TBB == Tail && "Unexpected TBB");
526 TBB = FBB = nullptr;
527 if (TII->AnalyzeBranch(*CmpBB, TBB, FBB, CmpBBCond)) {
533 if (!TBB || CmpBBCond.empty())
    [all...]
AArch64FastISel.cpp 762 MachineBasicBlock *TBB = FuncInfo.MBBMap[BI->getSuccessor(0)];
779 .addMBB(TBB);
780 FuncInfo.MBB->addSuccessor(TBB);
812 if (FuncInfo.MBB->isLayoutSuccessor(TBB)) {
813 std::swap(TBB, FBB);
818 .addMBB(TBB);
819 FuncInfo.MBB->addSuccessor(TBB);
826 MachineBasicBlock *Target = (Imm == 0) ? FBB : TBB;
851 if (FuncInfo.MBB->isLayoutSuccessor(TBB)) {
852 std::swap(TBB, FBB)
    [all...]
  /external/llvm/lib/CodeGen/
EarlyIfConversion.cpp 72 // | [TF]BB FBB TBB
77 // Instructions in the conditional blocks TBB and/or FBB are spliced into the
94 MachineBasicBlock *TBB;
99 /// isTriangle - When there is no 'else' block, either TBB or FBB will be
101 bool isTriangle() const { return TBB == Tail || FBB == Tail; }
104 MachineBasicBlock *getTPred() const { return TBB == Tail ? Head : TBB; }
136 /// Insertion point in Head for speculatively executed instructions form TBB
342 TBB = FBB = Tail = nullptr;
389 if (TII->AnalyzeBranch(*Head, TBB, FBB, Cond))
    [all...]
MachineBasicBlock.cpp 397 MachineBasicBlock *TBB = nullptr, *FBB = nullptr;
400 bool B = TII->AnalyzeBranch(*this, TBB, FBB, Cond);
404 if (TBB) {
407 if (isLayoutSuccessor(TBB))
416 assert(!TBB && "Found more than one non-landing-pad successor!");
417 TBB = *SI;
422 if (!TBB)
427 if (!isLayoutSuccessor(TBB))
428 TII->InsertBranch(*this, TBB, nullptr, Cond, dl);
435 if (isLayoutSuccessor(TBB)) {
    [all...]
MachineBlockPlacement.cpp     [all...]
BranchFolding.cpp 205 MachineBasicBlock *MBB = I, *TBB = nullptr, *FBB = nullptr;
207 if (!TII->AnalyzeBranch(*MBB, TBB, FBB, Cond, true))
208 MadeChange |= MBB->CorrectExtraCFGEdges(TBB, FBB, !Cond.empty());
470 MachineBasicBlock *TBB = nullptr, *FBB = nullptr;
474 !TII->AnalyzeBranch(*CurMBB, TBB, FBB, Cond, true)) {
476 if (TBB == NextBB && !Cond.empty() && !FBB) {
    [all...]
MachineLICM.cpp 808 MachineBasicBlock *TBB = nullptr, *FBB = nullptr;
810 if (!TII->AnalyzeBranch(*BB, TBB, FBB, Cond, false) && Cond.empty())
    [all...]
MachineVerifier.cpp 555 MachineBasicBlock *TBB = nullptr, *FBB = nullptr;
558 TBB, FBB, Cond)) {
561 if (!TBB && !FBB) {
589 } else if (TBB && !FBB && Cond.empty()) {
594 } else if (!MBB->isSuccessor(TBB)) {
608 } else if (TBB && !FBB && !Cond.empty()) {
616 if (&*MBBI != TBB)
619 else if (TBB != *MBB->succ_begin())
625 } else if (!matchPair(MBB->succ_begin(), TBB, MBBI)) {
639 } else if (TBB && FBB)
    [all...]
IfConversion.cpp 88 /// TargetInstrInfo::AnalyzeBranch() (i.e. TBB, FBB, and Cond), and its
223 bool MeetIfcvtSizeLimit(MachineBasicBlock &TBB,
229 TII->isProfitableToIfCvt(TBB, TCycle, TExtra, FBB, FCycle, FExtra,
823 // TBB FBB
840 // | TBB
863 // | TBB---> exit
    [all...]
  /external/llvm/lib/Target/Mips/
MipsSEISelLowering.cpp     [all...]
  /external/llvm/lib/Target/PowerPC/
PPCFastISel.cpp 685 MachineBasicBlock *TBB = FuncInfo.MBBMap[BI->getSuccessor(0)];
697 if (FuncInfo.MBB->isLayoutSuccessor(TBB)) {
698 std::swap(TBB, FBB);
709 .addImm(PPCPred).addReg(CondReg).addMBB(TBB);
711 FuncInfo.MBB->addSuccessor(TBB);
717 MachineBasicBlock *Target = (Imm == 0) ? FBB : TBB;
    [all...]
  /external/llvm/lib/Target/ARM/
ARMFastISel.cpp     [all...]

Completed in 459 milliseconds