/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | IfConversion.cpp | 116 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 …]
|
D | BranchFolding.cpp | 1413 MachineBasicBlock *TrueBB) { in findFalseBlock() argument 1417 if (SuccBB != TrueBB) in findFalseBlock()
|
/external/llvm/lib/CodeGen/ |
D | IfConversion.cpp | 125 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 …]
|
D | BranchFolding.cpp | 1638 MachineBasicBlock *TrueBB) { in findFalseBlock() argument 1640 if (SuccBB != TrueBB) in findFalseBlock()
|
/external/llvm/lib/Target/Mips/ |
D | MipsDelaySlotFiller.cpp | 813 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/ |
D | SimplifyCFG.cpp | 1831 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/ |
D | SelectionDAGBuilder.h | 212 TrueBB(truebb), FalseBB(falsebb), ThisBB(me), in CC() 224 MachineBasicBlock *TrueBB, *FalseBB; member
|
D | SelectionDAGBuilder.cpp | 1436 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 …]
|
D | SelectionDAGISel.cpp | 1174 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/ |
D | SimplifyCFG.cpp | 3008 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/ |
D | SelectionDAGBuilder.h | 225 TrueBB(truebb), FalseBB(falsebb), ThisBB(me), TrueProb(trueprob), in CC() 237 MachineBasicBlock *TrueBB, *FalseBB; member
|
D | SelectionDAGISel.cpp | 1793 Succs.push_back(SDB->SwitchCases[i].TrueBB); in FinishBasicBlock() 1794 if (SDB->SwitchCases[i].TrueBB != SDB->SwitchCases[i].FalseBB) in FinishBasicBlock()
|
D | SelectionDAGBuilder.cpp | 1775 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/ |
D | InstructionCombining.cpp | 2046 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()
|
D | InstCombineCompares.cpp | 3336 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/ |
D | ScalarEvolutionExpander.cpp | 1902 BasicBlock *TrueBB, *FalseBB; in findExistingExpansion() local 1906 TrueBB, FalseBB))) in findExistingExpansion()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 989 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()
|