class AnonymousNameInit

Declaration

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

Description

"anonymous_n" - Represent an anonymous record name

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

Inherits from: TypedInit

Member Variables

private unsigned int Value

Inherited from Init:

protected Opc

Method Overview

  • private AnonymousNameInit(llvm::RecordKeeper & RK, unsigned int V)
  • public AnonymousNameInit(const llvm::AnonymousNameInit &)
  • public static bool classof(const llvm::Init * I)
  • public static llvm::AnonymousNameInit * get(llvm::RecordKeeper & RK, unsigned int)
  • public std::string getAsString() const
  • public llvm::Init * getBit(unsigned int Bit) const
  • public llvm::StringInit * getNameInit() const
  • public unsigned int getValue() const
  • public llvm::Init * resolveReferences(llvm::Resolver & R) const

Inherited from TypedInit:

Inherited from Init:

Methods

AnonymousNameInit(llvm::RecordKeeper& RK,
                  unsigned int V)

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

Parameters

llvm::RecordKeeper& RK
unsigned int V

AnonymousNameInit(const llvm::AnonymousNameInit&)

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

Parameters

const llvm::AnonymousNameInit&

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

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

Parameters

const llvm::Init* I

static llvm::AnonymousNameInit* get(
    llvm::RecordKeeper& RK,
    unsigned int)

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

Parameters

llvm::RecordKeeper& RK
unsigned int

std::string getAsString() const

Description

Convert this value to a literal form.

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

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

Parameters

unsigned int Bit

llvm::StringInit* getNameInit() const

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

unsigned int getValue() const

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

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

Parameters

llvm::Resolver& R