LLVM
15.0.0git
|
#include "llvm/CodeGen/IndirectThunks.h"
Public Member Functions | |
void | init (Module &M) |
bool | run (MachineModuleInfo &MMI, MachineFunction &MF) |
Protected Member Functions | |
void | doInitialization (Module &M) |
void | createThunkFunction (MachineModuleInfo &MMI, StringRef Name, bool Comdat=true) |
Protected Attributes | |
bool | InsertedThunks |
Definition at line 24 of file IndirectThunks.h.
|
protected |
Definition at line 43 of file IndirectThunks.h.
References assert(), B, llvm::Function::Create(), F, llvm::FunctionType::get(), llvm::MachineModuleInfo::getModule(), llvm::Type::getVoidTy(), llvm::GlobalValue::HiddenVisibility, llvm::GlobalValue::InternalLinkage, llvm::GlobalValue::LinkOnceODRLinkage, and M.
|
inlineprotected |
Definition at line 29 of file IndirectThunks.h.
|
inline |
Definition at line 34 of file IndirectThunks.h.
References llvm::ThunkInserter< Derived >::InsertedThunks, and M.
bool llvm::ThunkInserter< Derived >::run | ( | MachineModuleInfo & | MMI, |
MachineFunction & | MF | ||
) |
Definition at line 86 of file IndirectThunks.h.
References llvm::MachineFunction::getName(), and llvm::StringRef::startswith().
|
protected |
Definition at line 28 of file IndirectThunks.h.
Referenced by llvm::ThunkInserter< Derived >::init().