Rewrites the function if necessary, returns the set of thunks added.
Synopsis
Declared in <llvm/CodeGen/IndirectThunks.h>
InsertedThunksTy
insertThunks(
MachineModuleInfo& MMI,
MachineFunction& MF,
InsertedThunksTy ExistingThunks);
Return Value
The set of thunks inserted for MF (combined with existing ones).
Parameters
Name |
Description |
MMI |
Machine module info for the module containing |
MF |
Machine function that may need rewriting or thunk insertion. |
ExistingThunks |
Thunks already inserted; used to avoid duplicates. |
Created with MrDocs