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:66

Member Variables

public union(unnamed union at / home / teemperor / vu / coco / docs / llvm - project - 10.0.0 / llvm / include / llvm / CodeGen / MachineConstantPool.h : 69 : 3) Val
public unsigned int Alignment
The required alignment for this entry. The top bit is set when Val is a target specific MachineConstantPoolValue.

Method Overview

Methods

MachineConstantPoolEntry(const llvm::Constant* V,
                         unsigned int A)

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

Parameters

const llvm::Constant* V
unsigned int A

MachineConstantPoolEntry(
    llvm::MachineConstantPoolValue* V,
    unsigned int A)

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

Parameters

llvm::MachineConstantPoolValue* V
unsigned int A

int getAlignment() const

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

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

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

Parameters

const llvm::DataLayout* DL

llvm::Type* getType() const

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

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:92

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:105