LLVM 22.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.

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 88 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 99 of file AArch64PointerAuth.h.