Home
last modified time | relevance | path

Searched refs:IfFalse (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopDeletion.cpp331 BasicBlock *IfTrue, *IfFalse; in canProveExitOnFirstIteration() local
334 m_BasicBlock(IfTrue), m_BasicBlock(IfFalse)))) { in canProveExitOnFirstIteration()
360 if (L->contains(IfTrue) && L->contains(IfFalse)) in canProveExitOnFirstIteration()
373 MarkLiveEdge(BB, IfFalse); in canProveExitOnFirstIteration()
H A DGuardWidening.cpp507 const BasicBlock *IfTrue = nullptr, *IfFalse = nullptr; in computeWideningScore() local
510 m_BasicBlock(IfFalse)))) in computeWideningScore()
514 return ConstCond->isAllOnesValue() ? IfTrue : IfFalse; in computeWideningScore()
516 if (IfFalse->getPostdominatingDeoptimizeCall()) in computeWideningScore()
519 return IfFalse; in computeWideningScore()
H A DSimpleLoopUnswitch.cpp2995 BasicBlock *&IfFalse, const Loop &L) { in canonicalizeForInvariantConditionInjection() argument
2998 std::swap(IfTrue, IfFalse); in canonicalizeForInvariantConditionInjection()
3021 const BasicBlock *IfTrue, const BasicBlock *IfFalse, const Loop &L) { in shouldTryInjectInvariantCondition() argument
3028 if (!L.contains(IfTrue) || L.contains(IfFalse)) in shouldTryInjectInvariantCondition()
3240 BasicBlock *IfTrue = nullptr, *IfFalse = nullptr; in collectUnswitchCandidatesWithInjections() local
3247 m_BasicBlock(IfTrue), m_BasicBlock(IfFalse)))) in collectUnswitchCandidatesWithInjections()
3251 canonicalizeForInvariantConditionInjection(Pred, LHS, RHS, IfTrue, IfFalse, in collectUnswitchCandidatesWithInjections()
3253 if (!shouldTryInjectInvariantCondition(Pred, LHS, RHS, IfTrue, IfFalse, L)) in collectUnswitchCandidatesWithInjections()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp447 BasicBlock *IfFalse = BasicBlock::Create(C, "F", F); in mutate() local
451 BranchInst *Branch = BranchInst::Create(IfTrue, IfFalse, Cond); in mutate()
455 connectBlocksToSink({IfTrue, IfFalse}, Sink, IB); in mutate()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DBasicBlockUtils.h578 BasicBlock *&IfFalse);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.h614 void setTwoSuccessors(VPBlockBase *IfTrue, VPBlockBase *IfFalse) { in setTwoSuccessors() argument
617 appendSuccessor(IfFalse); in setTwoSuccessors()
3603 static void insertTwoBlocksAfter(VPBlockBase *IfTrue, VPBlockBase *IfFalse, in insertTwoBlocksAfter() argument
3607 assert(IfFalse->getSuccessors().empty() && in insertTwoBlocksAfter()
3609 BlockPtr->setTwoSuccessors(IfTrue, IfFalse); in insertTwoBlocksAfter()
3611 IfFalse->setPredecessors({BlockPtr}); in insertTwoBlocksAfter()
3613 IfFalse->setParent(BlockPtr->getParent()); in insertTwoBlocksAfter()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp1803 BasicBlock *&IfFalse) { in GetIfCondition() argument
1858 IfFalse = Pred2; in GetIfCondition()
1862 IfFalse = Pred1; in GetIfCondition()
1886 IfFalse = Pred2; in GetIfCondition()
1889 IfFalse = Pred1; in GetIfCondition()
H A DSimplifyCFG.cpp3489 BasicBlock *IfTrue, *IfFalse; in FoldTwoEntryPHINode() local
3490 BranchInst *DomBI = GetIfCondition(BB, IfTrue, IfFalse); in FoldTwoEntryPHINode()
3630 << " F: " << IfFalse->getName() << "\n"); in FoldTwoEntryPHINode()
3649 Value *FalseVal = PN->getIncomingValueForBlock(IfFalse); in FoldTwoEntryPHINode()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp2648 Value *IfTrue, *IfFalse; in foldSelectToPhiImpl() local
2654 IfFalse = Sel.getFalseValue(); in foldSelectToPhiImpl()
2659 IfFalse = Sel.getTrueValue(); in foldSelectToPhiImpl()
2681 Inputs[Pred] = IfFalse->DoPHITranslation(BB, Pred); in foldSelectToPhiImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h2935 BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond,
2979 static BranchInst *Create(BasicBlock *IfTrue, BasicBlock *IfFalse,
2982 return new(3) BranchInst(IfTrue, IfFalse, Cond, InsertBefore);
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp1142 BranchInst::BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond, in BranchInst() argument
1149 Op<-2>() = IfFalse; in BranchInst()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp2528 BasicBlock *IfFalse = I.getSuccessor(0); in shouldKeepJumpConditionsTogether() local
2534 else if (BPI->isEdgeHot(I.getParent(), IfFalse)) in shouldKeepJumpConditionsTogether()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp24258 SDValue IfFalse = N->getOperand(2); in performVSelectCombine() local
24263 IfTrue, IfFalse); in performVSelectCombine()