/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | IfConversion.cpp | 150 MachineBasicBlock *TrueBB = nullptr; member 403 return BBI.IsBrAnalyzable && BBI.TrueBB == nullptr; in blockAlwaysFallThrough() 520 : BBI.TrueBB->getNumber()) in INITIALIZE_PASS_DEPENDENCY() 546 << " (T:" << BBI.TrueBB->getNumber() in INITIALIZE_PASS_DEPENDENCY() 564 << " (T:" << BBI.TrueBB->getNumber() in INITIALIZE_PASS_DEPENDENCY() 576 << " (T:" << BBI.TrueBB->getNumber() in INITIALIZE_PASS_DEPENDENCY() 619 MachineBasicBlock *TrueBB) { in findFalseBlock() argument 621 if (SuccBB != TrueBB) in findFalseBlock() 633 TII->insertBranch(*BBI.BB, BBI.FalseBB, BBI.TrueBB, BBI.BrCond, dl); in reverseBranchCondition() 634 std::swap(BBI.TrueBB, BBI.FalseBB); in reverseBranchCondition() [all …]
|
D | BranchFolding.cpp | 1812 MachineBasicBlock *TrueBB) { in findFalseBlock() argument 1814 if (SuccBB != TrueBB) in findFalseBlock()
|
D | CodeGenPrepare.cpp | 1470 BasicBlock *TrueBB, *FalseBB; in foldICmpWithDominatingICmp() local 1471 if (!match(DomBB->getTerminator(), m_Br(m_Value(DomCond), TrueBB, FalseBB))) in foldICmpWithDominatingICmp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | SwitchLoweringUtils.h | 125 MachineBasicBlock *TrueBB, *FalseBB; member 145 TrueBB(truebb), FalseBB(falsebb), ThisBB(me), DL(dl), in CC() 156 CmpRHS(cmprhs), TrueBB(truebb), FalseBB(falsebb), ThisBB(me),
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsDelaySlotFiller.cpp | 889 MachineBasicBlock *TrueBB = nullptr, *FalseBB = nullptr; in getBranch() local 894 TII->analyzeBranch(MBB, TrueBB, FalseBB, Cond, false, BranchInstrs); in getBranch() 903 assert(((R != MipsInstrInfo::BT_Uncond) || (TrueBB == &Dst))); in getBranch() 908 assert((TrueBB == &Dst) || (FalseBB == &Dst)); in getBranch()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | IRTranslator.cpp | 392 MachineBasicBlock &TrueBB = getMBB(TrueTgt); in translateBr() local 393 MIRBuilder.buildBrCond(Tst, TrueBB); in translateBr() 578 addSuccessorWithProb(CB.ThisBB, CB.TrueBB, CB.TrueProb); in emitSwitchCase() 579 addMachineCFGPred({SwitchBB->getBasicBlock(), CB.TrueBB->getBasicBlock()}, in emitSwitchCase() 582 if (CB.TrueBB != CB.ThisBB->getNextNode()) in emitSwitchCase() 583 MIB.buildBr(*CB.TrueBB); in emitSwitchCase() 614 addSuccessorWithProb(CB.ThisBB, CB.TrueBB, CB.TrueProb); in emitSwitchCase() 616 addMachineCFGPred({SwitchBB->getBasicBlock(), CB.TrueBB->getBasicBlock()}, in emitSwitchCase() 621 if (CB.TrueBB != CB.FalseBB) in emitSwitchCase() 631 if (CB.TrueBB == CB.ThisBB->getNextNode()) { in emitSwitchCase() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUMachineCFGStructurizer.cpp | 1905 MachineBasicBlock *TrueBB = nullptr; in rewriteCodeBBTerminator() local 1909 TII->analyzeBranch(*CodeBB, TrueBB, FalseBB, Cond); in rewriteCodeBBTerminator() 1913 if (FalseBB == nullptr && TrueBB == nullptr && FallthroughBB == nullptr) { in rewriteCodeBBTerminator() 1923 if (FalseBB == nullptr && TrueBB == nullptr) { in rewriteCodeBBTerminator() 1924 TrueBB = FallthroughBB; in rewriteCodeBBTerminator() 1925 } else if (TrueBB != nullptr) { in rewriteCodeBBTerminator() 1927 (FallthroughBB && (FallthroughBB != TrueBB)) ? FallthroughBB : FalseBB; in rewriteCodeBBTerminator() 1930 if ((TrueBB != nullptr && FalseBB == nullptr) || (TrueBB == FalseBB)) { in rewriteCodeBBTerminator() 1932 BBSelectReg, TrueBB->getNumber()); in rewriteCodeBBTerminator() 1938 TrueBBReg, TrueBB->getNumber()); in rewriteCodeBBTerminator()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 3518 BasicBlock *TrueBB, BasicBlock *FalseBB, in SimplifyTerminatorOnSelect() argument 3525 BasicBlock *KeepEdge1 = TrueBB; in SimplifyTerminatorOnSelect() 3526 BasicBlock *KeepEdge2 = TrueBB != FalseBB ? FalseBB : nullptr; in SimplifyTerminatorOnSelect() 3545 if (TrueBB == FalseBB) in SimplifyTerminatorOnSelect() 3548 Builder.CreateBr(TrueBB); in SimplifyTerminatorOnSelect() 3552 BranchInst *NewBI = Builder.CreateCondBr(Cond, TrueBB, FalseBB); in SimplifyTerminatorOnSelect() 3556 } else if (KeepEdge1 && (KeepEdge2 || TrueBB == FalseBB)) { in SimplifyTerminatorOnSelect() 3566 Builder.CreateBr(TrueBB); in SimplifyTerminatorOnSelect() 3589 BasicBlock *TrueBB = SI->findCaseValue(TrueVal)->getCaseSuccessor(); in SimplifySwitchOnSelect() local 3607 return SimplifyTerminatorOnSelect(SI, Condition, TrueBB, FalseBB, TrueWeight, in SimplifySwitchOnSelect() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 2530 BasicBlock *TrueBB, *FalseBB; in tryToMoveFreeBeforeNullTest() local 2536 TrueBB, FalseBB))) in tryToMoveFreeBeforeNullTest() 2542 if (SuccBB != (Pred == ICmpInst::ICMP_EQ ? TrueBB : FalseBB)) in tryToMoveFreeBeforeNullTest() 2544 assert(FreeInstrBB == (Pred == ICmpInst::ICMP_EQ ? FalseBB : TrueBB) && in tryToMoveFreeBeforeNullTest()
|
D | InstCombineCompares.cpp | 1467 BasicBlock *TrueBB, *FalseBB; in foldICmpWithDominatingICmp() local 1468 if (!match(DomBB->getTerminator(), m_Br(m_Value(DomCond), TrueBB, FalseBB))) in foldICmpWithDominatingICmp() 1471 assert((TrueBB == CmpBB || FalseBB == CmpBB) && in foldICmpWithDominatingICmp() 1475 if (TrueBB == FalseBB) in foldICmpWithDominatingICmp() 1479 Optional<bool> Imp = isImpliedCondition(DomCond, &Cmp, DL, TrueBB == CmpBB); in foldICmpWithDominatingICmp() 1498 (CmpBB == TrueBB) ? ConstantRange::makeExactICmpRegion(DomPred, *DomC) in foldICmpWithDominatingICmp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 5579 BasicBlock *TrueBB, *FalseBB; in isImpliedByDomCondition() local 5580 if (!match(PredBB->getTerminator(), m_Br(m_Value(PredCond), TrueBB, FalseBB))) in isImpliedByDomCondition() 5584 if (TrueBB == FalseBB) in isImpliedByDomCondition() 5587 assert((TrueBB == ContextBB || FalseBB == ContextBB) && in isImpliedByDomCondition() 5591 bool CondIsTrue = TrueBB == ContextBB; in isImpliedByDomCondition()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 2244 if (Cases[0].CC == ISD::SETEQ && Cases[0].TrueBB == Cases[1].ThisBB) in ShouldEmitAsBranches() 2349 addSuccessorWithProb(SwitchBB, CB.TrueBB, CB.TrueProb); in visitSwitchCase() 2351 if (CB.TrueBB != NextBlock(SwitchBB)) { in visitSwitchCase() 2353 DAG.getBasicBlock(CB.TrueBB))); in visitSwitchCase() 2405 addSuccessorWithProb(SwitchBB, CB.TrueBB, CB.TrueProb); in visitSwitchCase() 2408 if (CB.TrueBB != CB.FalseBB) in visitSwitchCase() 2414 if (CB.TrueBB == NextBlock(SwitchBB)) { in visitSwitchCase() 2415 std::swap(CB.TrueBB, CB.FalseBB); in visitSwitchCase() 2422 DAG.getBasicBlock(CB.TrueBB)); in visitSwitchCase()
|
D | SelectionDAGISel.cpp | 1929 Succs.push_back(SDB->SL->SwitchCases[i].TrueBB); in FinishBasicBlock() 1930 if (SDB->SL->SwitchCases[i].TrueBB != SDB->SL->SwitchCases[i].FalseBB) in FinishBasicBlock()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 1440 MachineBasicBlock *TrueBB = MF->CreateMachineBasicBlock(LLVM_BB); in EmitF128CSEL() local 1442 MF->insert(It, TrueBB); in EmitF128CSEL() 1450 BuildMI(MBB, DL, TII->get(AArch64::Bcc)).addImm(CondCode).addMBB(TrueBB); in EmitF128CSEL() 1452 MBB->addSuccessor(TrueBB); in EmitF128CSEL() 1456 TrueBB->addSuccessor(EndBB); in EmitF128CSEL() 1459 TrueBB->addLiveIn(AArch64::NZCV); in EmitF128CSEL() 1465 .addMBB(TrueBB) in EmitF128CSEL()
|