Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp263 BasicBlock *FalseDest,
917 BasicBlock *FalseDest, in emitPreheaderBranchOnCondition() argument
921 assert(TrueDest != FalseDest && "Branch targets should be different"); in emitPreheaderBranchOnCondition()
931 std::swap(TrueDest, FalseDest); in emitPreheaderBranchOnCondition()
942 IRBuilder<>(OldBranch).CreateCondBr(BranchVal, TrueDest, FalseDest, TI); in emitPreheaderBranchOnCondition()
956 if (FalseDest != OldBranchSucc) in emitPreheaderBranchOnCondition()
957 Updates.push_back({DominatorTree::Insert, OldBranchParent, FalseDest}); in emitPreheaderBranchOnCondition()
960 if (OldBranchSucc != TrueDest && OldBranchSucc != FalseDest) { in emitPreheaderBranchOnCondition()
DLICM.cpp598 BasicBlock *FalseDest = BI->getSuccessor(1); in registerPossiblyHoistableBranch() local
599 if (!CurLoop->contains(TrueDest) || !CurLoop->contains(FalseDest) || in registerPossiblyHoistableBranch()
600 TrueDest == FalseDest) in registerPossiblyHoistableBranch()
610 FalseDestSucc.insert(succ_begin(FalseDest), succ_end(FalseDest)); in registerPossiblyHoistableBranch()
612 if (TrueDestSucc.count(FalseDest)) { in registerPossiblyHoistableBranch()
613 CommonSucc = FalseDest; in registerPossiblyHoistableBranch()
714 BasicBlock *FalseDest = BI->getSuccessor(1); in getOrCreateHoistedBlock() local
735 BasicBlock *HoistFalseDest = CreateHoistedBlock(FalseDest); in getOrCreateHoistedBlock()
DJumpThreading.cpp2975 BasicBlock *FalseDest = BI->getSuccessor(1); in threadGuard() local
2995 BasicBlock *PredUnguardedBlock = TrueDestIsSafe ? TrueDest : FalseDest; in threadGuard()
2996 BasicBlock *PredGuardedBlock = FalseDestIsSafe ? TrueDest : FalseDest; in threadGuard()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp260 BasicBlock *FalseDest,
935 BasicBlock *FalseDest, in EmitPreheaderBranchOnCondition() argument
939 assert(TrueDest != FalseDest && "Branch targets should be different"); in EmitPreheaderBranchOnCondition()
949 std::swap(TrueDest, FalseDest); in EmitPreheaderBranchOnCondition()
960 IRBuilder<>(OldBranch).CreateCondBr(BranchVal, TrueDest, FalseDest, TI); in EmitPreheaderBranchOnCondition()
974 if (FalseDest != OldBranchSucc) in EmitPreheaderBranchOnCondition()
975 Updates.push_back({DominatorTree::Insert, OldBranchParent, FalseDest}); in EmitPreheaderBranchOnCondition()
978 if (OldBranchSucc != TrueDest && OldBranchSucc != FalseDest) { in EmitPreheaderBranchOnCondition()
DLICM.cpp603 BasicBlock *FalseDest = BI->getSuccessor(1); in registerPossiblyHoistableBranch() local
604 if (!CurLoop->contains(TrueDest) || !CurLoop->contains(FalseDest) || in registerPossiblyHoistableBranch()
605 TrueDest == FalseDest) in registerPossiblyHoistableBranch()
615 FalseDestSucc.insert(succ_begin(FalseDest), succ_end(FalseDest)); in registerPossiblyHoistableBranch()
617 if (TrueDestSucc.count(FalseDest)) { in registerPossiblyHoistableBranch()
618 CommonSucc = FalseDest; in registerPossiblyHoistableBranch()
719 BasicBlock *FalseDest = BI->getSuccessor(1); in getOrCreateHoistedBlock() local
740 BasicBlock *HoistFalseDest = CreateHoistedBlock(FalseDest); in getOrCreateHoistedBlock()
DJumpThreading.cpp2698 BasicBlock *FalseDest = BI->getSuccessor(1); in ThreadGuard() local
2718 BasicBlock *PredUnguardedBlock = TrueDestIsSafe ? TrueDest : FalseDest; in ThreadGuard()
2719 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-10.0/llvm/lib/CodeGen/
DImplicitNullChecks.cpp492 NullSucc = MBP.FalseDest; in analyzeBlockForNullChecks()
494 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-project/llvm/lib/CodeGen/
DImplicitNullChecks.cpp586 NullSucc = MBP.FalseDest; in analyzeBlockForNullChecks()
588 NotNullSucc = MBP.FalseDest; in analyzeBlockForNullChecks()
/external/llvm/include/llvm/Target/
DTargetInstrInfo.h494 MachineBasicBlock *FalseDest; member
505 FalseDest(nullptr), ConditionDef(nullptr), SingleUseCondition(false) { in MachineBranchPredicate()
/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-10.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2676 BasicBlock *FalseDest = (BI->isConditional()) ? BI->getSuccessor(1) : nullptr; in FoldBranchToCommonDest() local
2677 if (TrueDest == BB || FalseDest == BB) in FoldBranchToCommonDest()
2701 } else if (PBI->getSuccessor(1) == FalseDest) { in FoldBranchToCommonDest()
2703 } else if (PBI->getSuccessor(0) == FalseDest) { in FoldBranchToCommonDest()
2812 AddPredecessorToBlock(FalseDest, PredBlock, BB, MSSAU); in FoldBranchToCommonDest()
2813 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/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2806 BasicBlock *FalseDest = (BI->isConditional()) ? BI->getSuccessor(1) : nullptr; in FoldBranchToCommonDest() local
2807 if (TrueDest == BB || FalseDest == BB) in FoldBranchToCommonDest()
2831 } else if (PBI->getSuccessor(1) == FalseDest) { in FoldBranchToCommonDest()
2833 } else if (PBI->getSuccessor(0) == FalseDest) { in FoldBranchToCommonDest()
2885 AddPredecessorToBlock(PBI->getSuccessor(0) == BB ? TrueDest : FalseDest, in FoldBranchToCommonDest()
2976 PBI->setSuccessor(1, FalseDest); in FoldBranchToCommonDest()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h622 MachineBasicBlock *FalseDest = nullptr; member
/external/llvm-project/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h629 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/llvm-project/clang/lib/CodeGen/
DCGStmt.cpp1331 llvm::BasicBlock *FalseDest = CaseRangeBlock; in EmitCaseStmtRange() local
1356 Builder.CreateCondBr(Cond, CaseDest, FalseDest, Weights); in EmitCaseStmtRange()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4246 BasicBlock *FalseDest = getBasicBlock(Record[1]); in parseFunctionBody() local
4249 if (!FalseDest || !Cond) in parseFunctionBody()
4251 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/llvm-project/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4348 BasicBlock *FalseDest = getBasicBlock(Record[1]); in parseFunctionBody() local
4351 if (!FalseDest || !Cond) in parseFunctionBody()
4353 I = BranchInst::Create(TrueDest, FalseDest, Cond); in parseFunctionBody()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrInfo.cpp2685 if (AnalyzeBranchImpl(MBB, MBP.TrueDest, MBP.FalseDest, Cond, CondBranches, in analyzeBranchPredicate()
2694 if (!MBP.FalseDest) in analyzeBranchPredicate()
2695 MBP.FalseDest = MBB.getNextNode(); in analyzeBranchPredicate()
/external/llvm-project/llvm/lib/Target/X86/
DX86InstrInfo.cpp3161 if (AnalyzeBranchImpl(MBB, MBP.TrueDest, MBP.FalseDest, Cond, CondBranches, in analyzeBranchPredicate()
3170 if (!MBP.FalseDest) in analyzeBranchPredicate()
3171 MBP.FalseDest = MBB.getNextNode(); in analyzeBranchPredicate()

12