Home
last modified time | relevance | path

Searched refs:TrueBB (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/CodeGen/
DIfConversion.cpp117 MachineBasicBlock *TrueBB; member
125 ExtraCost(0), ExtraCost2(0), BB(0), TrueBB(0), FalseBB(0) {} in BBInfo()
224 return BBI.IsBrAnalyzable && BBI.TrueBB == NULL; in blockAlwaysFallThrough()
327 : BBI.TrueBB->getNumber()) << ") "); in runOnMachineFunction()
352 << BBI.TrueBB->getNumber() << ",F:" in runOnMachineFunction()
370 << BBI.TrueBB->getNumber() << ",F:" in runOnMachineFunction()
416 MachineBasicBlock *TrueBB) { in findFalseBlock() argument
420 if (SuccBB != TrueBB) in findFalseBlock()
432 TII->InsertBranch(*BBI.BB, BBI.FalseBB, BBI.TrueBB, BBI.BrCond, dl); in ReverseBranchCondition()
433 std::swap(BBI.TrueBB, BBI.FalseBB); in ReverseBranchCondition()
[all …]
DBranchFolding.cpp1413 MachineBasicBlock *TrueBB) { in findFalseBlock() argument
1417 if (SuccBB != TrueBB) in findFalseBlock()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp1830 BasicBlock *TrueBB, BasicBlock *FalseBB){ in SimplifyTerminatorOnSelect() argument
1835 BasicBlock *KeepEdge1 = TrueBB; in SimplifyTerminatorOnSelect()
1836 BasicBlock *KeepEdge2 = TrueBB != FalseBB ? FalseBB : 0; in SimplifyTerminatorOnSelect()
1855 if (TrueBB == FalseBB) in SimplifyTerminatorOnSelect()
1858 Builder.CreateBr(TrueBB); in SimplifyTerminatorOnSelect()
1862 Builder.CreateCondBr(Cond, TrueBB, FalseBB); in SimplifyTerminatorOnSelect()
1863 } else if (KeepEdge1 && (KeepEdge2 || TrueBB == FalseBB)) { in SimplifyTerminatorOnSelect()
1873 Builder.CreateBr(TrueBB); in SimplifyTerminatorOnSelect()
1896 BasicBlock *TrueBB = SI->getSuccessor(SI->findCaseValue(TrueVal)); in SimplifySwitchOnSelect() local
1900 return SimplifyTerminatorOnSelect(SI, Condition, TrueBB, FalseBB); in SimplifySwitchOnSelect()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h208 TrueBB(truebb), FalseBB(falsebb), ThisBB(me) {} in CaseBlock()
216 MachineBasicBlock *TrueBB, *FalseBB; member
DSelectionDAGBuilder.cpp1421 if (Cases[0].CC == ISD::SETEQ && Cases[0].TrueBB == Cases[1].ThisBB) in ShouldEmitAsBranches()
1561 addSuccessorWithWeight(SwitchBB, CB.TrueBB); in visitSwitchCase()
1573 if (CB.TrueBB == NextBlock) { in visitSwitchCase()
1574 std::swap(CB.TrueBB, CB.FalseBB); in visitSwitchCase()
1581 DAG.getBasicBlock(CB.TrueBB)); in visitSwitchCase()
2131 MachineBasicBlock *FalseBB = 0, *TrueBB = 0; in handleBTSplitSwitchCase() local
2143 TrueBB = LHSR.first->BB; in handleBTSplitSwitchCase()
2145 TrueBB = CurMF->CreateMachineBasicBlock(LLVMBB); in handleBTSplitSwitchCase()
2146 CurMF->insert(BBI, TrueBB); in handleBTSplitSwitchCase()
2147 WorkList.push_back(CaseRec(TrueBB, C, CR.GE, LHSR)); in handleBTSplitSwitchCase()
[all …]
DSelectionDAGISel.cpp1157 Succs.push_back(SDB->SwitchCases[i].TrueBB); in FinishBasicBlock()
1158 if (SDB->SwitchCases[i].TrueBB != SDB->SwitchCases[i].FalseBB) in FinishBasicBlock()