Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
clang/include/clang/AST/ASTContext.h
Show First 20 Lines • Show All 2,247 Lines • ▼ Show 20 Lines | public: | ||||||||
/// is a fixed-length representation of the SVE builtin for a specific | /// is a fixed-length representation of the SVE builtin for a specific | ||||||||
/// vector-length. | /// vector-length. | ||||||||
bool areCompatibleSveTypes(QualType FirstType, QualType SecondType); | bool areCompatibleSveTypes(QualType FirstType, QualType SecondType); | ||||||||
/// Return true if the given vector types are lax-compatible SVE vector types, | /// Return true if the given vector types are lax-compatible SVE vector types, | ||||||||
/// false otherwise. | /// false otherwise. | ||||||||
bool areLaxCompatibleSveTypes(QualType FirstType, QualType SecondType); | bool areLaxCompatibleSveTypes(QualType FirstType, QualType SecondType); | ||||||||
/// Return true if the given types are an RISC-V vector builtin type and a | |||||||||
/// VectorType that is a fixed-length representation of the RISC-V vector | |||||||||
/// builtin type for a specific vector-length. | |||||||||
bool areCompatibleRVVTypes(QualType FirstType, QualType SecondType); | |||||||||
/// Return true if the given vector types are lax-compatible RISC-V vector | |||||||||
/// types as defined by -flax-vector-conversions=, which permits implicit | |||||||||
erichkeane: Same here, what is 'lax compatible' mean here? And RVV? | |||||||||
Do you have the same comment for the AArch64 equivalent on line 2252? craig.topper: Do you have the same comment for the AArch64 equivalent on line 2252? | |||||||||
Not Done ReplyInline ActionsI do NOW! erichkeane: I do NOW! | |||||||||
I mentioned -flax-vector-conversions=. Is that sufficient? craig.topper: I mentioned -flax-vector-conversions=. Is that sufficient? | |||||||||
Not Done ReplyInline Actions
I still had to look this one up. erichkeane: I still had to look this one up. | |||||||||
That's not quite the description of -flax-vector-conversion. The total vector size must be the same. But the element size and number of elements can be different. craig.topper: That's not quite the description of -flax-vector-conversion. The total vector size must be the… | |||||||||
/// conversions between vectors with different number of elements and/or | |||||||||
erichkeane: | |||||||||
/// incompatible element types, false otherwise. | |||||||||
bool areLaxCompatibleRVVTypes(QualType FirstType, QualType SecondType); | |||||||||
/// Return true if the type has been explicitly qualified with ObjC ownership. | /// Return true if the type has been explicitly qualified with ObjC ownership. | ||||||||
/// A type may be implicitly qualified with ownership under ObjC ARC, and in | /// A type may be implicitly qualified with ownership under ObjC ARC, and in | ||||||||
/// some cases the compiler treats these differently. | /// some cases the compiler treats these differently. | ||||||||
bool hasDirectOwnershipQualifier(QualType Ty) const; | bool hasDirectOwnershipQualifier(QualType Ty) const; | ||||||||
/// Return true if this is an \c NSObject object with its \c NSObject | /// Return true if this is an \c NSObject object with its \c NSObject | ||||||||
/// attribute set. | /// attribute set. | ||||||||
static bool isObjCNSObjectType(QualType Ty) { | static bool isObjCNSObjectType(QualType Ty) { | ||||||||
▲ Show 20 Lines • Show All 1,205 Lines • Show Last 20 Lines |
Same here, what is 'lax compatible' mean here? And RVV?