/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopDeletion.cpp | 331 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() 361 MarkLiveEdge(BB, IfTrue); in canProveExitOnFirstIteration() 371 MarkLiveEdge(BB, IfTrue); in canProveExitOnFirstIteration()
|
H A D | GuardWidening.cpp | 507 const BasicBlock *IfTrue = nullptr, *IfFalse = nullptr; in computeWideningScore() local 509 if (!match(Term, m_Br(m_Value(Cond), m_BasicBlock(IfTrue), in computeWideningScore() 514 return ConstCond->isAllOnesValue() ? IfTrue : IfFalse; in computeWideningScore() 517 return IfTrue; in computeWideningScore() 518 if (IfTrue->getPostdominatingDeoptimizeCall()) in computeWideningScore()
|
H A D | SimpleLoopUnswitch.cpp | 2994 ICmpInst::Predicate &Pred, Value *&LHS, Value *&RHS, BasicBlock *&IfTrue, in canonicalizeForInvariantConditionInjection() argument 2996 if (!L.contains(IfTrue)) { in canonicalizeForInvariantConditionInjection() 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() 3032 if (L.getHeader() == IfTrue) 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() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonEarlyIfConv.cpp | 195 unsigned getCondStoreOpcode(unsigned Opc, bool IfTrue) const; 197 MachineInstr *MI, unsigned PredR, bool IfTrue); 200 unsigned PredR, bool IfTrue); 703 bool IfTrue) const { in getCondStoreOpcode() 704 return HII->getCondOpcode(Opc, !IfTrue); in getCondStoreOpcode() 709 unsigned PredR, bool IfTrue) { in predicateInstr() argument 719 unsigned COpc = getCondStoreOpcode(Opc, IfTrue); in predicateInstr() 740 const MCInstrDesc &D = HII->get(IfTrue ? Hexagon::J2_jumpt in predicateInstr() 760 unsigned PredR, bool IfTrue) { in predicateBlockNB() argument 771 predicateInstr(ToB, At, &*I, PredR, IfTrue); in predicateBlockNB()
|
H A D | HexagonGenMux.cpp | 246 bool IfTrue = HII->isPredicatedTrue(Opc); in genMuxInBlock() local 260 if (IfTrue) in genMuxInBlock()
|
H A D | HexagonExpandCondsets.cpp | 603 bool IfTrue) { in getCondTfrOpcode() argument 618 return IfTrue ? Hexagon::A2_tfrt : Hexagon::A2_tfrf; in getCondTfrOpcode() 620 return IfTrue ? Hexagon::A2_tfrpt : Hexagon::A2_tfrpf; in getCondTfrOpcode() 633 return IfTrue ? Hexagon::C2_cmoveit : Hexagon::C2_cmoveif; in getCondTfrOpcode()
|
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/ |
H A D | IRMutator.cpp | 446 BasicBlock *IfTrue = BasicBlock::Create(C, "T", 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 D | BasicBlockUtils.h | 577 BranchInst *GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue,
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlan.h | 614 void setTwoSuccessors(VPBlockBase *IfTrue, VPBlockBase *IfFalse) { in setTwoSuccessors() argument 616 appendSuccessor(IfTrue); in setTwoSuccessors() 3603 static void insertTwoBlocksAfter(VPBlockBase *IfTrue, VPBlockBase *IfFalse, in insertTwoBlocksAfter() argument 3605 assert(IfTrue->getSuccessors().empty() && in insertTwoBlocksAfter() 3609 BlockPtr->setTwoSuccessors(IfTrue, IfFalse); in insertTwoBlocksAfter() 3610 IfTrue->setPredecessors({BlockPtr}); in insertTwoBlocksAfter() 3612 IfTrue->setParent(BlockPtr->getParent()); in insertTwoBlocksAfter()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | BasicBlockUtils.cpp | 1802 BranchInst *llvm::GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue, in GetIfCondition() argument 1857 IfTrue = Pred1; in GetIfCondition() 1861 IfTrue = Pred2; in GetIfCondition() 1885 IfTrue = Pred1; in GetIfCondition() 1888 IfTrue = Pred2; in GetIfCondition()
|
H A D | SimplifyCFG.cpp | 3489 BasicBlock *IfTrue, *IfFalse; in FoldTwoEntryPHINode() local 3490 BranchInst *DomBI = GetIfCondition(BB, IfTrue, IfFalse); in FoldTwoEntryPHINode() 3629 dbgs() << " T: " << IfTrue->getName() in FoldTwoEntryPHINode() 3648 Value *TrueVal = PN->getIncomingValueForBlock(IfTrue); in FoldTwoEntryPHINode()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Instructions.cpp | 1134 BranchInst::BranchInst(BasicBlock *IfTrue, InsertPosition InsertBefore) in BranchInst() argument 1135 : Instruction(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst() 1138 assert(IfTrue && "Branch destination may not be null!"); in BranchInst() 1139 Op<-1>() = IfTrue; in BranchInst() 1142 BranchInst::BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond, in BranchInst() argument 1144 : Instruction(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst() 1150 Op<-1>() = IfTrue; in BranchInst()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Instructions.h | 2933 explicit BranchInst(BasicBlock *IfTrue, 2935 BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond, 2974 static BranchInst *Create(BasicBlock *IfTrue, 2976 return new(1) BranchInst(IfTrue, InsertBefore); 2979 static BranchInst *Create(BasicBlock *IfTrue, BasicBlock *IfFalse, 2982 return new(3) BranchInst(IfTrue, IfFalse, Cond, InsertBefore);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSelect.cpp | 2648 Value *IfTrue, *IfFalse; in foldSelectToPhiImpl() local 2653 IfTrue = Sel.getTrueValue(); in foldSelectToPhiImpl() 2658 IfTrue = Sel.getFalseValue(); in foldSelectToPhiImpl() 2679 Inputs[Pred] = IfTrue->DoPHITranslation(BB, Pred); in foldSelectToPhiImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.cpp | 2531 BasicBlock *IfTrue = I.getSuccessor(1); in shouldKeepJumpConditionsTogether() local 2534 if (BPI->isEdgeHot(I.getParent(), IfTrue)) in shouldKeepJumpConditionsTogether()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 24257 SDValue IfTrue = N->getOperand(1); in performVSelectCombine() local 24263 IfTrue, IfFalse); in performVSelectCombine()
|