LLVM: lib/Target/AArch64/AArch64PointerAuth.cpp File Reference (original) (raw)

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 (MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, MachineInstr::MIFlag Flags, bool EmitCFI)

AARCH64_POINTER_AUTH_NAME

#define AARCH64_POINTER_AUTH_NAME "AArch64 Pointer Authentication"

BuildPACM()

emitPACCFI()

emitPACSymOffsetIntoX16()

Definition at line 60 of file AArch64PointerAuth.cpp.

References llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addReg(), llvm::MachineInstrBuilder::addSym(), llvm::BuildMI(), DL, I, MBB, llvm::AArch64II::MO_NC, llvm::AArch64II::MO_PAGE, llvm::AArch64II::MO_PAGEOFF, and TII.

Referenced by BuildPACM().

INITIALIZE_PASS()

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