|
LLVM 24.0.0git
|
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. | |
Definition at line 71 of file X86IndirectThunks.cpp.
Definition at line 72 of file X86IndirectThunks.cpp.
References LVIThunkNamePrefix.
|
inline |
Definition at line 76 of file X86IndirectThunks.cpp.
References llvm::ThunkInserter< LVIThunkInserter >::createThunkFunction(), and R11LVIThunkName.
|
inline |
Definition at line 73 of file X86IndirectThunks.cpp.
References llvm::MachineFunction::getSubtarget().
|
inline |
Definition at line 83 of file X86IndirectThunks.cpp.
References llvm::MachineBasicBlock::addLiveIn(), llvm::MachineInstrBuilder::addReg(), assert(), llvm::BuildMI(), llvm::MachineBasicBlock::clear(), llvm::MachineFunction::front(), llvm::MachineFunction::getSubtarget(), llvm::MachineFunction::size(), and TII.