union GlobalValueSummaryInfo::NameOrGV

Declaration

union GlobalValueSummaryInfo::NameOrGV { /* full declaration omitted */ };

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

Member Variables

public const llvm::GlobalValue* GV
The GlobalValue corresponding to this summary. This is only used in per-module summaries and when the IR is available. E.g. when module analysis is being run, or when parsing both the IR and the summary from assembly.
public llvm::StringRef Name
Summary string representation. This StringRef points to BC module string table and is valid until module data is stored in memory. This is guaranteed to happen until runThinLTOBackend function is called, so it is safe to use this field during thin link. This field is only valid if summary index was loaded from BC file.

Method Overview

Methods

ΒΆNameOrGV(bool HaveGVs)

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

Parameters

bool HaveGVs