class MachineConstantPoolEntry

Declaration

class MachineConstantPoolEntry { /* full declaration omitted */ };

Description

This class is a data container for one entry in a MachineConstantPool. It contains a pointer to the value and an offset from the start of the constant pool. An entry in a MachineConstantPool

Declared at: llvm/include/llvm/CodeGen/MachineConstantPool.h:67

Member Variables

public union(unnamed union at / home / hdoc / tmp / llvm - project / llvm / include / llvm / CodeGen / MachineConstantPool.h : 70 : 3) Val
public llvm::Align Alignment
The required alignment for this entry.
public bool IsMachineConstantPoolEntry

Method Overview

Methods

MachineConstantPoolEntry(const llvm::Constant* V,
                         llvm::Align A)

Declared at: llvm/include/llvm/CodeGen/MachineConstantPool.h:80

Parameters

const llvm::Constant* V
llvm::Align A

MachineConstantPoolEntry(
    llvm::MachineConstantPoolValue* V,
    llvm::Align A)

Declared at: llvm/include/llvm/CodeGen/MachineConstantPool.h:85

Parameters

llvm::MachineConstantPoolValue* V
llvm::Align A

llvm::Align getAlign() const

Declared at: llvm/include/llvm/CodeGen/MachineConstantPool.h:95

llvm::SectionKind getSectionKind(
    const llvm::DataLayout* DL) const

Declared at: llvm/include/llvm/CodeGen/MachineConstantPool.h:104

Parameters

const llvm::DataLayout* DL

unsigned int getSizeInBytes(
    const llvm::DataLayout& DL) const

Declared at: llvm/include/llvm/CodeGen/MachineConstantPool.h:97

Parameters

const llvm::DataLayout& DL

bool isMachineConstantPoolEntry() const

Description

isMachineConstantPoolEntry - Return true if the MachineConstantPoolEntry is indeed a target specific constantpool entry, not a wrapper over a Constant.

Declared at: llvm/include/llvm/CodeGen/MachineConstantPool.h:93

bool needsRelocation() const

Description

This method classifies the entry according to whether or not it may generate a relocation entry. This must be conservative, so if it might codegen to a relocatable entry, it should say so.

Declared at: llvm/include/llvm/CodeGen/MachineConstantPool.h:102