LLVM 23.0.0git
AArch64PointerAuth.h File Reference

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::AArch64PAuth

Macros

#define AUTH_CHECK_METHOD_CL_VALUES_COMMON
#define AUTH_CHECK_METHOD_CL_VALUES_LR

Enumerations

enum class  llvm::AArch64PAuth::AuthCheckMethod {
  llvm::AArch64PAuth::None , llvm::AArch64PAuth::DummyLoad , llvm::AArch64PAuth::HighBitsNoTBI , llvm::AArch64PAuth::XPACHint ,
  llvm::AArch64PAuth::XPAC
}
 Variants of check performed on an authenticated pointer. More...

Functions

unsigned llvm::AArch64PAuth::getCheckerSizeInBytes (AuthCheckMethod Method)
 Returns the number of bytes added by checkAuthenticatedRegister.

Variables

constexpr AArch64PACKey::ID llvm::AArch64PAuth::InitFiniKey = AArch64PACKey::IA
 PAuth key to be used with function pointers in .init_array and .fini_array.
constexpr unsigned llvm::AArch64PAuth::InitFiniPointerConstantDiscriminator = 0xD9D4
 Constant discriminator to be used with function pointers in .init_array and .fini_array.

Macro Definition Documentation

◆ AUTH_CHECK_METHOD_CL_VALUES_COMMON

#define AUTH_CHECK_METHOD_CL_VALUES_COMMON
Value:
clEnumValN(AArch64PAuth::AuthCheckMethod::None, "none", \
"Do not check authenticated address"), \
clEnumValN(AArch64PAuth::AuthCheckMethod::DummyLoad, "load", \
"Perform dummy load from authenticated address"), \
clEnumValN( \
AArch64PAuth::AuthCheckMethod::HighBitsNoTBI, "high-bits-notbi", \
"Compare bits 62 and 61 of address (TBI should be disabled)"), \
clEnumValN(AArch64PAuth::AuthCheckMethod::XPAC, "xpac", \
"Compare with the result of XPAC (requires Armv8.3-a)")
#define clEnumValN(ENUMVAL, FLAGNAME, DESC)

Definition at line 94 of file AArch64PointerAuth.h.

◆ AUTH_CHECK_METHOD_CL_VALUES_LR

#define AUTH_CHECK_METHOD_CL_VALUES_LR
Value:
clEnumValN(AArch64PAuth::AuthCheckMethod::XPACHint, "xpac-hint", \
"Compare with the result of XPACLRI")
#define AUTH_CHECK_METHOD_CL_VALUES_COMMON

Definition at line 105 of file AArch64PointerAuth.h.