Searched refs:NotC (Results 1 – 6 of 6) sorted by relevance
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | attr-require-constant-initialization.cpp | 285 struct NotC { struct 286 constexpr NotC(void *) {} in NotC() function 287 NotC(int) {} // expected-note 0+ {{declared here}} in NotC() function 295 ATTR TestCtor<NotC> t(42); // expected-error {{variable does not have a constant initializer}} 316 struct NotC { struct 317 constexpr NotC(void *) {} in NotC() function 318 NotC(int) {} // expected-note 2 {{declared here}} in NotC() function 335 constexpr TestCtor<NotC> inval_constexpr(42); // expected-error {{must be initialized by a constant… 337 ATTR constexpr TestCtor<NotC> inval_constexpr2(42); // expected-error {{must be initialized by a co…
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 699 const APInt *NotC, *C; in foldSetClearBits() local 702 if (match(T, m_And(m_Value(X), m_APInt(NotC))) && in foldSetClearBits() 703 match(F, m_OneUse(m_Or(m_Specific(X), m_APInt(C)))) && *NotC == ~(*C)) { in foldSetClearBits() 711 if (match(F, m_And(m_Value(X), m_APInt(NotC))) && in foldSetClearBits() 712 match(T, m_OneUse(m_Or(m_Specific(X), m_APInt(C)))) && *NotC == ~(*C)) { in foldSetClearBits()
|
| H A D | InstCombineAddSub.cpp | 1127 const APInt *C, *NotC; in foldToUnsignedSaturatedAdd() local 1128 if (match(&I, m_Add(m_UMin(m_Value(X), m_APInt(NotC)), m_APInt(C))) && in foldToUnsignedSaturatedAdd() 1129 *C == ~*NotC) in foldToUnsignedSaturatedAdd()
|
| H A D | InstCombineAndOrXor.cpp | 3327 Value *NotC = Builder.CreateNot(C); in visitMaskedMerge() local 3328 Value *RHS = Builder.CreateAnd(B, NotC); in visitMaskedMerge()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelDAGToDAG.cpp | 5612 NotC = Inv ? CCBit : NotCCBit; in Select() local 5617 NotC, N->getOperand(3)), 0); in Select()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 3292 if (SDValue NotC = extractBooleanFlip(CarryIn, DAG, TLI, true)) { in visitADDCARRYLike() local 3295 N0.getOperand(0), NotC); in visitADDCARRYLike() 10472 auto *NotC = dyn_cast<ConstantSDNode>(Cond1); in visitSELECT() local 10473 if (C && NotC && C->getAPIntValue() == ~NotC->getAPIntValue()) { in visitSELECT()
|