llvm::MachineIRBuilder::buildConstantPtrAuth

Build and insert G_PTRAUTH_GLOBAL_VALUE

Synopsis

Declared in <llvm/CodeGen/GlobalISel/MachineIRBuilder.h>

MachineInstrBuilder
buildConstantPtrAuth(
    DstOp const& Res,
    ConstantPtrAuth const* CPA,
    Register Addr,
    Register AddrDisc);

Return Value

a MachineInstrBuilder for the newly created instruction.

Parameters

NameDescription
ResDestination operand for the result.
CPAConstant pointer-authentication descriptor.
AddrAddress operand.
AddrDiscAddress discriminator register.