LLVM 20.0.0git
Macros | Functions
AArch64PointerAuth.cpp File Reference
#include "AArch64PointerAuth.h"
#include "AArch64.h"
#include "AArch64InstrInfo.h"
#include "AArch64MachineFunctionInfo.h"
#include "AArch64Subtarget.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineModuleInfo.h"

Go to the source code of this file.

Macros

#define AARCH64_POINTER_AUTH_NAME   "AArch64 Pointer Authentication"
 

Functions

 INITIALIZE_PASS (AArch64PointerAuth, "aarch64-ptrauth", AARCH64_POINTER_AUTH_NAME, false, false) FunctionPass *llvm
 
static void emitPACSymOffsetIntoX16 (const TargetInstrInfo &TII, MachineBasicBlock &MBB, MachineBasicBlock::iterator I, DebugLoc DL, MCSymbol *PACSym)
 
static void BuildPACM (const AArch64Subtarget &Subtarget, MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, DebugLoc DL, MachineInstr::MIFlag Flags, MCSymbol *PACSym=nullptr)
 
static void emitPACCFI (const AArch64Subtarget &Subtarget, MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, DebugLoc DL, MachineInstr::MIFlag Flags, bool EmitCFI)
 

Macro Definition Documentation

◆ AARCH64_POINTER_AUTH_NAME

#define AARCH64_POINTER_AUTH_NAME   "AArch64 Pointer Authentication"

Definition at line 22 of file AArch64PointerAuth.cpp.

Function Documentation

◆ BuildPACM()

static void BuildPACM ( const AArch64Subtarget Subtarget,
MachineBasicBlock MBB,
MachineBasicBlock::iterator  MBBI,
DebugLoc  DL,
MachineInstr::MIFlag  Flags,
MCSymbol PACSym = nullptr 
)
static

◆ emitPACCFI()

static void emitPACCFI ( const AArch64Subtarget Subtarget,
MachineBasicBlock MBB,
MachineBasicBlock::iterator  MBBI,
DebugLoc  DL,
MachineInstr::MIFlag  Flags,
bool  EmitCFI 
)
static

◆ emitPACSymOffsetIntoX16()

static void emitPACSymOffsetIntoX16 ( const TargetInstrInfo TII,
MachineBasicBlock MBB,
MachineBasicBlock::iterator  I,
DebugLoc  DL,
MCSymbol PACSym 
)
static

◆ INITIALIZE_PASS()

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

Definition at line 57 of file AArch64PointerAuth.cpp.