Home
last modified time | relevance | path

Searched refs:NotCond (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp2694 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst() local
2695 return SelectInst::Create(NotCond, FalseVal, Zero); in visitSelectInst()
2699 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst() local
2700 return SelectInst::Create(NotCond, One, TrueVal); in visitSelectInst()
2853 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst() local
2854 return new ZExtInst(NotCond, SelType); in visitSelectInst()
2859 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst() local
2860 return new SExtInst(NotCond, SelType); in visitSelectInst()
3114 Value *NotCond; in visitSelectInst() local
3115 if (match(CondVal, m_Not(m_Value(NotCond))) && in visitSelectInst()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp420 Value *NotCond; in findMergedConditions() local
421 if (match(Cond, m_OneUse(m_Not(m_Value(NotCond)))) && in findMergedConditions()
422 isValInBlock(NotCond, CurBB->getBasicBlock())) { in findMergedConditions()
423 findMergedConditions(NotCond, TBB, FBB, CurBB, SwitchBB, Opc, TProb, FProb, in findMergedConditions()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp10164 SDValue NotCond = DAG.getNOT(DL, Cond, MVT::i1); in foldSelectOfConstants() local
10166 NotCond = DAG.getNode(ISD::ZERO_EXTEND, DL, VT, NotCond); in foldSelectOfConstants()
10167 return NotCond; in foldSelectOfConstants()
10171 SDValue NotCond = DAG.getNOT(DL, Cond, MVT::i1); in foldSelectOfConstants() local
10173 NotCond = DAG.getNode(ISD::SIGN_EXTEND, DL, VT, NotCond); in foldSelectOfConstants()
10174 return NotCond; in foldSelectOfConstants()
10240 SDValue NotCond = in foldSelectOfConstants() local
10243 return NotCond; in foldSelectOfConstants()
10244 return DAG.getZExtOrTrunc(NotCond, DL, VT); in foldSelectOfConstants()
10271 SDValue NotCond = DAG.getNOT(SDLoc(N), Cond, VT); in foldBoolSelectToLogic() local
[all …]
H A DSelectionDAGBuilder.cpp2212 Value *NotCond; in FindMergedConditions() local
2213 if (match(Cond, m_OneUse(m_Not(m_Value(NotCond)))) && in FindMergedConditions()
2214 InBlock(NotCond, CurBB->getBasicBlock())) { in FindMergedConditions()
2215 FindMergedConditions(NotCond, TBB, FBB, CurBB, SwitchBB, Opc, TProb, FProb, in FindMergedConditions()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclCXX.cpp8267 ExprResult NotCond = S.CreateBuiltinUnaryOp(Loc, UO_LNot, Cond.get()); in buildIfNotCondReturnFalse() local
8268 if (NotCond.isInvalid()) in buildIfNotCondReturnFalse()
8278 S.ActOnCondition(nullptr, Loc, NotCond.get(), in buildIfNotCondReturnFalse()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp44995 SDValue NotCond = in combineSelect() local
44997 return DAG.getSelect(DL, VT, NotCond, RHS, LHS); in combineSelect()