LLVM 24.0.0git
AArch64PointerAuth.cpp File Reference

Go to the source code of this file.

Macros

#define AARCH64_POINTER_AUTH_NAME   "AArch64 Pointer Authentication"

Functions

 INITIALIZE_PASS (AArch64PointerAuthLegacy, "aarch64-ptrauth", AARCH64_POINTER_AUTH_NAME, false, false) FunctionPass *llvm
static void emitEpiloguePACSymOffsetIntoReg (const TargetInstrInfo &TII, MachineBasicBlock &MBB, MachineBasicBlock::iterator I, DebugLoc DL, MCSymbol *PACSym, Register Reg)
template<typename BuildPACMIFn>
static void decoratePACWithCFI (MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, bool EmitCFI, BuildPACMIFn BuildPACMI)
static void emitAUTCFI (MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, bool EmitCFI)

Macro Definition Documentation

◆ AARCH64_POINTER_AUTH_NAME

#define AARCH64_POINTER_AUTH_NAME   "AArch64 Pointer Authentication"

Definition at line 24 of file AArch64PointerAuth.cpp.

Referenced by INITIALIZE_PASS().

Function Documentation

◆ decoratePACWithCFI()

template<typename BuildPACMIFn>
void decoratePACWithCFI ( MachineBasicBlock & MBB,
MachineBasicBlock::iterator MBBI,
bool EmitCFI,
BuildPACMIFn BuildPACMI )
static

Definition at line 84 of file AArch64PointerAuth.cpp.

References llvm::MachineInstr::FrameSetup, MBB, and MBBI.

◆ emitAUTCFI()

void emitAUTCFI ( MachineBasicBlock & MBB,
MachineBasicBlock::iterator MBBI,
bool EmitCFI )
static

Definition at line 107 of file AArch64PointerAuth.cpp.

References llvm::MachineInstr::FrameDestroy, MBB, and MBBI.

◆ emitEpiloguePACSymOffsetIntoReg()

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( AArch64PointerAuthLegacy ,
"aarch64-ptrauth" ,
AARCH64_POINTER_AUTH_NAME ,
false ,
false  )