LLVM 24.0.0git
SLSHardeningInserter Struct Reference
Inheritance diagram for SLSHardeningInserter:
[legend]

Public Member Functions

const char * getThunkPrefix ()
bool mayUseThunk (const MachineFunction &MF)
ThunksSet insertThunks (MachineModuleInfo &MMI, MachineFunction &MF, ThunksSet ExistingThunks)
void populateThunk (MachineFunction &MF)
Public Member Functions inherited from llvm::ThunkInserter< SLSHardeningInserter, ThunksSet >
bool run (MachineModuleInfo &MMI, MachineFunction &MF)

Additional Inherited Members

Protected Member Functions inherited from llvm::ThunkInserter< SLSHardeningInserter, ThunksSet >
void createThunkFunction (MachineModuleInfo &MMI, StringRef Name, bool Comdat=true, StringRef TargetAttrs="")
 Create an empty thunk function.
const char * getThunkPrefix ()
 Returns common prefix for thunk function's names.
bool mayUseThunk (const MachineFunction &MF)
 Checks if MF may use thunks (true - maybe, false - definitely not).
ThunksSet insertThunks (MachineModuleInfo &MMI, MachineFunction &MF, ThunksSet ExistingThunks)
 Rewrites the function if necessary, returns the set of thunks added.
void populateThunk (MachineFunction &MF)
 Populate the thunk function with instructions.

Detailed Description

Definition at line 142 of file AArch64SLSHardening.cpp.

Member Function Documentation

◆ getThunkPrefix()

const char * SLSHardeningInserter::getThunkPrefix ( )
inline

Definition at line 144 of file AArch64SLSHardening.cpp.

References CommonNamePrefix.

◆ insertThunks()

ThunksSet SLSHardeningInserter::insertThunks ( MachineModuleInfo & MMI,
MachineFunction & MF,
ThunksSet ExistingThunks )

Definition at line 245 of file AArch64SLSHardening.cpp.

References llvm::MachineFunction::getSubtarget(), and MBB.

◆ mayUseThunk()

bool SLSHardeningInserter::mayUseThunk ( const MachineFunction & MF)
inline

Definition at line 145 of file AArch64SLSHardening.cpp.

References llvm::MachineFunction::getSubtarget().

◆ populateThunk()


The documentation for this struct was generated from the following file: