class VarListElementInit

Declaration

class VarListElementInit : public TypedInit { /* full declaration omitted */ };

Description

List[4] - Represent access to one element of a var or field.

Declared at: llvm/include/llvm/TableGen/Record.h:1209

Inherits from: TypedInit

Member Variables

private llvm::TypedInit* TI
private unsigned int Element

Inherited from Init:

protected Opc

Method Overview

Inherited from TypedInit:

Inherited from Init:

Methods

VarListElementInit(llvm::TypedInit* T,
                   unsigned int E)

Declared at: llvm/include/llvm/TableGen/Record.h:1213

Parameters

llvm::TypedInit* T
unsigned int E

VarListElementInit(
    const llvm::VarListElementInit&)

Declared at: llvm/include/llvm/TableGen/Record.h:1222

Parameters

const llvm::VarListElementInit&

static bool classof(const llvm::Init* I)

Declared at: llvm/include/llvm/TableGen/Record.h:1225

Parameters

const llvm::Init* I

static llvm::VarListElementInit* get(
    llvm::TypedInit* T,
    unsigned int E)

Declared at: llvm/include/llvm/TableGen/Record.h:1229

Parameters

llvm::TypedInit* T
unsigned int E

std::string getAsString() const

Description

Convert this value to a literal form.

Declared at: llvm/include/llvm/TableGen/Record.h:1234

llvm::Init* getBit(unsigned int Bit) const

Description

Get the \p Init value of the specified bit.

Declared at: llvm/include/llvm/TableGen/Record.h:1237

Parameters

unsigned int Bit

unsigned int getElementNum() const

Declared at: llvm/include/llvm/TableGen/Record.h:1232

llvm::TypedInit* getVariable() const

Declared at: llvm/include/llvm/TableGen/Record.h:1231

llvm::Init* resolveReferences(
    llvm::Resolver& R) const

Description

This function is used by classes that refer to other variables which may not be defined at the time the expression is formed. If a value is set for the variable later, this method will be called on users of the value to allow the value to propagate out.

Declared at: llvm/include/llvm/TableGen/Record.h:1235

Parameters

llvm::Resolver& R