Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DIfConversion.cpp116 MachineBasicBlock *TrueBB; member
124 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/CodeGen/
DIfConversion.cpp125 MachineBasicBlock *TrueBB; member
133 ExtraCost(0), ExtraCost2(0), BB(nullptr), TrueBB(nullptr), in BBInfo()
247 return BBI.IsBrAnalyzable && BBI.TrueBB == nullptr; in blockAlwaysFallThrough()
360 : BBI.TrueBB->getNumber()) << ") "); in INITIALIZE_PASS_DEPENDENCY()
385 << BBI.TrueBB->getNumber() << ",F:" in INITIALIZE_PASS_DEPENDENCY()
403 << BBI.TrueBB->getNumber() << ",F:" in INITIALIZE_PASS_DEPENDENCY()
441 MachineBasicBlock *TrueBB) { in findFalseBlock() argument
445 if (SuccBB != TrueBB) in findFalseBlock()
457 TII->InsertBranch(*BBI.BB, BBI.FalseBB, BBI.TrueBB, BBI.BrCond, dl); in ReverseBranchCondition()
458 std::swap(BBI.TrueBB, BBI.FalseBB); in ReverseBranchCondition()
[all …]
DBranchFolding.cpp1638 MachineBasicBlock *TrueBB) { in findFalseBlock() argument
1640 if (SuccBB != TrueBB) in findFalseBlock()
/external/llvm/lib/Target/Mips/
DMipsDelaySlotFiller.cpp813 MachineBasicBlock *TrueBB = nullptr, *FalseBB = nullptr; in getBranch() local
818 TII->analyzeBranch(MBB, TrueBB, FalseBB, Cond, false, BranchInstrs); in getBranch()
827 assert(((R != MipsInstrInfo::BT_Uncond) || (TrueBB == &Dst))); in getBranch()
832 assert((TrueBB == &Dst) || (FalseBB == &Dst)); in getBranch()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSimplifyCFG.cpp1831 BasicBlock *TrueBB, BasicBlock *FalseBB){ in SimplifyTerminatorOnSelect() argument
1836 BasicBlock *KeepEdge1 = TrueBB; in SimplifyTerminatorOnSelect()
1837 BasicBlock *KeepEdge2 = TrueBB != FalseBB ? FalseBB : 0; in SimplifyTerminatorOnSelect()
1856 if (TrueBB == FalseBB) in SimplifyTerminatorOnSelect()
1859 Builder.CreateBr(TrueBB); in SimplifyTerminatorOnSelect()
1863 Builder.CreateCondBr(Cond, TrueBB, FalseBB); in SimplifyTerminatorOnSelect()
1864 } else if (KeepEdge1 && (KeepEdge2 || TrueBB == FalseBB)) { in SimplifyTerminatorOnSelect()
1874 Builder.CreateBr(TrueBB); in SimplifyTerminatorOnSelect()
1897 BasicBlock *TrueBB = SI->getSuccessor(SI->findCaseValue(TrueVal)); in SimplifySwitchOnSelect() local
1901 return SimplifyTerminatorOnSelect(SI, Condition, TrueBB, FalseBB); in SimplifySwitchOnSelect()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h212 TrueBB(truebb), FalseBB(falsebb), ThisBB(me), in CC()
224 MachineBasicBlock *TrueBB, *FalseBB; member
DSelectionDAGBuilder.cpp1436 if (Cases[0].CC == ISD::SETEQ && Cases[0].TrueBB == Cases[1].ThisBB) in ShouldEmitAsBranches()
1576 addSuccessorWithWeight(SwitchBB, CB.TrueBB, CB.TrueWeight); in visitSwitchCase()
1588 if (CB.TrueBB == NextBlock) { in visitSwitchCase()
1589 std::swap(CB.TrueBB, CB.FalseBB); in visitSwitchCase()
1596 DAG.getBasicBlock(CB.TrueBB)); in visitSwitchCase()
2194 MachineBasicBlock *FalseBB = 0, *TrueBB = 0; in handleBTSplitSwitchCase() local
2206 TrueBB = LHSR.first->BB; in handleBTSplitSwitchCase()
2208 TrueBB = CurMF->CreateMachineBasicBlock(LLVMBB); in handleBTSplitSwitchCase()
2209 CurMF->insert(BBI, TrueBB); in handleBTSplitSwitchCase()
2210 WorkList.push_back(CaseRec(TrueBB, C, CR.GE, LHSR)); in handleBTSplitSwitchCase()
[all …]
DSelectionDAGISel.cpp1174 Succs.push_back(SDB->SwitchCases[i].TrueBB); in FinishBasicBlock()
1175 if (SDB->SwitchCases[i].TrueBB != SDB->SwitchCases[i].FalseBB) in FinishBasicBlock()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp3008 BasicBlock *TrueBB, BasicBlock *FalseBB, in SimplifyTerminatorOnSelect() argument
3015 BasicBlock *KeepEdge1 = TrueBB; in SimplifyTerminatorOnSelect()
3016 BasicBlock *KeepEdge2 = TrueBB != FalseBB ? FalseBB : nullptr; in SimplifyTerminatorOnSelect()
3035 if (TrueBB == FalseBB) in SimplifyTerminatorOnSelect()
3038 Builder.CreateBr(TrueBB); in SimplifyTerminatorOnSelect()
3042 BranchInst *NewBI = Builder.CreateCondBr(Cond, TrueBB, FalseBB); in SimplifyTerminatorOnSelect()
3048 } else if (KeepEdge1 && (KeepEdge2 || TrueBB == FalseBB)) { in SimplifyTerminatorOnSelect()
3058 Builder.CreateBr(TrueBB); in SimplifyTerminatorOnSelect()
3081 BasicBlock *TrueBB = SI->findCaseValue(TrueVal).getCaseSuccessor(); in SimplifySwitchOnSelect() local
3099 return SimplifyTerminatorOnSelect(SI, Condition, TrueBB, FalseBB, TrueWeight, in SimplifySwitchOnSelect()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h225 TrueBB(truebb), FalseBB(falsebb), ThisBB(me), TrueProb(trueprob), in CC()
237 MachineBasicBlock *TrueBB, *FalseBB; member
DSelectionDAGISel.cpp1793 Succs.push_back(SDB->SwitchCases[i].TrueBB); in FinishBasicBlock()
1794 if (SDB->SwitchCases[i].TrueBB != SDB->SwitchCases[i].FalseBB) in FinishBasicBlock()
DSelectionDAGBuilder.cpp1775 if (Cases[0].CC == ISD::SETEQ && Cases[0].TrueBB == Cases[1].ThisBB) in ShouldEmitAsBranches()
1912 addSuccessorWithProb(SwitchBB, CB.TrueBB, CB.TrueProb); in visitSwitchCase()
1915 if (CB.TrueBB != CB.FalseBB) in visitSwitchCase()
1921 if (CB.TrueBB == NextBlock(SwitchBB)) { in visitSwitchCase()
1922 std::swap(CB.TrueBB, CB.FalseBB); in visitSwitchCase()
1929 DAG.getBasicBlock(CB.TrueBB)); in visitSwitchCase()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp2046 BasicBlock *TrueBB, *FalseBB; in tryToMoveFreeBeforeNullTest() local
2048 if (!match(TI, m_Br(m_ICmp(Pred, m_Specific(Op), m_Zero()), TrueBB, FalseBB))) in tryToMoveFreeBeforeNullTest()
2054 if (SuccBB != (Pred == ICmpInst::ICMP_EQ ? TrueBB : FalseBB)) in tryToMoveFreeBeforeNullTest()
2056 assert(FreeInstrBB == (Pred == ICmpInst::ICMP_EQ ? FalseBB : TrueBB) && in tryToMoveFreeBeforeNullTest()
DInstCombineCompares.cpp3336 BasicBlock *TrueBB, *FalseBB; in visitICmpInst() local
3339 TrueBB, FalseBB)) && in visitICmpInst()
3340 TrueBB != FalseBB) { in visitICmpInst()
3344 (Parent == TrueBB) in visitICmpInst()
/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp1902 BasicBlock *TrueBB, *FalseBB; in findExistingExpansion() local
1906 TrueBB, FalseBB))) in findExistingExpansion()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp989 MachineBasicBlock *TrueBB = MF->CreateMachineBasicBlock(LLVM_BB); in EmitF128CSEL() local
991 MF->insert(It, TrueBB); in EmitF128CSEL()
999 BuildMI(MBB, DL, TII->get(AArch64::Bcc)).addImm(CondCode).addMBB(TrueBB); in EmitF128CSEL()
1001 MBB->addSuccessor(TrueBB); in EmitF128CSEL()
1005 TrueBB->addSuccessor(EndBB); in EmitF128CSEL()
1008 TrueBB->addLiveIn(AArch64::NZCV); in EmitF128CSEL()
1014 .addMBB(TrueBB) in EmitF128CSEL()