struct ValueInfo

Declaration

struct ValueInfo { /* full declaration omitted */ };

Description

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

Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:167

Member Variables

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

Method Overview

Methods

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

Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:173

Parameters

bool HaveGVs
const GlobalValueSummaryMapTy::value_type* R

ValueInfo()

Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:172

bool canAutoHide() const

Description

Checks if all copies are eligible for auto-hiding (have flag set).

Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:237

unsigned int getAccessSpecifier() const

Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:204

GlobalValue::VisibilityTypes getELFVisibility()
    const

Description

Returns the most constraining visibility among summaries. The visibilities, ordered from least to most constraining, are: default, protected and hidden.

Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:230

GlobalValue::GUID getGUID() const

Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:180

const GlobalValueSummaryMapTy::value_type*
getRef() const

Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:223

ArrayRef<std::unique_ptr<GlobalValueSummary>>
getSummaryList() const

Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:186

const llvm::GlobalValue* getValue() const

Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:181

bool haveGVs() const

Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:195

bool isDSOLocal(
    bool WithDSOLocalPropagation = false) const

Description

Checks if all summaries are DSO local (have the flag set). When DSOLocal propagation has been done, set the parameter to enable fast check.

Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:234

Parameters

bool WithDSOLocalPropagation = false

bool isReadOnly() const

Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:196

bool isValidAccessSpecifier() const

Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:208

bool isWriteOnly() const

Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:200

llvm::StringRef name() const

Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:190

bool operator bool() const

Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:178

void setReadOnly()

Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:212

void setWriteOnly()

Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:218