Populate the thunk function with instructions.

Synopsis

Declared in <llvm/CodeGen/IndirectThunks.h>

void
populateThunk(MachineFunction& MF);

Description

If multiple thunks are created, the content that must be inserted in the thunk function body should be derived from the MF's name.

Depending on the preceding passes in the pass manager, by the time populateThunk is called, MF may have a few target‐specific instructions (such as a single MBB containing the return instruction).

Parameters

Name

Description

MF

Thunk machine function whose body should be filled in.

Created with MrDocs