Searched refs:NotC (Results 1 – 5 of 5) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 809 const APInt *NotC, *C; in foldSetClearBits() local 812 if (match(T, m_And(m_Value(X), m_APInt(NotC))) && in foldSetClearBits() 813 match(F, m_OneUse(m_Or(m_Specific(X), m_APInt(C)))) && *NotC == ~(*C)) { in foldSetClearBits() 821 if (match(F, m_And(m_Value(X), m_APInt(NotC))) && in foldSetClearBits() 822 match(T, m_OneUse(m_Or(m_Specific(X), m_APInt(C)))) && *NotC == ~(*C)) { in foldSetClearBits() 3088 if (Value *NotC = getFreelyInverted(C, C->hasOneUse(), &Builder)) { in foldSelectOfBools() local 3089 Value *OrV = Builder.CreateSelect(NotC, One, TrueVal); in foldSelectOfBools() 3095 if (Value *NotC = getFreelyInverted(C, C->hasOneUse(), &Builder)) { in foldSelectOfBools() local 3096 Value *AndV = Builder.CreateSelect(NotC, FalseVal, Zero); in foldSelectOfBools()
|
| H A D | InstCombineAndOrXor.cpp | 2525 Value *NotC = Op1->hasOneUse() in visitAnd() local 2528 if (NotC != nullptr) in visitAnd() 2529 return BinaryOperator::CreateAnd(Op0, NotC); in visitAnd() 2535 Value *NotC = Op0->hasOneUse() in visitAnd() local 2538 if (NotC != nullptr) in visitAnd() 4132 Value *NotC = Builder.CreateNot(C); in visitMaskedMerge() local 4133 Value *RHS = Builder.CreateAnd(B, NotC); in visitMaskedMerge()
|
| H A D | InstCombineAddSub.cpp | 1203 const APInt *C, *NotC; in foldToUnsignedSaturatedAdd() local 1204 if (match(&I, m_Add(m_UMin(m_Value(X), m_APInt(NotC)), m_APInt(C))) && in foldToUnsignedSaturatedAdd() 1205 *C == ~*NotC) in foldToUnsignedSaturatedAdd()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelDAGToDAG.cpp | 5907 NotC = Inv ? CCBit : NotCCBit; in Select() local 5912 NotC, N->getOperand(3)), 0); in Select()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 3639 if (SDValue NotC = extractBooleanFlip(CarryIn, DAG, TLI, true)) { in visitUADDO_CARRYLike() local 3642 N0.getOperand(0), NotC); in visitUADDO_CARRYLike() 3678 if (SDValue NotC = extractBooleanFlip(CarryIn, DAG, TLI, true)) in visitSADDO_CARRYLike() local 3680 N0.getOperand(0), NotC); in visitSADDO_CARRYLike() 11657 auto *NotC = dyn_cast<ConstantSDNode>(Cond1); in visitSELECT() local 11658 if (C && NotC && C->getAPIntValue() == ~NotC->getAPIntValue()) { in visitSELECT()
|