/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 250 BasicBlock *TrueDest, 908 BasicBlock *TrueDest, in EmitPreheaderBranchOnCondition() argument 913 assert(TrueDest != FalseDest && "Branch targets should be different"); in EmitPreheaderBranchOnCondition() 923 std::swap(TrueDest, FalseDest); in EmitPreheaderBranchOnCondition() 934 IRBuilder<>(OldBranch).CreateCondBr(BranchVal, TrueDest, FalseDest, TI); in EmitPreheaderBranchOnCondition() 946 if (TrueDest != OldBranchSucc) in EmitPreheaderBranchOnCondition() 947 Updates.push_back({DominatorTree::Insert, OldBranchParent, TrueDest}); in EmitPreheaderBranchOnCondition() 952 if (OldBranchSucc != TrueDest && OldBranchSucc != FalseDest) { in EmitPreheaderBranchOnCondition()
|
D | LoopPredication.cpp | 643 BasicBlock *TrueDest, *FalseDest; in parseLoopLatchICmp() local 646 m_Br(m_ICmp(Pred, m_Value(LHS), m_Value(RHS)), TrueDest, in parseLoopLatchICmp() 651 assert((TrueDest == L->getHeader() || FalseDest == L->getHeader()) && in parseLoopLatchICmp() 653 if (TrueDest != L->getHeader()) in parseLoopLatchICmp()
|
D | JumpThreading.cpp | 2622 BasicBlock *TrueDest = BI->getSuccessor(0); in ThreadGuard() local 2643 BasicBlock *PredUnguardedBlock = TrueDestIsSafe ? TrueDest : FalseDest; in ThreadGuard() 2644 BasicBlock *PredGuardedBlock = FalseDestIsSafe ? TrueDest : FalseDest; in ThreadGuard()
|
D | IndVarSimplify.cpp | 1653 bool TrueDest) { in calculatePostIncRange() argument 1661 TrueDest ? Pred : CmpInst::getInversePredicate(Pred); in calculatePostIncRange()
|
/external/llvm/lib/CodeGen/ |
D | ImplicitNullChecks.cpp | 352 NotNullSucc = MBP.TrueDest; in analyzeBlockForNullChecks() 356 NullSucc = MBP.TrueDest; in analyzeBlockForNullChecks()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 150 BasicBlock *TrueDest, 487 BasicBlock *TrueDest, in EmitPreheaderBranchOnCondition() argument 498 std::swap(TrueDest, FalseDest); in EmitPreheaderBranchOnCondition() 501 BranchInst *BI = BranchInst::Create(TrueDest, FalseDest, BranchVal, InsertPt); in EmitPreheaderBranchOnCondition()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | ImplicitNullChecks.cpp | 487 NotNullSucc = MBP.TrueDest; in analyzeBlockForNullChecks() 491 NullSucc = MBP.TrueDest; in analyzeBlockForNullChecks()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 252 BasicBlock *TrueDest, 784 BasicBlock *TrueDest, in EmitPreheaderBranchOnCondition() argument 797 std::swap(TrueDest, FalseDest); in EmitPreheaderBranchOnCondition() 802 BranchInst *BI = BranchInst::Create(TrueDest, FalseDest, BranchVal, InsertPt); in EmitPreheaderBranchOnCondition()
|
/external/llvm/include/llvm/Target/ |
D | TargetInstrInfo.h | 493 MachineBasicBlock *TrueDest; member 504 RHS(MachineOperand::CreateImm(0)), TrueDest(nullptr), in MachineBranchPredicate()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 1521 BasicBlock *TrueDest = BI->getSuccessor(0); in FoldBranchToCommonDest() local 1523 if (TrueDest == BB || FalseDest == BB) in FoldBranchToCommonDest() 1540 if (PBI->getSuccessor(0) == TrueDest) in FoldBranchToCommonDest() 1546 else if (PBI->getSuccessor(1) == TrueDest) in FoldBranchToCommonDest() 1633 AddPredecessorToBlock(TrueDest, PredBlock, BB); in FoldBranchToCommonDest() 1634 PBI->setSuccessor(0, TrueDest); in FoldBranchToCommonDest()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 2269 BasicBlock *TrueDest = BI->getSuccessor(0); in FoldBranchToCommonDest() local 2271 if (TrueDest == BB || FalseDest == BB) in FoldBranchToCommonDest() 2293 if (PBI->getSuccessor(0) == TrueDest) { in FoldBranchToCommonDest() 2300 } else if (PBI->getSuccessor(1) == TrueDest) { in FoldBranchToCommonDest() 2307 if (PBI->getSuccessor(0) != TrueDest && PBI->getSuccessor(1) != TrueDest) in FoldBranchToCommonDest() 2391 AddPredecessorToBlock(TrueDest, PredBlock, BB); in FoldBranchToCommonDest() 2392 PBI->setSuccessor(0, TrueDest); in FoldBranchToCommonDest() 2427 if (PBI->getSuccessor(0) == TrueDest) { in FoldBranchToCommonDest() 2456 BranchInst *New_PBI = BranchInst::Create(TrueDest, PBI); in FoldBranchToCommonDest()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 2624 BasicBlock *TrueDest = BI->getSuccessor(0); in FoldBranchToCommonDest() local 2626 if (TrueDest == BB || FalseDest == BB) in FoldBranchToCommonDest() 2648 if (PBI->getSuccessor(0) == TrueDest) { in FoldBranchToCommonDest() 2655 } else if (PBI->getSuccessor(1) == TrueDest) { in FoldBranchToCommonDest() 2662 if (PBI->getSuccessor(0) != TrueDest && PBI->getSuccessor(1) != TrueDest) in FoldBranchToCommonDest() 2746 AddPredecessorToBlock(TrueDest, PredBlock, BB); in FoldBranchToCommonDest() 2747 PBI->setSuccessor(0, TrueDest); in FoldBranchToCommonDest() 2780 if (PBI->getSuccessor(0) == TrueDest) { in FoldBranchToCommonDest() 2809 BranchInst *New_PBI = BranchInst::Create(TrueDest, PBI); in FoldBranchToCommonDest()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1187 BasicBlock *TrueDest; in visitBranchInst() local 1189 if (match(&BI, m_Br(m_Not(m_Value(X)), TrueDest, FalseDest)) && in visitBranchInst() 1200 TrueDest, FalseDest)) && in visitBranchInst() 1216 TrueDest, FalseDest)) && in visitBranchInst()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 2116 BasicBlock *TrueDest; in visitBranchInst() local 2118 if (match(&BI, m_Br(m_Not(m_Value(X)), TrueDest, FalseDest)) && in visitBranchInst() 2138 TrueDest, FalseDest)) && in visitBranchInst() 2154 TrueDest, FalseDest)) && in visitBranchInst()
|
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 2399 BasicBlock *TrueDest = getBasicBlock(Record[0]); in ParseFunctionBody() local 2400 if (TrueDest == 0) in ParseFunctionBody() 2404 I = BranchInst::Create(TrueDest); in ParseFunctionBody() 2412 I = BranchInst::Create(TrueDest, FalseDest, Cond); in ParseFunctionBody()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | TargetInstrInfo.h | 590 MachineBasicBlock *TrueDest = nullptr; member
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 2316 BasicBlock *TrueDest; in visitBranchInst() local 2318 if (match(&BI, m_Br(m_Not(m_Value(X)), TrueDest, FalseDest)) && in visitBranchInst() 2336 if (match(&BI, m_Br(m_OneUse(m_Cmp(Pred, m_Value(), m_Value())), TrueDest, in visitBranchInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 3864 BasicBlock *TrueDest = getBasicBlock(Record[0]); in parseFunctionBody() local 3865 if (!TrueDest) in parseFunctionBody() 3869 I = BranchInst::Create(TrueDest); in parseFunctionBody() 3878 I = BranchInst::Create(TrueDest, FalseDest, Cond); in parseFunctionBody()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 4852 BasicBlock *TrueDest = getBasicBlock(Record[0]); in parseFunctionBody() local 4853 if (!TrueDest) in parseFunctionBody() 4857 I = BranchInst::Create(TrueDest); in parseFunctionBody() 4866 I = BranchInst::Create(TrueDest, FalseDest, Cond); in parseFunctionBody()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86InstrInfo.cpp | 2751 if (AnalyzeBranchImpl(MBB, MBP.TrueDest, MBP.FalseDest, Cond, CondBranches, in analyzeBranchPredicate() 2758 assert(MBP.TrueDest && "expected!"); in analyzeBranchPredicate()
|
/external/llvm/lib/Target/X86/ |
D | X86InstrInfo.cpp | 4136 if (AnalyzeBranchImpl(MBB, MBP.TrueDest, MBP.FalseDest, Cond, CondBranches, in analyzeBranchPredicate() 4143 assert(MBP.TrueDest && "expected!"); in analyzeBranchPredicate()
|