LLVM  8.0.1
Public Member Functions | Public Attributes | List of all members
llvm::wholeprogramdevirt::VirtualCallTarget Struct Reference

#include "llvm/Transforms/IPO/WholeProgramDevirt.h"

Collaboration diagram for llvm::wholeprogramdevirt::VirtualCallTarget:
Collaboration graph
[legend]

Public Member Functions

 VirtualCallTarget (Function *Fn, const TypeMemberInfo *TM)
 
 VirtualCallTarget (const TypeMemberInfo *TM, bool IsBigEndian)
 
uint64_t minBeforeBytes () const
 
uint64_t minAfterBytes () const
 
uint64_t allocatedBeforeBytes () const
 
uint64_t allocatedAfterBytes () const
 
void setBeforeBit (uint64_t Pos)
 
void setAfterBit (uint64_t Pos)
 
void setBeforeBytes (uint64_t Pos, uint8_t Size)
 
void setAfterBytes (uint64_t Pos, uint8_t Size)
 

Public Attributes

FunctionFn
 
const TypeMemberInfoTM
 
uint64_t RetVal
 
bool IsBigEndian
 
bool WasDevirt
 

Detailed Description

Definition at line 117 of file WholeProgramDevirt.h.

Constructor & Destructor Documentation

◆ VirtualCallTarget() [1/2]

VirtualCallTarget::VirtualCallTarget ( Function Fn,
const TypeMemberInfo TM 
)

Definition at line 232 of file WholeProgramDevirt.cpp.

◆ VirtualCallTarget() [2/2]

llvm::wholeprogramdevirt::VirtualCallTarget::VirtualCallTarget ( const TypeMemberInfo TM,
bool  IsBigEndian 
)
inline

Definition at line 121 of file WholeProgramDevirt.h.

Member Function Documentation

◆ allocatedAfterBytes()

uint64_t llvm::wholeprogramdevirt::VirtualCallTarget::allocatedAfterBytes ( ) const
inline

◆ allocatedBeforeBytes()

uint64_t llvm::wholeprogramdevirt::VirtualCallTarget::allocatedBeforeBytes ( ) const
inline

◆ minAfterBytes()

uint64_t llvm::wholeprogramdevirt::VirtualCallTarget::minAfterBytes ( ) const
inline

◆ minBeforeBytes()

uint64_t llvm::wholeprogramdevirt::VirtualCallTarget::minBeforeBytes ( ) const
inline

◆ setAfterBit()

void llvm::wholeprogramdevirt::VirtualCallTarget::setAfterBit ( uint64_t  Pos)
inline

◆ setAfterBytes()

void llvm::wholeprogramdevirt::VirtualCallTarget::setAfterBytes ( uint64_t  Pos,
uint8_t  Size 
)
inline

◆ setBeforeBit()

void llvm::wholeprogramdevirt::VirtualCallTarget::setBeforeBit ( uint64_t  Pos)
inline

◆ setBeforeBytes()

void llvm::wholeprogramdevirt::VirtualCallTarget::setBeforeBytes ( uint64_t  Pos,
uint8_t  Size 
)
inline

Member Data Documentation

◆ Fn

Function* llvm::wholeprogramdevirt::VirtualCallTarget::Fn

Definition at line 125 of file WholeProgramDevirt.h.

Referenced by llvm::WholeProgramDevirtPass::run().

◆ IsBigEndian

bool llvm::wholeprogramdevirt::VirtualCallTarget::IsBigEndian

Definition at line 136 of file WholeProgramDevirt.h.

◆ RetVal

uint64_t llvm::wholeprogramdevirt::VirtualCallTarget::RetVal

Definition at line 133 of file WholeProgramDevirt.h.

Referenced by llvm::WholeProgramDevirtPass::run().

◆ TM

const TypeMemberInfo* llvm::wholeprogramdevirt::VirtualCallTarget::TM

Definition at line 129 of file WholeProgramDevirt.h.

Referenced by llvm::WholeProgramDevirtPass::run().

◆ WasDevirt

bool llvm::wholeprogramdevirt::VirtualCallTarget::WasDevirt

Definition at line 139 of file WholeProgramDevirt.h.


The documentation for this struct was generated from the following files: