/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/ |
D | SSAUpdaterBulk.cpp | 50 BasicBlock *FalseBB = BasicBlock::Create(C, "false", F); in TEST() local 54 B.CreateCondBr(B.getTrue(), TrueBB, FalseBB); in TEST() 61 B.SetInsertPoint(FalseBB); in TEST() 78 Updater.AddAvailableValue(VarNum, FalseBB, AddOp2); in TEST() 84 Updater.AddAvailableValue(VarNum, FalseBB, SubOp2); in TEST() 95 EXPECT_EQ(UpdatePhiA->getIncomingValueForBlock(FalseBB), AddOp2); in TEST() 101 EXPECT_EQ(UpdatePhiB->getIncomingValueForBlock(FalseBB), SubOp2); in TEST()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | IfConversion.cpp | 117 MachineBasicBlock *FalseBB; member 124 ExtraCost(0), ExtraCost2(0), BB(0), TrueBB(0), FalseBB(0) {} in BBInfo() 326 ? BBI.FalseBB->getNumber() in runOnMachineFunction() 353 << BBI.FalseBB->getNumber() << ") "); in runOnMachineFunction() 371 << BBI.FalseBB->getNumber() << ") "); in runOnMachineFunction() 432 TII->InsertBranch(*BBI.BB, BBI.FalseBB, BBI.TrueBB, BBI.BrCond, dl); in ReverseBranchCondition() 433 std::swap(BBI.TrueBB, BBI.FalseBB); in ReverseBranchCondition() 497 ? TrueBBI.TrueBB : TrueBBI.FalseBB; in ValidTriangle() 508 MachineBasicBlock *TExit = FalseBranch ? TrueBBI.FalseBB : TrueBBI.TrueBB; in ValidTriangle() 542 if (TrueBBI.FalseBB || FalseBBI.FalseBB || in ValidDiamond() [all …]
|
/external/llvm/lib/CodeGen/ |
D | IfConversion.cpp | 126 MachineBasicBlock *FalseBB; member 134 FalseBB(nullptr) {} in BBInfo() 359 ? BBI.FalseBB->getNumber() in INITIALIZE_PASS_DEPENDENCY() 386 << BBI.FalseBB->getNumber() << ") "); in INITIALIZE_PASS_DEPENDENCY() 404 << BBI.FalseBB->getNumber() << ") "); in INITIALIZE_PASS_DEPENDENCY() 457 TII->InsertBranch(*BBI.BB, BBI.FalseBB, BBI.TrueBB, BBI.BrCond, dl); in ReverseBranchCondition() 458 std::swap(BBI.TrueBB, BBI.FalseBB); in ReverseBranchCondition() 522 ? TrueBBI.TrueBB : TrueBBI.FalseBB; in ValidTriangle() 533 MachineBasicBlock *TExit = FalseBranch ? TrueBBI.FalseBB : TrueBBI.TrueBB; in ValidTriangle() 567 if (TrueBBI.FalseBB || FalseBBI.FalseBB || in ValidDiamond() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | IfConversion.cpp | 149 MachineBasicBlock *FalseBB = nullptr; member 412 << ((Kind == ICSimpleFalse) ? BBI.FalseBB->getNumber() in INITIALIZE_PASS_DEPENDENCY() 440 << ",F:" << BBI.FalseBB->getNumber() << ") "); in INITIALIZE_PASS_DEPENDENCY() 458 << ",F:" << BBI.FalseBB->getNumber() << ") "); in INITIALIZE_PASS_DEPENDENCY() 470 << ",F:" << BBI.FalseBB->getNumber() << ") "); in INITIALIZE_PASS_DEPENDENCY() 524 TII->insertBranch(*BBI.BB, BBI.FalseBB, BBI.TrueBB, BBI.BrCond, dl); in reverseBranchCondition() 525 std::swap(BBI.TrueBB, BBI.FalseBB); in reverseBranchCondition() 587 ? TrueBBI.TrueBB : TrueBBI.FalseBB; in ValidTriangle() 598 MachineBasicBlock *TExit = FalseBranch ? TrueBBI.FalseBB : TrueBBI.TrueBB; in ValidTriangle() 794 MachineBasicBlock *TF = TrueBBI.FalseBB; in ValidForkedDiamond() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsDelaySlotFiller.cpp | 855 MachineBasicBlock *TrueBB = nullptr, *FalseBB = nullptr; in getBranch() local 860 TII->analyzeBranch(MBB, TrueBB, FalseBB, Cond, false, BranchInstrs); in getBranch() 874 assert((TrueBB == &Dst) || (FalseBB == &Dst)); in getBranch() 881 if (hasUnoccupiedSlot(BranchInstrs[1]) && (FalseBB == &Dst)) in getBranch()
|
/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() 832 assert((TrueBB == &Dst) || (FalseBB == &Dst)); in getBranch() 839 if (hasUnoccupiedSlot(BranchInstrs[1]) && (FalseBB == &Dst)) in getBranch()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 1831 BasicBlock *TrueBB, BasicBlock *FalseBB){ in SimplifyTerminatorOnSelect() argument 1837 BasicBlock *KeepEdge2 = TrueBB != FalseBB ? FalseBB : 0; in SimplifyTerminatorOnSelect() 1856 if (TrueBB == FalseBB) in SimplifyTerminatorOnSelect() 1863 Builder.CreateCondBr(Cond, TrueBB, FalseBB); in SimplifyTerminatorOnSelect() 1864 } else if (KeepEdge1 && (KeepEdge2 || TrueBB == FalseBB)) { in SimplifyTerminatorOnSelect() 1877 Builder.CreateBr(FalseBB); in SimplifyTerminatorOnSelect() 1898 BasicBlock *FalseBB = SI->getSuccessor(SI->findCaseValue(FalseVal)); in SimplifySwitchOnSelect() local 1901 return SimplifyTerminatorOnSelect(SI, Condition, TrueBB, FalseBB); in SimplifySwitchOnSelect() 1918 BasicBlock *FalseBB = FBA->getBasicBlock(); in SimplifyIndirectBrOnSelect() local 1921 return SimplifyTerminatorOnSelect(IBI, SI->getCondition(), TrueBB, FalseBB); in SimplifyIndirectBrOnSelect()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUMachineCFGStructurizer.cpp | 1904 MachineBasicBlock *FalseBB = nullptr; in rewriteCodeBBTerminator() local 1907 TII->analyzeBranch(*CodeBB, TrueBB, FalseBB, Cond); in rewriteCodeBBTerminator() 1911 if (FalseBB == nullptr && TrueBB == nullptr && FallthroughBB == nullptr) { in rewriteCodeBBTerminator() 1921 if (FalseBB == nullptr && TrueBB == nullptr) { in rewriteCodeBBTerminator() 1924 FalseBB = in rewriteCodeBBTerminator() 1925 (FallthroughBB && (FallthroughBB != TrueBB)) ? FallthroughBB : FalseBB; in rewriteCodeBBTerminator() 1928 if ((TrueBB != nullptr && FalseBB == nullptr) || (TrueBB == FalseBB)) { in rewriteCodeBBTerminator() 1938 FalseBBReg, FalseBB->getNumber()); in rewriteCodeBBTerminator()
|
/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 | 1438 if (Cases[0].CC == ISD::SETNE && Cases[0].FalseBB == Cases[1].ThisBB) in ShouldEmitAsBranches() 1577 addSuccessorWithWeight(SwitchBB, CB.FalseBB, CB.FalseWeight); in visitSwitchCase() 1589 std::swap(CB.TrueBB, CB.FalseBB); in visitSwitchCase() 1602 DAG.getBasicBlock(CB.FalseBB)); in visitSwitchCase() 2194 MachineBasicBlock *FalseBB = 0, *TrueBB = 0; in handleBTSplitSwitchCase() local 2223 FalseBB = RHSR.first->BB; in handleBTSplitSwitchCase() 2225 FalseBB = CurMF->CreateMachineBasicBlock(LLVMBB); in handleBTSplitSwitchCase() 2226 CurMF->insert(BBI, FalseBB); in handleBTSplitSwitchCase() 2227 WorkList.push_back(CaseRec(FalseBB,CR.LT,C,RHSR)); in handleBTSplitSwitchCase() 2236 CaseBlock CB(ISD::SETLT, SV, C, NULL, TrueBB, FalseBB, CR.CaseBB); in handleBTSplitSwitchCase()
|
D | SelectionDAGISel.cpp | 1175 if (SDB->SwitchCases[i].TrueBB != SDB->SwitchCases[i].FalseBB) in FinishBasicBlock() 1176 Succs.push_back(SDB->SwitchCases[i].FalseBB); in FinishBasicBlock()
|
/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 | 1794 if (SDB->SwitchCases[i].TrueBB != SDB->SwitchCases[i].FalseBB) in FinishBasicBlock() 1795 Succs.push_back(SDB->SwitchCases[i].FalseBB); in FinishBasicBlock()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 3406 BasicBlock *TrueBB, BasicBlock *FalseBB, in SimplifyTerminatorOnSelect() argument 3414 BasicBlock *KeepEdge2 = TrueBB != FalseBB ? FalseBB : nullptr; in SimplifyTerminatorOnSelect() 3433 if (TrueBB == FalseBB) in SimplifyTerminatorOnSelect() 3440 BranchInst *NewBI = Builder.CreateCondBr(Cond, TrueBB, FalseBB); in SimplifyTerminatorOnSelect() 3444 } else if (KeepEdge1 && (KeepEdge2 || TrueBB == FalseBB)) { in SimplifyTerminatorOnSelect() 3457 Builder.CreateBr(FalseBB); in SimplifyTerminatorOnSelect() 3478 BasicBlock *FalseBB = SI->findCaseValue(FalseVal)->getCaseSuccessor(); in SimplifySwitchOnSelect() local 3495 return SimplifyTerminatorOnSelect(SI, Condition, TrueBB, FalseBB, TrueWeight, in SimplifySwitchOnSelect() 3513 BasicBlock *FalseBB = FBA->getBasicBlock(); in SimplifyIndirectBrOnSelect() local 3516 return SimplifyTerminatorOnSelect(IBI, SI->getCondition(), TrueBB, FalseBB, 0, in SimplifyIndirectBrOnSelect()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 3008 BasicBlock *TrueBB, BasicBlock *FalseBB, in SimplifyTerminatorOnSelect() argument 3016 BasicBlock *KeepEdge2 = TrueBB != FalseBB ? FalseBB : nullptr; in SimplifyTerminatorOnSelect() 3035 if (TrueBB == FalseBB) in SimplifyTerminatorOnSelect() 3042 BranchInst *NewBI = Builder.CreateCondBr(Cond, TrueBB, FalseBB); in SimplifyTerminatorOnSelect() 3048 } else if (KeepEdge1 && (KeepEdge2 || TrueBB == FalseBB)) { in SimplifyTerminatorOnSelect() 3061 Builder.CreateBr(FalseBB); in SimplifyTerminatorOnSelect() 3082 BasicBlock *FalseBB = SI->findCaseValue(FalseVal).getCaseSuccessor(); in SimplifySwitchOnSelect() local 3099 return SimplifyTerminatorOnSelect(SI, Condition, TrueBB, FalseBB, TrueWeight, in SimplifySwitchOnSelect() 3117 BasicBlock *FalseBB = FBA->getBasicBlock(); in SimplifyIndirectBrOnSelect() local 3120 return SimplifyTerminatorOnSelect(IBI, SI->getCondition(), TrueBB, FalseBB, 0, in SimplifyIndirectBrOnSelect()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.h | 238 MachineBasicBlock *TrueBB, *FalseBB; member 257 TrueBB(truebb), FalseBB(falsebb), ThisBB(me), DL(dl), in CC()
|
D | SelectionDAGISel.cpp | 2058 if (SDB->SwitchCases[i].TrueBB != SDB->SwitchCases[i].FalseBB) in FinishBasicBlock() 2059 Succs.push_back(SDB->SwitchCases[i].FalseBB); in FinishBasicBlock()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Scalar/ |
D | LoopPassManagerTest.cpp | 905 auto CreateCondBr = [&](BasicBlock *TrueBB, BasicBlock *FalseBB, in TEST_F() 908 BranchInst::Create(TrueBB, FalseBB, Cond, BB); in TEST_F() 1107 auto CreateCondBr = [&](BasicBlock *TrueBB, BasicBlock *FalseBB, in TEST_F() 1110 BranchInst::Create(TrueBB, FalseBB, Cond, BB); in TEST_F()
|
/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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 2249 BasicBlock *TrueBB, *FalseBB; in tryToMoveFreeBeforeNullTest() local 2251 if (!match(TI, m_Br(m_ICmp(Pred, m_Specific(Op), m_Zero()), TrueBB, FalseBB))) in tryToMoveFreeBeforeNullTest() 2257 if (SuccBB != (Pred == ICmpInst::ICMP_EQ ? TrueBB : FalseBB)) in tryToMoveFreeBeforeNullTest() 2259 assert(FreeInstrBB == (Pred == ICmpInst::ICMP_EQ ? FalseBB : TrueBB) && in tryToMoveFreeBeforeNullTest()
|
D | InstCombineCompares.cpp | 1377 BasicBlock *TrueBB, *FalseBB; in foldICmpWithConstant() local 1380 TrueBB, FalseBB)) && in foldICmpWithConstant() 1381 TrueBB != FalseBB) { in foldICmpWithConstant()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 1902 BasicBlock *TrueBB, *FalseBB; in findExistingExpansion() local 1906 TrueBB, FalseBB))) in findExistingExpansion()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | x86-cmov-converter.ll | 303 ; CHECK: [[FalseBB:.*]]:
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 2017 BasicBlock *TrueBB, *FalseBB; in getRelatedExistingExpansion() local 2021 TrueBB, FalseBB))) in getRelatedExistingExpansion()
|