Home
last modified time | relevance | path

Searched refs:FalseBB (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/CodeGen/
DIfConversion.cpp124 MachineBasicBlock *FalseBB; member
132 FalseBB(nullptr) {} in BBInfo()
346 ? BBI.FalseBB->getNumber() in INITIALIZE_PASS_DEPENDENCY()
373 << BBI.FalseBB->getNumber() << ") "); in INITIALIZE_PASS_DEPENDENCY()
391 << BBI.FalseBB->getNumber() << ") "); in INITIALIZE_PASS_DEPENDENCY()
452 TII->InsertBranch(*BBI.BB, BBI.FalseBB, BBI.TrueBB, BBI.BrCond, dl); in ReverseBranchCondition()
453 std::swap(BBI.TrueBB, BBI.FalseBB); in ReverseBranchCondition()
517 ? TrueBBI.TrueBB : TrueBBI.FalseBB; in ValidTriangle()
528 MachineBasicBlock *TExit = FalseBranch ? TrueBBI.FalseBB : TrueBBI.TrueBB; in ValidTriangle()
562 if (TrueBBI.FalseBB || FalseBBI.FalseBB || in ValidDiamond()
[all …]
/external/llvm/lib/Target/Mips/
DMipsDelaySlotFiller.cpp671 MachineBasicBlock *TrueBB = nullptr, *FalseBB = nullptr; in getBranch() local
676 TII->AnalyzeBranch(MBB, TrueBB, FalseBB, Cond, false, BranchInstrs); in getBranch()
690 assert((TrueBB == &Dst) || (FalseBB == &Dst)); in getBranch()
697 if (hasUnoccupiedSlot(BranchInstrs[1]) && (FalseBB == &Dst)) in getBranch()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h215 TrueBB(truebb), FalseBB(falsebb), ThisBB(me), in CC()
227 MachineBasicBlock *TrueBB, *FalseBB; member
DSelectionDAGBuilder.cpp1549 if (Cases[0].CC == ISD::SETNE && Cases[0].FalseBB == Cases[1].ThisBB) in ShouldEmitAsBranches()
1692 if (CB.TrueBB != CB.FalseBB) in visitSwitchCase()
1693 addSuccessorWithWeight(SwitchBB, CB.FalseBB, CB.FalseWeight); in visitSwitchCase()
1705 std::swap(CB.TrueBB, CB.FalseBB); in visitSwitchCase()
1718 DAG.getBasicBlock(CB.FalseBB)); in visitSwitchCase()
2427 MachineBasicBlock *FalseBB = nullptr, *TrueBB = nullptr; in handleBTSplitSwitchCase() local
2456 FalseBB = RHSR.first->BB; in handleBTSplitSwitchCase()
2458 FalseBB = CurMF->CreateMachineBasicBlock(LLVMBB); in handleBTSplitSwitchCase()
2459 CurMF->insert(BBI, FalseBB); in handleBTSplitSwitchCase()
2460 WorkList.push_back(CaseRec(FalseBB,CR.LT,C,RHSR)); in handleBTSplitSwitchCase()
[all …]
DSelectionDAGISel.cpp1541 if (SDB->SwitchCases[i].TrueBB != SDB->SwitchCases[i].FalseBB) in FinishBasicBlock()
1542 Succs.push_back(SDB->SwitchCases[i].FalseBB); in FinishBasicBlock()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2517 BasicBlock *TrueBB, BasicBlock *FalseBB, in SimplifyTerminatorOnSelect() argument
2525 BasicBlock *KeepEdge2 = TrueBB != FalseBB ? FalseBB : nullptr; in SimplifyTerminatorOnSelect()
2544 if (TrueBB == FalseBB) in SimplifyTerminatorOnSelect()
2551 BranchInst *NewBI = Builder.CreateCondBr(Cond, TrueBB, FalseBB); in SimplifyTerminatorOnSelect()
2557 } else if (KeepEdge1 && (KeepEdge2 || TrueBB == FalseBB)) { in SimplifyTerminatorOnSelect()
2570 Builder.CreateBr(FalseBB); in SimplifyTerminatorOnSelect()
2591 BasicBlock *FalseBB = SI->findCaseValue(FalseVal).getCaseSuccessor(); in SimplifySwitchOnSelect() local
2608 return SimplifyTerminatorOnSelect(SI, Condition, TrueBB, FalseBB, in SimplifySwitchOnSelect()
2626 BasicBlock *FalseBB = FBA->getBasicBlock(); in SimplifyIndirectBrOnSelect() local
2629 return SimplifyTerminatorOnSelect(IBI, SI->getCondition(), TrueBB, FalseBB, in SimplifyIndirectBrOnSelect()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1881 BasicBlock *TrueBB, *FalseBB; in tryToMoveFreeBeforeNullTest() local
1883 if (!match(TI, m_Br(m_ICmp(Pred, m_Specific(Op), m_Zero()), TrueBB, FalseBB))) in tryToMoveFreeBeforeNullTest()
1889 if (SuccBB != (Pred == ICmpInst::ICMP_EQ ? TrueBB : FalseBB)) in tryToMoveFreeBeforeNullTest()
1891 assert(FreeInstrBB == (Pred == ICmpInst::ICMP_EQ ? FalseBB : TrueBB) && in tryToMoveFreeBeforeNullTest()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp12990 SDValue FalseBB = User->getOperand(1); in LowerBRCOND() local
12995 Dest = FalseBB; in LowerBRCOND()
13031 SDValue FalseBB = User->getOperand(1); in LowerBRCOND() local
13036 Dest = FalseBB; in LowerBRCOND()
13062 SDValue FalseBB = User->getOperand(1); in LowerBRCOND() local
13077 Dest = FalseBB; in LowerBRCOND()