Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp2937 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in foldSelectOfBools() local
2938 return SelectInst::Create(NotCond, FalseVal, Zero); in foldSelectOfBools()
2942 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in foldSelectOfBools() local
2943 return SelectInst::Create(NotCond, One, TrueVal); in foldSelectOfBools()
3114 Value *NotCond; in visitSelectInst() local
3118 if (match(TrueVal, m_ZExtOrSExt(m_CombineAnd(m_Value(NotCond), in visitSelectInst()
3120 return SelectInst::Create(NotCond, FalseVal, in visitSelectInst()
3124 if (match(FalseVal, m_ZExt(m_CombineAnd(m_Value(NotCond), in visitSelectInst()
3126 return SelectInst::Create(NotCond, ConstantInt::get(SelType, 1), TrueVal); in visitSelectInst()
3129 if (match(FalseVal, m_SExt(m_CombineAnd(m_Value(NotCond), in visitSelectInst()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp425 Value *NotCond; in findMergedConditions() local
426 if (match(Cond, m_OneUse(m_Not(m_Value(NotCond)))) && in findMergedConditions()
427 isValInBlock(NotCond, CurBB->getBasicBlock())) { in findMergedConditions()
428 findMergedConditions(NotCond, TBB, FBB, CurBB, SwitchBB, Opc, TProb, FProb, in findMergedConditions()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp10547 SDValue NotCond = in foldSelectOfConstants() local
10550 return NotCond; in foldSelectOfConstants()
10551 return DAG.getZExtOrTrunc(NotCond, DL, VT); in foldSelectOfConstants()
10573 SDValue NotCond = DAG.getNOT(DL, Cond, MVT::i1); in foldSelectOfConstants() local
10574 NotCond = DAG.getZExtOrTrunc(NotCond, DL, VT); in foldSelectOfConstants()
10575 return NotCond; in foldSelectOfConstants()
10580 SDValue NotCond = DAG.getNOT(DL, Cond, MVT::i1); in foldSelectOfConstants() local
10581 NotCond = DAG.getSExtOrTrunc(NotCond, DL, VT); in foldSelectOfConstants()
10582 return NotCond; in foldSelectOfConstants()
10623 SDValue NotCond = DAG.getNOT(DL, Cond, MVT::i1); in foldSelectOfConstants() local
[all …]
H A DSelectionDAGBuilder.cpp2268 Value *NotCond; in FindMergedConditions() local
2269 if (match(Cond, m_OneUse(m_Not(m_Value(NotCond)))) && in FindMergedConditions()
2270 InBlock(NotCond, CurBB->getBasicBlock())) { in FindMergedConditions()
2271 FindMergedConditions(NotCond, TBB, FBB, CurBB, SwitchBB, Opc, TProb, FProb, in FindMergedConditions()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaDeclCXX.cpp8337 ExprResult NotCond = S.CreateBuiltinUnaryOp(Loc, UO_LNot, Cond.get()); in buildIfNotCondReturnFalse() local
8338 if (NotCond.isInvalid()) in buildIfNotCondReturnFalse()
8348 S.ActOnCondition(nullptr, Loc, NotCond.get(), in buildIfNotCondReturnFalse()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp46209 SDValue NotCond = in combineSelect() local
46211 return DAG.getSelect(DL, VT, NotCond, RHS, LHS); in combineSelect()
49761 SDValue NotCond = getSETCC(CCode, Cond.getOperand(1), SDLoc(Cond), DAG); in combineOr() local
49763 SDValue R = DAG.getZExtOrTrunc(NotCond, dl, VT); in combineOr()