class ThunkInserter

Declaration

template <typename Derived>
class ThunkInserter { /* full declaration omitted */ };

Declared at: llvm/include/llvm/CodeGen/IndirectThunks.h:24

Templates

Derived

Member Variables

protected bool InsertedThunks

Method Overview

  • protected void createThunkFunction(llvm::MachineModuleInfo & MMI, llvm::StringRef Name, bool Comdat = true)
  • protected void doInitialization(llvm::Module & M)
  • private Derived & getDerived()
  • public void init(llvm::Module & M)
  • public bool run(llvm::MachineModuleInfo & MMI, llvm::MachineFunction & MF)

Methods

void createThunkFunction(
    llvm::MachineModuleInfo& MMI,
    llvm::StringRef Name,
    bool Comdat = true)

Declared at: llvm/include/llvm/CodeGen/IndirectThunks.h:30

Parameters

llvm::MachineModuleInfo& MMI
llvm::StringRef Name
bool Comdat = true

void doInitialization(llvm::Module& M)

Declared at: llvm/include/llvm/CodeGen/IndirectThunks.h:29

Parameters

llvm::Module& M

Derived& getDerived()

Declared at: llvm/include/llvm/CodeGen/IndirectThunks.h:25

void init(llvm::Module& M)

Declared at: llvm/include/llvm/CodeGen/IndirectThunks.h:34

Parameters

llvm::Module& M

bool run(llvm::MachineModuleInfo& MMI,
         llvm::MachineFunction& MF)

Declared at: llvm/include/llvm/CodeGen/IndirectThunks.h:39

Parameters

llvm::MachineModuleInfo& MMI
llvm::MachineFunction& MF