Searched refs:AtomicConstraint (Results 1 – 2 of 2) sorted by relevance
30 struct AtomicConstraint { struct34 AtomicConstraint(Sema &S, const Expr *ConstraintExpr) : in AtomicConstraint() argument38 const AtomicConstraint &Other) const { in hasMatchingParameterMapping() argument58 bool subsumes(ASTContext &C, const AtomicConstraint &Other) const { in subsumes() argument91 llvm::PointerUnion<AtomicConstraint *, CompoundConstraint> Constraint;93 NormalizedConstraint(AtomicConstraint *C): Constraint{C} { }; in NormalizedConstraint()102 Constraint = new (C) AtomicConstraint(*Other.getAtomicConstraint()); in NormalizedConstraint()129 bool isAtomic() const { return Constraint.is<AtomicConstraint *>(); } in isAtomic()141 AtomicConstraint *getAtomicConstraint() const { in getAtomicConstraint()144 return Constraint.get<AtomicConstraint *>(); in getAtomicConstraint()
675 AtomicConstraint &Atomic = *N.getAtomicConstraint(); in substituteParameterMappings()795 return NormalizedConstraint{new (S.Context) AtomicConstraint(S, E)}; in fromConstraintExpr()799 llvm::SmallVector<llvm::SmallVector<AtomicConstraint *, 2>, 4>;875 for (const AtomicConstraint *Pia : Pi) { in subsumes()876 for (const AtomicConstraint *Qjb : Qj) { in subsumes()935 [this] (const AtomicConstraint &A, const AtomicConstraint &B) { in IsAtLeastAsConstrained()953 [this] (const AtomicConstraint &A, const AtomicConstraint &B) { in MaybeEmitAmbiguousAtomicConstraintsDiagnostic()959 [&] (const AtomicConstraint &A, const AtomicConstraint &B) { in MaybeEmitAmbiguousAtomicConstraintsDiagnostic()