Home
last modified time | relevance | path

Searched refs:IfFalse (Results 1 – 12 of 12) 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.cpp504 const BasicBlock *IfTrue = nullptr, *IfFalse = nullptr; in computeWideningScore() local
507 m_BasicBlock(IfFalse)))) in computeWideningScore()
511 return ConstCond->isAllOnesValue() ? IfTrue : IfFalse; in computeWideningScore()
513 if (IfFalse->getPostdominatingDeoptimizeCall()) in computeWideningScore()
516 return IfFalse; in computeWideningScore()
H A DSimpleLoopUnswitch.cpp2974 BasicBlock *&IfFalse, const Loop &L) { in canonicalizeForInvariantConditionInjection() argument
2977 std::swap(IfTrue, IfFalse); in canonicalizeForInvariantConditionInjection()
3000 const BasicBlock *IfTrue, const BasicBlock *IfFalse, const Loop &L) { in shouldTryInjectInvariantCondition() argument
3007 if (!L.contains(IfTrue) || L.contains(IfFalse)) in shouldTryInjectInvariantCondition()
3219 BasicBlock *IfTrue = nullptr, *IfFalse = nullptr; in collectUnswitchCandidatesWithInjections() local
3226 m_BasicBlock(IfTrue), m_BasicBlock(IfFalse)))) in collectUnswitchCandidatesWithInjections()
3230 canonicalizeForInvariantConditionInjection(Pred, LHS, RHS, IfTrue, IfFalse, in collectUnswitchCandidatesWithInjections()
3232 if (!shouldTryInjectInvariantCondition(Pred, LHS, RHS, IfTrue, IfFalse, L)) in collectUnswitchCandidatesWithInjections()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp446 BasicBlock *IfFalse = BasicBlock::Create(C, "F", F); in mutate() local
450 BranchInst *Branch = BranchInst::Create(IfTrue, IfFalse, Cond); in mutate()
454 connectBlocksToSink({IfTrue, IfFalse}, Sink, IB); in mutate()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.h599 void setTwoSuccessors(VPBlockBase *IfTrue, VPBlockBase *IfFalse) { in setTwoSuccessors() argument
602 appendSuccessor(IfFalse); in setTwoSuccessors()
2996 static void insertTwoBlocksAfter(VPBlockBase *IfTrue, VPBlockBase *IfFalse, in insertTwoBlocksAfter() argument
3000 assert(IfFalse->getSuccessors().empty() && in insertTwoBlocksAfter()
3002 BlockPtr->setTwoSuccessors(IfTrue, IfFalse); in insertTwoBlocksAfter()
3004 IfFalse->setPredecessors({BlockPtr}); in insertTwoBlocksAfter()
3006 IfFalse->setParent(BlockPtr->getParent()); in insertTwoBlocksAfter()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp1791 BasicBlock *&IfFalse) { in GetIfCondition() argument
1846 IfFalse = Pred2; in GetIfCondition()
1850 IfFalse = Pred1; in GetIfCondition()
1874 IfFalse = Pred2; in GetIfCondition()
1877 IfFalse = Pred1; in GetIfCondition()
H A DSimplifyCFG.cpp3426 BasicBlock *IfTrue, *IfFalse; in FoldTwoEntryPHINode() local
3427 BranchInst *DomBI = GetIfCondition(BB, IfTrue, IfFalse); in FoldTwoEntryPHINode()
3563 << " F: " << IfFalse->getName() << "\n"); in FoldTwoEntryPHINode()
3582 Value *FalseVal = PN->getIncomingValueForBlock(IfFalse); in FoldTwoEntryPHINode()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DBasicBlockUtils.h578 BasicBlock *&IfFalse);
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h3167 BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond,
3170 BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond,
3214 static BranchInst *Create(BasicBlock *IfTrue, BasicBlock *IfFalse,
3216 return new(3) BranchInst(IfTrue, IfFalse, Cond, InsertBefore);
3223 static BranchInst *Create(BasicBlock *IfTrue, BasicBlock *IfFalse,
3225 return new(3) BranchInst(IfTrue, IfFalse, Cond, InsertAtEnd);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp2507 Value *IfTrue, *IfFalse; in foldSelectToPhiImpl() local
2513 IfFalse = Sel.getFalseValue(); in foldSelectToPhiImpl()
2518 IfFalse = Sel.getTrueValue(); in foldSelectToPhiImpl()
2540 Inputs[Pred] = IfFalse->DoPHITranslation(BB, Pred); in foldSelectToPhiImpl()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp1230 BranchInst::BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond, in BranchInst() argument
1237 Op<-2>() = IfFalse; in BranchInst()
1251 BranchInst::BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond, in BranchInst() argument
1257 Op<-2>() = IfFalse; in BranchInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp22827 SDValue IfFalse = N->getOperand(2); in performVSelectCombine() local
22832 IfTrue, IfFalse); in performVSelectCombine()