Searched refs:NotC (Results 1 – 5 of 5) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 848 const APInt *NotC, *C; in foldSetClearBits() local 851 if (match(T, m_And(m_Value(X), m_APInt(NotC))) && in foldSetClearBits() 852 match(F, m_OneUse(m_Or(m_Specific(X), m_APInt(C)))) && *NotC == ~(*C)) { in foldSetClearBits() 860 if (match(F, m_And(m_Value(X), m_APInt(NotC))) && in foldSetClearBits() 861 match(T, m_OneUse(m_Or(m_Specific(X), m_APInt(C)))) && *NotC == ~(*C)) { in foldSetClearBits() 3380 if (Value *NotC = getFreelyInverted(C, C->hasOneUse(), &Builder)) { in foldSelectOfBools() local 3381 Value *OrV = Builder.CreateSelect(NotC, One, TrueVal); in foldSelectOfBools() 3387 if (Value *NotC = getFreelyInverted(C, C->hasOneUse(), &Builder)) { in foldSelectOfBools() local 3388 Value *AndV = Builder.CreateSelect(NotC, FalseVal, Zero); in foldSelectOfBools()
|
| H A D | InstCombineAndOrXor.cpp | 2713 Value *NotC = Op1->hasOneUse() in visitAnd() local 2716 if (NotC != nullptr) in visitAnd() 2717 return BinaryOperator::CreateAnd(Op0, NotC); in visitAnd() 2723 Value *NotC = Op0->hasOneUse() in visitAnd() local 2726 if (NotC != nullptr) in visitAnd() 4523 Value *NotC = Builder.CreateNot(C); in visitMaskedMerge() local 4524 Value *RHS = Builder.CreateAnd(B, NotC); in visitMaskedMerge()
|
| H A D | InstCombineAddSub.cpp | 1254 const APInt *C, *NotC; in foldToUnsignedSaturatedAdd() local 1255 if (match(&I, m_Add(m_UMin(m_Value(X), m_APInt(NotC)), m_APInt(C))) && in foldToUnsignedSaturatedAdd() 1256 *C == ~*NotC) in foldToUnsignedSaturatedAdd()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelDAGToDAG.cpp | 5908 NotC = Inv ? CCBit : NotCCBit; in Select() local 5913 NotC, N->getOperand(3)), 0); in Select()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 3774 if (SDValue NotC = extractBooleanFlip(CarryIn, DAG, TLI, true)) { in visitUADDO_CARRYLike() local 3777 N0.getOperand(0), NotC); in visitUADDO_CARRYLike() 3813 if (SDValue NotC = extractBooleanFlip(CarryIn, DAG, TLI, true)) in visitSADDO_CARRYLike() local 3815 N0.getOperand(0), NotC); in visitSADDO_CARRYLike() 12321 auto *NotC = dyn_cast<ConstantSDNode>(Cond1); in visitSELECT() local 12322 if (C && NotC && C->getAPIntValue() == ~NotC->getAPIntValue()) { in visitSELECT()
|