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

Inherits from: TypedInit

Member Variables

Inherited from Init:

protected Opc

Method Overview

Inherited from TypedInit:

Inherited from Init:

Methods

VarListElementInit(
    const llvm::VarListElementInit&)

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

Parameters

const llvm::VarListElementInit&

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

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

Parameters

const llvm::Init* I

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

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

Parameters

llvm::TypedInit* T
unsigned int E

std::string getAsString() const

Description

Convert this value to a string form.

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

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

Description

This method is used to return the initializer for the specified bit.

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

Parameters

unsigned int Bit

unsigned int getElementNum() const

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

llvm::TypedInit* getVariable() const

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

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

Description

This method 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:1168

Parameters

llvm::Resolver& R