|
LLVM 24.0.0git
|
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. | |
Definition at line 142 of file AArch64SLSHardening.cpp.
Definition at line 144 of file AArch64SLSHardening.cpp.
References CommonNamePrefix.
| ThunksSet SLSHardeningInserter::insertThunks | ( | MachineModuleInfo & | MMI, |
| MachineFunction & | MF, | ||
| ThunksSet | ExistingThunks ) |
Definition at line 245 of file AArch64SLSHardening.cpp.
References llvm::MachineFunction::getSubtarget(), and MBB.
|
inline |
Definition at line 145 of file AArch64SLSHardening.cpp.
References llvm::MachineFunction::getSubtarget().
| void SLSHardeningInserter::populateThunk | ( | MachineFunction & | MF | ) |
Definition at line 329 of file AArch64SLSHardening.cpp.
References llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addReg(), assert(), llvm::MachineBasicBlock::begin(), llvm::BuildMI(), llvm::MachineBasicBlock::clear(), llvm::MachineFunction::CreateMachineBasicBlock(), llvm::dwarf_linker::DebugLoc, llvm::MachineBasicBlock::erase(), llvm::MachineBasicBlock::front(), llvm::MachineFunction::front(), llvm::MachineFunction::getFunction(), llvm::MachineFunction::getName(), llvm::MachineInstr::getOpcode(), llvm::MachineFunction::getSubtarget(), llvm::GlobalObject::hasComdat(), insertSpeculationBarrier(), llvm::Register::isValid(), parseThunkName(), llvm::MachineFunction::push_back(), llvm::MachineBasicBlock::size(), llvm::MachineFunction::size(), and TII.