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

Public Member Functions

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

Additional Inherited Members

Protected Member Functions inherited from llvm::ThunkInserter< LVIThunkInserter >
void createThunkFunction (MachineModuleInfo &MMI, StringRef Name, bool Comdat=true, StringRef TargetAttrs="")
 Create an empty thunk function.
void doInitialization (Module &M)
 Initializes thunk inserter.
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).
bool insertThunks (MachineModuleInfo &MMI, MachineFunction &MF, bool 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 71 of file X86IndirectThunks.cpp.

Member Function Documentation

◆ getThunkPrefix()

const char * LVIThunkInserter::getThunkPrefix ( )
inline

Definition at line 72 of file X86IndirectThunks.cpp.

References LVIThunkNamePrefix.

◆ insertThunks()

bool LVIThunkInserter::insertThunks ( MachineModuleInfo & MMI,
MachineFunction & MF,
bool ExistingThunks )
inline

◆ mayUseThunk()

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

Definition at line 73 of file X86IndirectThunks.cpp.

References llvm::MachineFunction::getSubtarget().

◆ populateThunk()


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