LLVM 17.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, StringRef TargetAttrs="") |
Protected Attributes | |
InsertedThunksTy | InsertedThunks |
Definition at line 25 of file IndirectThunks.h.
|
protected |
Definition at line 48 of file IndirectThunks.h.
References assert(), B, Builder, llvm::Function::Create(), llvm::BasicBlock::Create(), F, llvm::FunctionType::get(), llvm::MachineModuleInfo::getModule(), llvm::MachineModuleInfo::getOrCreateMachineFunction(), llvm::MachineFunction::getProperties(), llvm::Type::getVoidTy(), llvm::GlobalValue::HiddenVisibility, llvm::GlobalValue::InternalLinkage, llvm::GlobalValue::LinkOnceODRLinkage, Name, llvm::MachineFunctionProperties::NoVRegs, and llvm::MachineFunctionProperties::set().
|
inlineprotected |
Definition at line 34 of file IndirectThunks.h.
|
inline |
Definition at line 39 of file IndirectThunks.h.
References llvm::ThunkInserter< Derived, InsertedThunksTy >::InsertedThunks.
bool llvm::ThunkInserter< Derived, InsertedThunksTy >::run | ( | MachineModuleInfo & | MMI, |
MachineFunction & | MF | ||
) |
Definition at line 94 of file IndirectThunks.h.
References llvm::MachineFunction::getName(), and llvm::StringRef::startswith().
|
protected |
Definition at line 33 of file IndirectThunks.h.
Referenced by llvm::ThunkInserter< Derived, InsertedThunksTy >::init().