class VarDefInit

Declaration

class VarDefInit : public TypedInit,
                   public Node,
                   public TrailingObjects { /* full declaration omitted */ };

Description

classname <targs ...> - Represent an uninstantiated anonymous class instantiation.

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

Inherits from: TypedInit, FoldingSetBase::Node, TrailingObjects

Member Variables

private llvm::Record* Class
private llvm::DefInit* Def = nullptr
private unsigned int NumArgs

Inherited from Init:

protected Opc

Method Overview

  • public llvm::Init * Fold() const
  • public void Profile(llvm::FoldingSetNodeID & ID) const
  • private VarDefInit(llvm::Record * Class, unsigned int N)
  • public VarDefInit(const llvm::VarDefInit &)
  • public ArrayRef<llvm::Init *> args() const
  • public llvm::VarDefInit::const_iterator args_begin() const
  • public bool args_empty() const
  • public llvm::VarDefInit::const_iterator args_end() const
  • public size_t args_size() const
  • public static bool classof(const llvm::Init * I)
  • public static llvm::VarDefInit * get(llvm::Record * Class, ArrayRef<llvm::Init *> Args)
  • public llvm::Init * getArg(unsigned int i) const
  • public std::string getAsString() const
  • public llvm::Init * getBit(unsigned int Bit) const
  • private llvm::DefInit * instantiate()
  • public llvm::Init * resolveReferences(llvm::Resolver & R) const

Inherited from FoldingSetBase::Node:

Inherited from TypedInit:

Inherited from Init:

Methods

llvm::Init* Fold() const

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

void Profile(llvm::FoldingSetNodeID& ID) const

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

Parameters

llvm::FoldingSetNodeID& ID

VarDefInit(llvm::Record* Class, unsigned int N)

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

Parameters

llvm::Record* Class
unsigned int N

VarDefInit(const llvm::VarDefInit&)

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

Parameters

const llvm::VarDefInit&

ArrayRef<llvm::Init*> args() const

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

llvm::VarDefInit::const_iterator args_begin()
    const

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

bool args_empty() const

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

llvm::VarDefInit::const_iterator args_end() const

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

size_t args_size() const

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

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

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

Parameters

const llvm::Init* I

static llvm::VarDefInit* get(
    llvm::Record* Class,
    ArrayRef<llvm::Init*> Args)

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

Parameters

llvm::Record* Class
ArrayRef<llvm::Init*> Args

llvm::Init* getArg(unsigned int i) const

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

Parameters

unsigned int i

std::string getAsString() const

Description

Convert this value to a literal form.

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

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

Parameters

unsigned int Bit

llvm::DefInit* instantiate()

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

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

Parameters

llvm::Resolver& R