Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanUtils.h153 static void insertTwoBlocksAfter(VPBlockBase *IfTrue, VPBlockBase *IfFalse, in insertTwoBlocksAfter() argument
157 assert(IfFalse->getSuccessors().empty() && in insertTwoBlocksAfter()
159 BlockPtr->setTwoSuccessors(IfTrue, IfFalse); in insertTwoBlocksAfter()
161 IfFalse->setPredecessors({BlockPtr}); in insertTwoBlocksAfter()
163 IfFalse->setParent(BlockPtr->getParent()); in insertTwoBlocksAfter()
H A DVPlan.h279 void setTwoSuccessors(VPBlockBase *IfTrue, VPBlockBase *IfFalse) { in setTwoSuccessors() argument
282 appendSuccessor(IfFalse); in setTwoSuccessors()
/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.cpp506 const BasicBlock *IfTrue = nullptr, *IfFalse = nullptr; in computeWideningScore() local
509 m_BasicBlock(IfFalse)))) in computeWideningScore()
513 return ConstCond->isAllOnesValue() ? IfTrue : IfFalse; in computeWideningScore()
515 if (IfFalse->getPostdominatingDeoptimizeCall()) in computeWideningScore()
518 return IfFalse; in computeWideningScore()
H A DSimpleLoopUnswitch.cpp3002 BasicBlock *&IfFalse, in canonicalizeForInvariantConditionInjection() argument
3006 std::swap(IfTrue, IfFalse); in canonicalizeForInvariantConditionInjection()
3029 const BasicBlock *IfTrue, const BasicBlock *IfFalse, const Loop &L) { in shouldTryInjectInvariantCondition() argument
3036 if (!L.contains(IfTrue) || L.contains(IfFalse)) in shouldTryInjectInvariantCondition()
3248 BasicBlock *IfTrue = nullptr, *IfFalse = nullptr; in collectUnswitchCandidatesWithInjections() local
3255 m_BasicBlock(IfTrue), m_BasicBlock(IfFalse)))) in collectUnswitchCandidatesWithInjections()
3259 canonicalizeForInvariantConditionInjection(Pred, LHS, RHS, IfTrue, IfFalse, in collectUnswitchCandidatesWithInjections()
3261 if (!shouldTryInjectInvariantCondition(Pred, LHS, RHS, IfTrue, IfFalse, L)) in collectUnswitchCandidatesWithInjections()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp534 BasicBlock *IfFalse = BasicBlock::Create(C, "F", F); in mutate() local
538 BranchInst *Branch = BranchInst::Create(IfTrue, IfFalse, Cond); in mutate()
542 connectBlocksToSink({IfTrue, IfFalse}, Sink, IB); in mutate()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp1664 BasicBlock *&IfFalse) { in GetIfCondition() argument
1719 IfFalse = Pred2; in GetIfCondition()
1723 IfFalse = Pred1; in GetIfCondition()
1747 IfFalse = Pred2; in GetIfCondition()
1750 IfFalse = Pred1; in GetIfCondition()
H A DSimplifyCFG.cpp3645 BasicBlock *IfTrue, *IfFalse; in foldTwoEntryPHINode() local
3646 BranchInst *DomBI = GetIfCondition(BB, IfTrue, IfFalse); in foldTwoEntryPHINode()
3786 << " F: " << IfFalse->getName() << "\n"); in foldTwoEntryPHINode()
3801 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/lib/SandboxIR/
H A DInstruction.cpp358 BranchInst *BranchInst::create(BasicBlock *IfTrue, BasicBlock *IfFalse, in create() argument
363 cast<llvm::BasicBlock>(IfFalse->Val)); in create()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp2702 Value *IfTrue, *IfFalse; in foldSelectToPhiImpl() local
2708 IfFalse = Sel.getFalseValue(); in foldSelectToPhiImpl()
2713 IfFalse = Sel.getTrueValue(); in foldSelectToPhiImpl()
2735 Inputs[Pred] = IfFalse->DoPHITranslation(BB, Pred); in foldSelectToPhiImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h3074 LLVM_ABI BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond,
3119 static BranchInst *Create(BasicBlock *IfTrue, BasicBlock *IfFalse,
3124 BranchInst(IfTrue, IfFalse, Cond, AllocMarker, InsertBefore);
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp1205 BranchInst::BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond, in BranchInst() argument
1211 Op<-2>() = IfFalse; in BranchInst()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DInstruction.h1031 LLVM_ABI static BranchInst *create(BasicBlock *IfTrue, BasicBlock *IfFalse,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp2496 BasicBlock *IfFalse = I.getSuccessor(0); in shouldKeepJumpConditionsTogether() local
2502 else if (BPI->isEdgeHot(I.getParent(), IfFalse)) in shouldKeepJumpConditionsTogether()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp25595 SDValue IfFalse = N->getOperand(2); in performVSelectCombine() local
25615 Ops[IfTrue.getNumOperands() - 1] = IfFalse; in performVSelectCombine()
25669 IfTrue, IfFalse); in performVSelectCombine()