LLVM 20.0.0git
Namespaces | Macros | Enumerations | Functions
AArch64PointerAuth.h File Reference
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/Register.h"

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 }
 Variants of check performed on an authenticated pointer. More...
 

Functions

void llvm::AArch64PAuth::checkAuthenticatedRegister (MachineBasicBlock::iterator MBBI, AuthCheckMethod Method, Register AuthenticatedReg, Register TmpReg, bool UseIKey, unsigned BrkImm)
 Explicitly checks that pointer authentication succeeded.
 
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)")
#define clEnumValN(ENUMVAL, FLAGNAME, DESC)
Definition: CommandLine.h:686

Definition at line 76 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 85 of file AArch64PointerAuth.h.