LLVM: llvm::ValueInfo Struct Reference (original) (raw)

Struct that holds a reference to a particular GUID in a global value summary. More...

#include "[llvm/IR/ModuleSummaryIndex.h](ModuleSummaryIndex%5F8h%5Fsource.html)"

Public Types
enum Flags { HaveGV = 1 , ReadOnly = 2 , WriteOnly = 4 }
Public Member Functions
ValueInfo ()=default
ValueInfo (bool HaveGVs, const GlobalValueSummaryMapTy::value_type *R)
operator bool () const
GlobalValue::GUID getGUID () const
const GlobalValue * getValue () const
ArrayRef< std::unique_ptr< GlobalValueSummary > > getSummaryList () const
void verifyLocal () const
bool hasLocal () const
bool hasName () const
StringRef name () const
bool haveGVs () const
bool isReadOnly () const
bool isWriteOnly () const
unsigned getAccessSpecifier () const
bool isValidAccessSpecifier () const
void setReadOnly ()
void setWriteOnly ()
const GlobalValueSummaryMapTy::value_type * getRef () const
LLVM_ABI GlobalValue::VisibilityTypes getELFVisibility () const
Returns the most constraining visibility among summaries.
LLVM_ABI bool isDSOLocal (bool WithDSOLocalPropagation=false) const
Checks if all summaries are DSO local (have the flag set).
LLVM_ABI bool canAutoHide () const
Checks if all copies are eligible for auto-hiding (have flag set).

Struct that holds a reference to a particular GUID in a global value summary.

Definition at line 219 of file ModuleSummaryIndex.h.

Flags

llvm::ValueInfo::ValueInfo ( ) default

ValueInfo() [2/2]

llvm::ValueInfo::ValueInfo ( bool HaveGVs, const GlobalValueSummaryMapTy::value_type * R ) inline

canAutoHide()

bool ValueInfo::canAutoHide ( ) const

getAccessSpecifier()

unsigned llvm::ValueInfo::getAccessSpecifier ( ) const inline

getELFVisibility()

getGUID()

getRef()

const GlobalValueSummaryMapTy::value_type * llvm::ValueInfo::getRef ( ) const inline

getSummaryList()

getValue()

hasLocal()

bool llvm::ValueInfo::hasLocal ( ) const inline

hasName()

bool llvm::ValueInfo::hasName ( ) const inline

haveGVs()

bool llvm::ValueInfo::haveGVs ( ) const inline

isDSOLocal()

bool ValueInfo::isDSOLocal ( bool WithDSOLocalPropagation = false ) const

isReadOnly()

bool llvm::ValueInfo::isReadOnly ( ) const inline

isValidAccessSpecifier()

bool llvm::ValueInfo::isValidAccessSpecifier ( ) const inline

isWriteOnly()

bool llvm::ValueInfo::isWriteOnly ( ) const inline

name()

StringRef llvm::ValueInfo::name ( ) const inline

operator bool()

llvm::ValueInfo::operator bool ( ) const inlineexplicit

setReadOnly()

void llvm::ValueInfo::setReadOnly ( ) inline

setWriteOnly()

void llvm::ValueInfo::setWriteOnly ( ) inline

verifyLocal()

void llvm::ValueInfo::verifyLocal ( ) const inline

RefAndFlags

PointerIntPair<const GlobalValueSummaryMapTy::value_type *, 3, int> llvm::ValueInfo::RefAndFlags


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