clang 20.0.0git
|
Pointer-authentication qualifiers. More...
#include "clang/AST/Type.h"
Public Types | |
enum | { KeyNoneInternal = (1u << KeyBits) - 1 , MaxKey = KeyNoneInternal - 1 , MaxDiscriminator = (1u << DiscriminatorBits) - 1 } |
Public Member Functions | |
PointerAuthQualifier ()=default | |
bool | isPresent () const |
operator bool () const | |
unsigned | getKey () const |
bool | hasKeyNone () const |
bool | isAddressDiscriminated () const |
unsigned | getExtraDiscriminator () const |
PointerAuthenticationMode | getAuthenticationMode () const |
bool | isIsaPointer () const |
bool | authenticatesNullValues () const |
PointerAuthQualifier | withoutKeyNone () const |
bool | isEquivalent (PointerAuthQualifier Other) const |
uint32_t | getAsOpaqueValue () const |
void | Profile (llvm::FoldingSetNodeID &ID) const |
Static Public Member Functions | |
static PointerAuthQualifier | Create (unsigned Key, bool IsAddressDiscriminated, unsigned ExtraDiscriminator, PointerAuthenticationMode AuthenticationMode, bool IsIsaPointer, bool AuthenticatesNullValues) |
static PointerAuthQualifier | fromOpaqueValue (uint32_t Opaque) |
Friends | |
bool | operator== (PointerAuthQualifier Lhs, PointerAuthQualifier Rhs) |
bool | operator!= (PointerAuthQualifier Lhs, PointerAuthQualifier Rhs) |
anonymous enum |
|
default |
Referenced by Create(), and withoutKeyNone().
|
inline |
Definition at line 279 of file Type.h.
References Data, and isPresent().
|
inlinestatic |
Definition at line 233 of file Type.h.
References KeyNoneInternal, clang::PointerAuthKeyNone, and PointerAuthQualifier().
|
inlinestatic |
Definition at line 302 of file Type.h.
References clang::None, and clang::Result.
Referenced by clang::Qualifiers::getPointerAuth().
|
inline |
Definition at line 299 of file Type.h.
References Data.
Referenced by clang::Qualifiers::setPointerAuth().
|
inline |
|
inline |
Definition at line 264 of file Type.h.
References Data, and isPresent().
Referenced by clang::CodeGen::ConstantEmitter::tryEmitConstantSignedPointer().
|
inline |
Definition at line 252 of file Type.h.
References Data, and isPresent().
Referenced by hasKeyNone(), clang::Qualifiers::removeCommonQualifiers(), and clang::CodeGen::ConstantEmitter::tryEmitConstantSignedPointer().
|
inline |
Definition at line 257 of file Type.h.
References getKey(), isPresent(), and KeyNoneInternal.
Referenced by clang::CodeGen::ConstantEmitter::tryEmitConstantSignedPointer(), and withoutKeyNone().
|
inline |
Definition at line 259 of file Type.h.
References Data, and isPresent().
Referenced by clang::CodeGen::ConstantEmitter::tryEmitConstantSignedPointer().
|
inline |
Definition at line 295 of file Type.h.
References clang::Other, and withoutKeyNone().
|
inline |
Definition at line 274 of file Type.h.
References Data, and isPresent().
|
inline |
Definition at line 244 of file Type.h.
References Data, getAuthenticationMode(), and clang::None.
Referenced by clang::Qualifiers::addPointerAuth(), authenticatesNullValues(), getExtraDiscriminator(), getKey(), hasKeyNone(), isAddressDiscriminated(), isIsaPointer(), operator bool(), and clang::Qualifiers::removeCommonQualifiers().
|
inlineexplicit |
Definition at line 250 of file Type.h.
References isPresent().
|
inline |
|
inline |
Definition at line 284 of file Type.h.
References hasKeyNone(), and PointerAuthQualifier().
Referenced by isEquivalent().
|
friend |
|
friend |