Home
last modified time | relevance | path

Searched refs:FalseDest (Results 1 – 22 of 22) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp251 BasicBlock *FalseDest,
909 BasicBlock *FalseDest, 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()
948 if (FalseDest != OldBranchSucc) in EmitPreheaderBranchOnCondition()
949 Updates.push_back({DominatorTree::Insert, OldBranchParent, FalseDest}); in EmitPreheaderBranchOnCondition()
952 if (OldBranchSucc != TrueDest && OldBranchSucc != FalseDest) { in EmitPreheaderBranchOnCondition()
DLoopPredication.cpp643 BasicBlock *TrueDest, *FalseDest; in parseLoopLatchICmp() local
647 FalseDest))) { in parseLoopLatchICmp()
651 assert((TrueDest == L->getHeader() || FalseDest == L->getHeader()) && in parseLoopLatchICmp()
DJumpThreading.cpp2623 BasicBlock *FalseDest = BI->getSuccessor(1); in ThreadGuard() local
2643 BasicBlock *PredUnguardedBlock = TrueDestIsSafe ? TrueDest : FalseDest; in ThreadGuard()
2644 BasicBlock *PredGuardedBlock = FalseDestIsSafe ? TrueDest : FalseDest; in ThreadGuard()
/external/llvm/lib/CodeGen/
DImplicitNullChecks.cpp353 NullSucc = MBP.FalseDest; in analyzeBlockForNullChecks()
355 NotNullSucc = MBP.FalseDest; in analyzeBlockForNullChecks()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopUnswitch.cpp151 BasicBlock *FalseDest,
488 BasicBlock *FalseDest, 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/
DImplicitNullChecks.cpp488 NullSucc = MBP.FalseDest; in analyzeBlockForNullChecks()
490 NotNullSucc = MBP.FalseDest; in analyzeBlockForNullChecks()
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp253 BasicBlock *FalseDest,
785 BasicBlock *FalseDest, in EmitPreheaderBranchOnCondition() argument
797 std::swap(TrueDest, FalseDest); in EmitPreheaderBranchOnCondition()
802 BranchInst *BI = BranchInst::Create(TrueDest, FalseDest, BranchVal, InsertPt); in EmitPreheaderBranchOnCondition()
DJumpThreading.cpp906 bool FalseDest = PBI->getSuccessor(1) == CurrentBB; in ProcessImpliedCondition() local
908 isImpliedCondition(PBI->getCondition(), Cond, DL, FalseDest); in ProcessImpliedCondition()
/external/llvm/include/llvm/Target/
DTargetInstrInfo.h494 MachineBasicBlock *FalseDest; member
505 FalseDest(nullptr), ConditionDef(nullptr), SingleUseCondition(false) { in MachineBranchPredicate()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSimplifyCFG.cpp1522 BasicBlock *FalseDest = BI->getSuccessor(1); in FoldBranchToCommonDest() local
1523 if (TrueDest == BB || FalseDest == BB) in FoldBranchToCommonDest()
1542 else if (PBI->getSuccessor(1) == FalseDest) in FoldBranchToCommonDest()
1544 else if (PBI->getSuccessor(0) == FalseDest) in FoldBranchToCommonDest()
1637 AddPredecessorToBlock(FalseDest, PredBlock, BB); in FoldBranchToCommonDest()
1638 PBI->setSuccessor(1, FalseDest); in FoldBranchToCommonDest()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstructionCombining.cpp1188 BasicBlock *FalseDest; 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/
DInstructionCombining.cpp2117 BasicBlock *FalseDest; 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-7.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2625 BasicBlock *FalseDest = (BI->isConditional()) ? BI->getSuccessor(1) : nullptr; in FoldBranchToCommonDest() local
2626 if (TrueDest == BB || FalseDest == BB) in FoldBranchToCommonDest()
2650 } else if (PBI->getSuccessor(1) == FalseDest) { in FoldBranchToCommonDest()
2652 } else if (PBI->getSuccessor(0) == FalseDest) { in FoldBranchToCommonDest()
2761 AddPredecessorToBlock(FalseDest, PredBlock, BB); in FoldBranchToCommonDest()
2762 PBI->setSuccessor(1, FalseDest); in FoldBranchToCommonDest()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2270 BasicBlock *FalseDest = (BI->isConditional()) ? BI->getSuccessor(1) : nullptr; in FoldBranchToCommonDest() local
2271 if (TrueDest == BB || FalseDest == BB) in FoldBranchToCommonDest()
2295 } else if (PBI->getSuccessor(1) == FalseDest) { in FoldBranchToCommonDest()
2297 } else if (PBI->getSuccessor(0) == FalseDest) { in FoldBranchToCommonDest()
2406 AddPredecessorToBlock(FalseDest, PredBlock, BB); in FoldBranchToCommonDest()
2407 PBI->setSuccessor(1, FalseDest); in FoldBranchToCommonDest()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h591 MachineBasicBlock *FalseDest = nullptr; member
/external/clang/lib/CodeGen/
DCGStmt.cpp1148 llvm::BasicBlock *FalseDest = CaseRangeBlock; in EmitCaseStmtRange() local
1171 Builder.CreateCondBr(Cond, CaseDest, FalseDest, Weights); in EmitCaseStmtRange()
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/
DBitcodeReader.cpp2408 BasicBlock *FalseDest = getBasicBlock(Record[1]); in ParseFunctionBody() local
2410 if (FalseDest == 0 || Cond == 0) in ParseFunctionBody()
2412 I = BranchInst::Create(TrueDest, FalseDest, Cond); in ParseFunctionBody()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp2317 BasicBlock *FalseDest; in visitBranchInst() local
2318 if (match(&BI, m_Br(m_Not(m_Value(X)), TrueDest, FalseDest)) && in visitBranchInst()
2337 FalseDest)) && in visitBranchInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp3873 BasicBlock *FalseDest = getBasicBlock(Record[1]); in parseFunctionBody() local
3876 if (!FalseDest || !Cond) in parseFunctionBody()
3878 I = BranchInst::Create(TrueDest, FalseDest, Cond); in parseFunctionBody()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4861 BasicBlock *FalseDest = getBasicBlock(Record[1]); in parseFunctionBody() local
4864 if (!FalseDest || !Cond) in parseFunctionBody()
4866 I = BranchInst::Create(TrueDest, FalseDest, Cond); in parseFunctionBody()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86InstrInfo.cpp2751 if (AnalyzeBranchImpl(MBB, MBP.TrueDest, MBP.FalseDest, Cond, CondBranches, in analyzeBranchPredicate()
2760 if (!MBP.FalseDest) in analyzeBranchPredicate()
2761 MBP.FalseDest = MBB.getNextNode(); in analyzeBranchPredicate()
/external/llvm/lib/Target/X86/
DX86InstrInfo.cpp4136 if (AnalyzeBranchImpl(MBB, MBP.TrueDest, MBP.FalseDest, Cond, CondBranches, in analyzeBranchPredicate()
4145 if (!MBP.FalseDest) in analyzeBranchPredicate()
4146 MBP.FalseDest = MBB.getNextNode(); in analyzeBranchPredicate()