class FieldInit

Declaration

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

Description

X.Y - Represent a reference to a subfield of a variable

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

Inherits from: TypedInit

Member Variables

Inherited from Init:

protected Opc

Method Overview

  • public FieldInit(const llvm::FieldInit &)
  • public llvm::Init * Fold(llvm::Record * CurRec) const
  • public static bool classof(const llvm::Init * I)
  • public static llvm::FieldInit * get(llvm::Init * R, llvm::StringInit * FN)
  • public std::string getAsString() const
  • public llvm::Init * getBit(unsigned int Bit) const
  • public llvm::StringInit * getFieldName() const
  • public llvm::Init * getRecord() const
  • public llvm::Init * resolveReferences(llvm::Resolver & R) const

Inherited from TypedInit:

Inherited from Init:

Methods

FieldInit(const llvm::FieldInit&)

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

Parameters

const llvm::FieldInit&

llvm::Init* Fold(llvm::Record* CurRec) const

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

Parameters

llvm::Record* CurRec

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

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

Parameters

const llvm::Init* I

static llvm::FieldInit* get(llvm::Init* R,
                            llvm::StringInit* FN)

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

Parameters

llvm::Init* R
llvm::StringInit* FN

std::string getAsString() const

Description

Convert this value to a string form.

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

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

Parameters

unsigned int Bit

llvm::StringInit* getFieldName() const

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

llvm::Init* getRecord() const

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

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

Parameters

llvm::Resolver& R